Loading [MathJax]/extensions/tex2jax.js
libSBML C++ API  5.20.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

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