libSBML C++ API  5.18.0
LayoutUtilities.cpp File Reference

Implementation of some methods used by many of the layout files. More...

Include dependency graph for LayoutUtilities.cpp:

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...
 

Detailed Description

Implementation of some methods used by many of the layout files.

Author
Ralph Gauges

Function Documentation

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.

void copySBaseAttributes ( const SBase source,
SBase target 
)

copies the attributes from source to target this is used in the assignment operators and copy constructors

XMLNode getXmlNodeForSBase ( const SBase object)

Converts the given SBase* object to an XMLNode, with the appropriate namespace defined.