|
| albaXMLElement (mmuXMLDOMElement *element, albaXMLElement *parent, albaXMLStorage *storage) |
|
virtual | ~albaXMLElement () |
|
virtual const char * | GetName () |
|
virtual int | StoreText (const char *name, const char *text) |
|
virtual int | StoreMatrix (const char *name, const albaMatrix *matrix) |
|
virtual int | StoreVectorN (const char *name, const std::vector< double > &comps, int num) |
|
virtual int | StoreVectorN (const char *name, double *comps, int num) |
|
virtual int | StoreVectorN (const char *name, const std::vector< int > &comps, int num) |
|
virtual int | StoreVectorN (const char *name, int *comps, int num) |
|
virtual int | StoreVectorN (const char *name, const std::vector< albaString > &comps, int num, const char *tag) |
|
virtual int | RestoreMatrix (albaMatrix *matrix) |
|
virtual int | RestoreVectorN (std::vector< double > &comps, unsigned int num) |
|
virtual int | RestoreVectorN (double *comps, unsigned int num) |
|
virtual int | RestoreVectorN (std::vector< int > &comps, unsigned int num) |
|
virtual int | RestoreVectorN (int *comps, unsigned int num) |
|
virtual int | RestoreVectorN (std::vector< albaString > &comps, unsigned int num, const char *tag) |
|
virtual int | RestoreText (albaString &buffer) |
|
albaXMLStorage * | GetXMLStorage () |
|
albaXMLElement * | GetXMLParent () |
|
virtual ChildrenVector & | GetChildren () |
|
virtual albaStorageElement * | AppendChild (const char *name) |
|
albaXMLElement * | AppendXMLChild (const char *name) |
|
albaXMLElement * | FindNestedXMLElement (const char *name) |
|
mmuXMLDOMElement * | GetXMLElement () |
|
virtual void | SetAttribute (const char *name, const char *value) |
|
virtual bool | GetAttribute (const char *name, albaString &value) |
|
void | WriteXMLText (const char *text) |
|
int | ParseData (std::vector< double > &vector, int size) |
|
int | ParseData (std::vector< int > &vector, int size) |
|
int | ParseData (double *vector, int size) |
|
int | ParseData (int *vector, int size) |
|
bool | ExistElement (const char *name) |
|
virtual | ~albaStorageElement () |
|
virtual const char * | GetName ()=0 |
|
virtual void | SetAttribute (const char *name, const char *value)=0 |
|
void | SetAttribute (const char *name, const albaID value) |
|
void | SetAttribute (const char *name, const double value) |
|
virtual bool | GetAttribute (const char *name, albaString &value)=0 |
|
bool | GetAttributeAsDouble (const char *name, double &value) |
|
bool | GetAttributeAsInteger (const char *name, albaID &value) |
|
albaString | UpgradeAttribute (const char *attribute) |
|
virtual int | StoreText (const char *name, const char *text)=0 |
|
virtual int | StoreMatrix (const char *name, const albaMatrix *matrix)=0 |
|
virtual int | StoreVectorN (const char *name, double *comps, int num)=0 |
|
virtual int | StoreVectorN (const char *name, int *comps, int num)=0 |
|
virtual int | StoreVectorN (const char *name, const std::vector< double > &comps, int num)=0 |
|
virtual int | StoreVectorN (const char *name, const std::vector< int > &comps, int num)=0 |
|
virtual int | StoreVectorN (const char *name, const std::vector< albaString > &comps, int num, const char *tag)=0 |
|
int | RestoreMatrix (const char *name, albaMatrix *matrix) |
|
int | RestoreVectorN (const char *name, double *comps, unsigned int num) |
|
int | RestoreVectorN (const char *name, int *comps, unsigned int num) |
|
int | RestoreVectorN (const char *name, std::vector< double > &comps, unsigned int num) |
|
int | RestoreVectorN (const char *name, std::vector< int > &comps, unsigned int num) |
|
int | RestoreVectorN (const char *name, std::vector< albaString > &comps, unsigned int num, const char *tag) |
|
int | RestoreText (const char *name, char *&buffer) |
|
int | RestoreText (const char *name, albaString &buffer) |
|
virtual int | RestoreMatrix (albaMatrix *matrix)=0 |
|
virtual int | RestoreVectorN (double *comps, unsigned int num)=0 |
|
virtual int | RestoreVectorN (int *comps, unsigned int num)=0 |
|
virtual int | RestoreVectorN (std::vector< double > &comps, unsigned int num)=0 |
|
virtual int | RestoreVectorN (std::vector< int > &comps, unsigned int num)=0 |
|
virtual int | RestoreVectorN (std::vector< albaString > &comps, unsigned int num, const char *tag)=0 |
|
virtual int | RestoreText (albaString &buffer)=0 |
|
virtual int | RestoreText (char *&buffer) |
|
int | StoreDouble (const char *name, const double &value) |
|
int | RestoreDouble (const char *name, double &value) |
|
int | RestoreDouble (double &value) |
|
int | StoreInteger (const char *name, const int &value) |
|
int | RestoreInteger (const char *name, int &value) |
|
int | RestoreInteger (int &value) |
|
int | RestoreObject (const char *name, albaStorable *object) |
|
albaObject * | RestoreObject (const char *name) |
|
albaObject * | RestoreObject () |
|
albaStorageElement * | StoreObject (const char *name, albaObject *object) |
|
virtual int | StoreObjectVector (const char *name, const std::vector< albaObject * > &vector, const char *items_name="Item") |
|
virtual int | RestoreObjectVector (const char *name, std::vector< albaObject * > &vector, const char *items_name="Item") |
|
virtual int | RestoreObjectVector (albaStorageElement *element, std::vector< albaObject * > &vector, const char *items_name="Item") |
|
albaStorage * | GetStorage () |
|
albaStorageElement * | GetParent () |
|
virtual albaStorageElement * | AppendChild (const char *name)=0 |
|
virtual albaStorageElement * | FindNestedElement (const char *name) |
|
virtual ChildrenVector & | GetChildren ()=0 |
|
virtual bool | GetNestedElementsByName (const char *name, std::vector< albaStorageElement * > &list) |
|
concrete implementation of albaStorageElement as an XML-DOM element This class represent a concrete implementation of a albaStorageElement in terms of a DOM-XML element.
The real DOM-XML element object is embedded in this wrapper object and can be retrieved with GetXMLElement(). Utility functions allow a albaStorable object to serialize itself independently from the the serialization format. While storing to file the albaXMLElement are created by attaching new children to existing nodes by means of AppendChild(). All the created elements are automatically destroyed at the end of the storing procedure by albaStorage object. During restoring, the DOM tree is created by DOMParser in the albaXMLStorage object, and the wrapping albaXMLElements are created by means of FindNestedElement() function. All the albaXMLElements so created during restoring are automatically destroyed by albaStorage object at the end of the restoring.
- See also
- albaXMLStorage
Definition at line 41 of file albaXMLElement.h.