libSBML C++ API  5.20.4
LayoutUtilities.h File Reference

Definition of LayoutUtilities for SBML Layout. More...

Include dependency graph for LayoutUtilities.h:
This graph shows which files directly or indirectly include this file:

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

Definition of LayoutUtilities for SBML Layout.

Author
Ralph Gauges

Function Documentation

◆ addGraphicalObjectAttributes()

void addGraphicalObjectAttributes ( const GraphicalObject object,
XMLAttributes att 
)

If defined, adds the 'id' attribute from the provided SBase object to the XMLAttributes object.

◆ addSBaseAttributes()

void addSBaseAttributes ( const SBase object,
XMLAttributes att 
)

If defined, adds the 'metaid' attribute from the provided SBase object to the XMLAttributes object.

◆ copySBaseAttributes()

void copySBaseAttributes ( const SBase source,
SBase target 
)

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

◆ getXmlNodeForSBase()

XMLNode getXmlNodeForSBase ( const SBase object)

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