libSBML C++ API
5.20.4
|
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components.
This is a class that supports the use of the Visitor Pattern to perform operations on SBML objects. The LibSBML implementation of the Visitor Pattern couples the notion of visitation with the traversal of an SBML model oject hierarchy.
This class (SBMLVisitor) does not provide stand-alone functionality; rather, it defines the interface that user visitor classes must implement. All of the individual SBML object classes have methods named accept
that are used for invoking an object of class SBMLVisitor. An example of its use is in the SBML validation system, which is internally implemented using this Visitor Pattern facility.
Public Member Functions | |
virtual void | leave (const KineticLaw &x) |
Interface method for using the Visitor Pattern to perform operations on KineticLaw objects. More... | |
virtual void | leave (const ListOf &x, int type) |
Interface method for using the Visitor Pattern to perform operations on ListOf objects. More... | |
virtual void | leave (const Model &x) |
Interface method for using the Visitor Pattern to perform operations on Model objects. More... | |
virtual void | leave (const Priority &x) |
Interface method for using the Visitor Pattern to perform operations on Priority objects. More... | |
virtual void | leave (const Reaction &x) |
Interface method for using the Visitor Pattern to perform operations on Reaction objects. More... | |
virtual void | leave (const SBase &x) |
Interface method for using the Visitor Pattern to perform operations on Reaction objects. More... | |
virtual void | leave (const SBMLDocument &x) |
Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects. More... | |
virtual bool | visit (const AlgebraicRule &x) |
Interface method for using the Visitor Pattern to perform operations on AlgebraicRule objects. More... | |
virtual bool | visit (const AssignmentRule &x) |
Interface method for using the Visitor Pattern to perform operations on AssignmentRule objects. More... | |
virtual bool | visit (const Compartment &x) |
Interface method for using the Visitor Pattern to perform operations on Compartment objects. More... | |
virtual bool | visit (const CompartmentType &x) |
Interface method for using the Visitor Pattern to perform operations on CompartmentType objects. More... | |
virtual bool | visit (const Constraint &x) |
Interface method for using the Visitor Pattern to perform operations on Constraint objects. More... | |
virtual bool | visit (const Delay &x) |
Interface method for using the Visitor Pattern to perform operations on Delay objects. More... | |
virtual bool | visit (const Event &x) |
Interface method for using the Visitor Pattern to perform operations on Event objects. More... | |
virtual bool | visit (const EventAssignment &x) |
Interface method for using the Visitor Pattern to perform operations on EventAssignment objects. More... | |
virtual bool | visit (const FunctionDefinition &x) |
Interface method for using the Visitor Pattern to perform operations on FunctionDefinition objects. More... | |
virtual bool | visit (const InitialAssignment &x) |
Interface method for using the Visitor Pattern to perform operations on InitialAssignment objects. More... | |
virtual void | visit (const KineticLaw &x) |
Interface method for using the Visitor Pattern to perform operations on KineticLaw objects. More... | |
virtual void | visit (const ListOf &x, int type) |
Interface method for using the Visitor Pattern to perform operations on ListOf objects. More... | |
virtual void | visit (const Model &x) |
Interface method for using the Visitor Pattern to perform operations on Model objects. More... | |
virtual bool | visit (const ModifierSpeciesReference &x) |
Interface method for using the Visitor Pattern to perform operations on ModifierSpeciesReference objects. More... | |
virtual bool | visit (const Parameter &x) |
Interface method for using the Visitor Pattern to perform operations on Parameter objects. More... | |
virtual void | visit (const Priority &x) |
Interface method for using the Visitor Pattern to perform operations on Priority objects. More... | |
virtual bool | visit (const RateRule &x) |
Interface method for using the Visitor Pattern to perform operations on RateRule objects. More... | |
virtual bool | visit (const Reaction &x) |
Interface method for using the Visitor Pattern to perform operations on Reaction objects. More... | |
virtual bool | visit (const Rule &x) |
Interface method for using the Visitor Pattern to perform operations on Rule objects. More... | |
virtual bool | visit (const SBase &x) |
Interface method for using the Visitor Pattern to perform operations on SBase objects. More... | |
virtual void | visit (const SBMLDocument &x) |
Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects. More... | |
virtual bool | visit (const SimpleSpeciesReference &x) |
Interface method for using the Visitor Pattern to perform operations on SimpleSpeciesReference objects. More... | |
virtual bool | visit (const Species &x) |
Interface method for using the Visitor Pattern to perform operations on Species objects. More... | |
virtual bool | visit (const SpeciesReference &x) |
Interface method for using the Visitor Pattern to perform operations on SpeciesReference objects. More... | |
virtual bool | visit (const SpeciesType &x) |
Interface method for using the Visitor Pattern to perform operations on SpeciesType objects. More... | |
virtual bool | visit (const StoichiometryMath &x) |
Interface method for using the Visitor Pattern to perform operations on StoichiometryMath objects. More... | |
virtual bool | visit (const Trigger &x) |
Interface method for using the Visitor Pattern to perform operations on Trigger objects. More... | |
virtual bool | visit (const Unit &x) |
Interface method for using the Visitor Pattern to perform operations on Unit objects. More... | |
virtual bool | visit (const UnitDefinition &x) |
Interface method for using the Visitor Pattern to perform operations on UnitDefinition objects. More... | |
virtual | ~SBMLVisitor () |
Destructor method. More... | |
|
virtual |
Destructor method.
|
virtual |
Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.
x | the KineticLaw object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on ListOf objects.
x | the ListOf object to visit. |
type | the object type code. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Model objects.
x | the Model object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Priority objects.
x | the Priority object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Reaction objects.
x | the Reaction object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Reaction objects.
x | the Reaction object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.
x | the SBMLDocument object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on AlgebraicRule objects.
x | the AlgebraicRule object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on AssignmentRule objects.
x | the AssignmentRule object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Compartment objects.
x | the Compartment object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on CompartmentType objects.
x | the CompartmentType object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Constraint objects.
x | the Constraint object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Delay objects.
x | the Delay object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Event objects.
x | the Event object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on EventAssignment objects.
x | the EventAssignment object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on FunctionDefinition objects.
x | the FunctionDefinition object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on InitialAssignment objects.
x | the InitialAssignment object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.
x | the KineticLaw object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on ListOf objects.
x | the ListOf object to visit. |
type | the object type code. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Model objects.
x | the Model object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on ModifierSpeciesReference objects.
x | the ModifierSpeciesReference object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Parameter objects.
x | the Parameter object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Priority objects.
x | the Priority object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on RateRule objects.
x | the RateRule object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Reaction objects.
x | the Reaction object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Rule objects.
x | the Rule object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SBase objects.
x | the SBase object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.
x | the SBMLDocument object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SimpleSpeciesReference objects.
x | the SimpleSpeciesReference object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Species objects.
x | the Species object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SpeciesReference objects.
x | the SpeciesReference object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on SpeciesType objects.
x | the SpeciesType object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on StoichiometryMath objects.
x | the StoichiometryMath object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Trigger objects.
x | the Trigger object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on Unit objects.
x | the Unit object to visit. |
|
virtual |
Interface method for using the Visitor Pattern to perform operations on UnitDefinition objects.
x | the UnitDefinition object to visit. |