Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

PropertyXML Class Reference

Unparsed image property, in raw XML representation. More...

#include <Properties.hpp>

Inheritance diagram for PropertyXML:

Inheritance graph
[legend]
Collaboration diagram for PropertyXML:

Collaboration graph
[legend]
List of all members.

Public Member Functions

xmlpp::Element * RootElement ()
const xmlpp::Element * RootElement () const
virtual void Write (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL) const
 Write this object, either to a current node, a parent node, or the root node of the file.
virtual void Read (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL)
 Read this object, either from a current node, a parent node, or the root node of the file.
virtual ImagePropertyDuplicate () const
 PropertyXML (const string &_name)
 PropertyXML (const string &_name, const xmlpp::Element *node)

Private Attributes

xmlpp::Document document

Detailed Description

Unparsed image property, in raw XML representation.

PropertyXML will be automatically parsed into apropriate PropertyWrapPtr if Properties::Get is called on this PropertyXML. For custom property types the user must do the parsing himself by calling Properties::Parse<UserDefinedProperty>(name). See AnnotationsProperty in viewer for an example.

Definition at line 52 of file Properties.hpp.


The documentation for this class was generated from the following file:
Generated on Fri Jun 17 13:36:19 2005 for ImLib3D by  doxygen 1.4.2