SBMLVisitor Class Reference
Inheritance diagram for SBMLVisitor:

List of all members.


Detailed Description

Support class for performing operations on SBML objects.

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 SBMLDocument &x)
 Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.
virtual void leave (const Model &x)
 Interface method for using the Visitor Pattern to perform operations on Model objects.
virtual void leave (const KineticLaw &x)
 Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.
virtual void leave (const Priority &x)
 Interface method for using the Visitor Pattern to perform operations on Priority objects.
virtual void leave (const Reaction &x)
 Interface method for using the Visitor Pattern to perform operations on Reaction objects.
virtual void leave (const ListOf &x, int type)
 Interface method for using the Visitor Pattern to perform operations on ListOf objects.
virtual void visit (const SBMLDocument &x)
 Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.
virtual void visit (const Model &x)
 Interface method for using the Visitor Pattern to perform operations on Model objects.
virtual void visit (const KineticLaw &x)
 Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.
virtual void visit (const ListOf &x, int type)
 Interface method for using the Visitor Pattern to perform operations on ListOf objects.
virtual bool visit (const SBase &x)
 Interface method for using the Visitor Pattern to perform operations on SBase objects.
virtual bool visit (const FunctionDefinition &x)
 Interface method for using the Visitor Pattern to perform operations on FunctionDefinition objects.
virtual bool visit (const UnitDefinition &x)
 Interface method for using the Visitor Pattern to perform operations on UnitDefinition objects.
virtual bool visit (const Unit &x)
 Interface method for using the Visitor Pattern to perform operations on Unit objects.
virtual bool visit (const CompartmentType &x)
 Interface method for using the Visitor Pattern to perform operations on CompartmentType objects.
virtual bool visit (const SpeciesType &x)
 Interface method for using the Visitor Pattern to perform operations on SpeciesType objects.
virtual bool visit (const Compartment &x)
 Interface method for using the Visitor Pattern to perform operations on Compartment objects.
virtual bool visit (const Species &x)
 Interface method for using the Visitor Pattern to perform operations on Species objects.
virtual bool visit (const Parameter &x)
 Interface method for using the Visitor Pattern to perform operations on Parameter objects.
virtual bool visit (const InitialAssignment &x)
 Interface method for using the Visitor Pattern to perform operations on InitialAssignment objects.
virtual bool visit (const Rule &x)
 Interface method for using the Visitor Pattern to perform operations on Rule objects.
virtual bool visit (const AlgebraicRule &x)
 Interface method for using the Visitor Pattern to perform operations on AlgebraicRule objects.
virtual bool visit (const AssignmentRule &x)
 Interface method for using the Visitor Pattern to perform operations on AssignmentRule objects.
virtual bool visit (const RateRule &x)
 Interface method for using the Visitor Pattern to perform operations on RateRule objects.
virtual bool visit (const Constraint &x)
 Interface method for using the Visitor Pattern to perform operations on Constraint objects.
virtual bool visit (const Reaction &x)
 Interface method for using the Visitor Pattern to perform operations on Reaction objects.
virtual bool visit (const SimpleSpeciesReference &x)
 Interface method for using the Visitor Pattern to perform operations on SimpleSpeciesReference objects.
virtual bool visit (const SpeciesReference &x)
 Interface method for using the Visitor Pattern to perform operations on SpeciesReference objects.
virtual bool visit (const ModifierSpeciesReference &x)
 Interface method for using the Visitor Pattern to perform operations on ModifierSpeciesReference objects.
virtual bool visit (const Event &x)
 Interface method for using the Visitor Pattern to perform operations on Event objects.
virtual bool visit (const EventAssignment &x)
 Interface method for using the Visitor Pattern to perform operations on EventAssignment objects.
virtual bool visit (const Trigger &x)
 Interface method for using the Visitor Pattern to perform operations on Trigger objects.
virtual bool visit (const Delay &x)
 Interface method for using the Visitor Pattern to perform operations on Delay objects.
virtual void visit (const Priority &x)
 Interface method for using the Visitor Pattern to perform operations on Priority objects.
virtual ~SBMLVisitor ()
 Destructor method.

Constructor & Destructor Documentation

Destructor method.


Member Function Documentation

