libSBML Perl API  5.20.5
Loading...
Searching...
No Matches
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.
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.

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.