#include <Properties.hpp>
Inheritance diagram for PropertyXML:
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 ImageProperty * | Duplicate () const |
PropertyXML (const string &_name) | |
PropertyXML (const string &_name, const xmlpp::Element *node) | |
Private Attributes | |
xmlpp::Document | document |
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.