void SBMLVisitor::leave ( const SBMLDocument &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.

Parameters:
xthe SBMLDocument object to visit.
void SBMLVisitor::leave ( const Model &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Model objects.

Parameters:
xthe Model object to visit.
void SBMLVisitor::leave ( const KineticLaw &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.

Parameters:
xthe KineticLaw object to visit.
void SBMLVisitor::leave ( const Priority &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Priority objects.

Parameters:
xthe Priority object to visit.
void SBMLVisitor::leave ( const Reaction &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Reaction objects.

Parameters:
xthe Reaction object to visit.
void SBMLVisitor::leave ( const ListOf &  x,
int  type 
) [virtual]

Interface method for using the Visitor Pattern to perform operations on ListOf objects.

Parameters:
xthe ListOf object to visit.
typethe object type code.
void SBMLVisitor::visit ( const SBMLDocument &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SBMLDocument objects.

Parameters:
xthe SBMLDocument object to visit.
void SBMLVisitor::visit ( const Model &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Model objects.

Parameters:
xthe Model object to visit.
void SBMLVisitor::visit ( const KineticLaw &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on KineticLaw objects.

Parameters:
xthe KineticLaw object to visit.
void SBMLVisitor::visit ( const ListOf &  x,
int  type 
) [virtual]

Interface method for using the Visitor Pattern to perform operations on ListOf objects.

Parameters:
xthe ListOf object to visit.
typethe object type code.
bool SBMLVisitor::visit ( const SBase &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SBase objects.

Parameters:
xthe SBase object to visit.
bool SBMLVisitor::visit ( const FunctionDefinition &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on FunctionDefinition objects.

Parameters:
xthe FunctionDefinition object to visit.
bool SBMLVisitor::visit ( const UnitDefinition &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on UnitDefinition objects.

Parameters:
xthe UnitDefinition object to visit.
bool SBMLVisitor::visit ( const Unit &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Unit objects.

Parameters:
xthe Unit object to visit.
bool SBMLVisitor::visit ( const CompartmentType &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on CompartmentType objects.

Parameters:
xthe CompartmentType object to visit.
bool SBMLVisitor::visit ( const SpeciesType &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SpeciesType objects.

Parameters:
xthe SpeciesType object to visit.
bool SBMLVisitor::visit ( const Compartment &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Compartment objects.

Parameters:
xthe Compartment object to visit.
bool SBMLVisitor::visit ( const Species &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Species objects.

Parameters:
xthe Species object to visit.
bool SBMLVisitor::visit ( const Parameter &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Parameter objects.

Parameters:
xthe Parameter object to visit.
bool SBMLVisitor::visit ( const InitialAssignment &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on InitialAssignment objects.

Parameters:
xthe InitialAssignment object to visit.
bool SBMLVisitor::visit ( const Rule &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Rule objects.

Parameters:
xthe Rule object to visit.
bool SBMLVisitor::visit ( const AlgebraicRule &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on AlgebraicRule objects.

Parameters:
xthe AlgebraicRule object to visit.
bool SBMLVisitor::visit ( const AssignmentRule &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on AssignmentRule objects.

Parameters:
xthe AssignmentRule object to visit.
bool SBMLVisitor::visit ( const RateRule &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on RateRule objects.

Parameters:
xthe RateRule object to visit.
bool SBMLVisitor::visit ( const Constraint &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Constraint objects.

Parameters:
xthe Constraint object to visit.
bool SBMLVisitor::visit ( const Reaction &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Reaction objects.

Parameters:
xthe Reaction object to visit.
bool SBMLVisitor::visit ( const SimpleSpeciesReference &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SimpleSpeciesReference objects.

Parameters:
xthe SimpleSpeciesReference object to visit.
bool SBMLVisitor::visit ( const SpeciesReference &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on SpeciesReference objects.

Parameters:
xthe SpeciesReference object to visit.
bool SBMLVisitor::visit ( const ModifierSpeciesReference &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on ModifierSpeciesReference objects.

Parameters:
xthe ModifierSpeciesReference object to visit.
bool SBMLVisitor::visit ( const Event &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Event objects.

Parameters:
xthe Event object to visit.
bool SBMLVisitor::visit ( const EventAssignment &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on EventAssignment objects.

Parameters:
xthe EventAssignment object to visit.
bool SBMLVisitor::visit ( const Trigger &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Trigger objects.

Parameters:
xthe Trigger object to visit.
bool SBMLVisitor::visit ( const Delay &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Delay objects.

Parameters:
xthe Delay object to visit.
void SBMLVisitor::visit ( const Priority &  x) [virtual]

Interface method for using the Visitor Pattern to perform operations on Priority objects.

Parameters:
xthe Priority object to visit.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines