#include <Properties.hpp>
Inheritance diagram for Properties:


Public Member Functions | |
| void | ClearProperties () |
| Erase all properties of this image. | |
| template<class PropClass> | |
| void | Parse (const string &name) |
| Transforms an xml property to final property. | |
| template<class PType> | |
| void | DefaultParse (const string &name) |
| void | Set (const string &name, const ImageProperty *value) |
| ImageProperty * | Get (const string &name) |
| Retrieves a property. | |
| const ImageProperty * | Get (const string &name) const |
| Retrieves a property. | |
| template<class PType> | |
| PType & | GetTemplatedProperty (const string &name) |
| Retrieves a property that should descend from TemplatedProperty. | |
| template<class PType> | |
| const PType & | GetTemplatedProperty (const string &name, PType dud=PType()) const |
| Retrieves a property that should descend from TemplatedProperty. | |
| bool | Has (const string &propname) const |
| void | Add (const string &name, const char *str) |
| Add a string property instead of a char* property. | |
| template<class PType> | |
| void | Add (const string &name, PType *ptr) |
| Adds a new property using the automatic PropertyWrapPtr property wrapper. | |
| template<class PType> | |
| void | Add (const string &name, PType obj) |
| Adds a new property using the automatic PropertyWrapPtr property wrapper. | |
| void | AddUnparsed (const string &name, const PropertyXML &unparsed) |
| Adds a new unparsed property. | |
| void | Remove (const string &name) |
| remove a property | |
| void | operator= (const Properties &other) |
| bool | operator== (const Properties &other) const |
| 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. | |
| 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. | |
| void | AddMask (const Size3D &size) |
| template<class ImageType> | |
| Properties (ImageType *_image) | |
Public Attributes | |
| Mask3D * | mask |
| Vect3Di * | iCenter |
Private Types | |
| typedef ImageProperty | Prop |
| typedef PropertyXML | PropXML |
Private Attributes | |
| map< string, Prop * > | properties |
Exceptionally important properties like "Mask" are hardcoded
Definition at line 151 of file Properties.hpp.
|
||||||||||||
|
Adds a new unparsed property. this is usefull when we can't instatiate for a particular template type, like when we want to add a property from the command-line Definition at line 252 of file Properties.hpp. References PropertyXML::Duplicate(). |
1.4.2