libSBML C API
libSBML 5.8.0 C API
|
Parent class for the various SBML "ListOfXYZ" classes.
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
SBML defines various ListOf___ classes that are containers used for organizing the main components of an SBML model. All are derived from the abstract class SBase, and inherit the attributes and subelements of SBase, such as "metaid" as and "annotation". The ListOf___ classes do not add any attributes of their own.
The ListOf class in libSBML is a utility class that serves as the parent class for implementing the ListOf__ classes. It provides methods for working generically with the various SBML lists of objects in a program. LibSBML uses this separate list class rather than ordinary lists, so that it can provide the methods and features associated with SBase.