libSBML C API  libSBML 5.8.0 C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ListOfReplacedElements Class Reference

Detailed Description

comp Implementation of the ListOfReplacedElements construct from the 'comp' package.

The ListOfReplacedElements is a container for any SBase object. It contains ReplacedElement objects, which point to elements the parent SBase object is to replace.

The various ListOf___ classes in SBML are merely containers used for organizing the main components of an SBML model. All are derived from the abstract class SBase, and inherit the various attributes and subelements of SBase, such as "metaid" as and "annotation". The ListOf___ classes do not add any attributes of their own.

Readers may wonder about the motivations for using the ListOf___ containers. A simpler approach in XML might be to place the components all directly at the top level of the model definition. The choice made in SBML is to group them within XML elements named after ListOfClassname, in part because it helps organize the components. More importantly, the fact that the container classes are derived from SBase means that software tools can add information about the lists themselves into each list container's "annotation".

See Also
ReplacedElement
ListOfDeletions
ListOfExternalModelDefinitions
ListOfModelDefinitions
ListOfPorts
ListOfSubmodels