libSBML C++ API
5.20.4
|
Implementation of some methods used by many of the layout files. More...
Functions | |
void | addGraphicalObjectAttributes (const GraphicalObject &object, XMLAttributes &att) |
If defined, adds the 'id' attribute from the provided SBase object to the XMLAttributes object. More... | |
void | addSBaseAttributes (const SBase &object, XMLAttributes &att) |
If defined, adds the 'metaid' attribute from the provided SBase object to the XMLAttributes object. More... | |
void | copySBaseAttributes (const SBase &source, SBase &target) |
copies the attributes from source to target this is used in the assignment operators and copy constructors More... | |
XMLNode | getXmlNodeForSBase (const SBase *object) |
Converts the given SBase* object to an XMLNode, with the appropriate namespace defined. More... | |
Implementation of some methods used by many of the layout files.
void addGraphicalObjectAttributes | ( | const GraphicalObject & | object, |
XMLAttributes & | att | ||
) |
If defined, adds the 'id' attribute from the provided SBase object to the XMLAttributes object.
void addSBaseAttributes | ( | const SBase & | object, |
XMLAttributes & | att | ||
) |
If defined, adds the 'metaid' attribute from the provided SBase object to the XMLAttributes object.
copies the attributes from source to target this is used in the assignment operators and copy constructors