24 #ifndef RESULTCOMPONENT_H_ 25 #define RESULTCOMPONENT_H_ 103 const std::string&
getId ()
const;
134 int setId (
const std::string& sid);
250 Tuple* createTuple();
283 void writeElements(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream& stream)
const;
294 virtual NMBase*
createObject (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream);
302 virtual void readAttributes (
const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes& attributes);
310 virtual void writeAttributes (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream& stream)
const;
509 virtual NMBase*
createObject (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream);
This is the base class for all numl objects.
Definition: NMBase.h:70
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition: ResultComponent.h:353
#define BEGIN_C_DECLS
Definition: extern.h:112
virtual NUMLTypeCode_t getItemTypeCode() const
Get the type code of the objects contained in this NUMLList.
Definition: NUMLList.cpp:361
virtual NMBase * remove(unsigned int n)
Removes the nth item from this NUMLList items and returns a pointer to it.
Definition: NUMLList.cpp:233
Dimension mDimension
Definition: ResultComponent.h:318
virtual NMBase * createObject(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream &stream)
Subclasses should override this method to create, store, and then return an NUML object corresponding...
Definition: NMBase.cpp:1714
virtual void setParentNUMLObject(NMBase *sb)
Sets the parent NUML object of this NUML object.
Definition: NMBase.cpp:485
virtual void writeElements(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write out their contained NUML objects as XML elements.
Definition: NMBase.cpp:1693
stores the result component
Definition: ResultComponent.h:57
virtual const std::string & getElementName() const
Returns the XML element name of this object, which for NUMLList, is always "listOf".
Definition: NUMLList.cpp:372
stores tuple information
Definition: Tuple.h:44
virtual const NMBase * get(unsigned int n) const
Get an item from the list.
Definition: NUMLList.cpp:156
#define LIBNUML_CPP_NAMESPACE_BEGIN
Definition: libnuml-namespace.h:71
std::string mId
Definition: ResultComponent.h:316
This class stores the atomic values.
Definition: AtomicValue.h:40
virtual void setNUMLDocument(NUMLDocument *d)
Sets the parent NUMLDocument of this NUML object.
Definition: NMBase.cpp:434
Parent class for the various NUML list classes e.g.
Definition: NUMLList.h:45
CLASS_OR_STRUCT CompositeDescription CompositeDescription_t
this class stores the component descriptions
Definition: numlfwd.h:160
LIBNUML_EXTERN CompositeDescription_t * ResultComponent_createCompositeDescription(ResultComponent_t *rComp)
Definition: ResultComponent.cpp:725
virtual NMBase * clone() const
Creates and returns a deep copy of this NUMLList.
Definition: NUMLList.cpp:122
stores the tuple description
Definition: TupleDescription.h:44
virtual const std::string & getId() const
Definition: NMBase.cpp:219
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition: NUMLTypeCodes.h:33
This represents the numl document that contains all information.
Definition: NUMLDocument.h:106
LIBNUML_EXTERN DimensionDescription_t * ResultComponent_createDimensionDescription(ResultComponent_t *rComp)
Definition: ResultComponent.cpp:718
#define LIBNUML_EXTERN
Begin svn Header.
Definition: extern.h:104
virtual const std::string & getElementName() const =0
Returns the XML element name of this object.
Implementation of the Visitor design pattern, for operations on NUML objects.
Definition: NUMLVisitor.h:72
namespace class
Definition: NUMLNamespaces.h:46
CLASS_OR_STRUCT ResultComponent ResultComponent_t
stores the result component
Definition: numlfwd.h:148
Definition: ResultComponent.h:322
This class stores the atomic description.
Definition: AtomicDescription.h:42
virtual NUMLTypeCode_t getTypeCode() const
Returns the libnuml type code for this object.
Definition: NMBase.cpp:623
This class stores the composite values.
Definition: CompositeValue.h:49
#define END_C_DECLS
Definition: extern.h:113
virtual void readAttributes(const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes &attributes)
Subclasses should override this method to read values from the given XMLAttributes set into their spe...
Definition: NMBase.cpp:2134
this class stores the dimension information
Definition: Dimension.h:53
virtual bool accept(NUMLVisitor &v) const =0
Accepts the given NUMLVisitor for this instance of NMBase.
#define LIBNUML_CPP_NAMESPACE_END
Definition: libnuml-namespace.h:72
This class stores the dimension description.
Definition: DimensionDescription.h:58
virtual int setId(const std::string &sid)
Definition: NMBase.cpp:412
virtual int getElementPosition() const
The NUML XML Schema is written such that the order of child elements is significant.
Definition: NMBase.cpp:2040
this class stores the component descriptions
Definition: CompositeDescription.h:57
CLASS_OR_STRUCT DimensionDescription DimensionDescription_t
This class stores the dimension description.
Definition: numlfwd.h:154
virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write their XML attributes to the XMLOutputStream.
Definition: NMBase.cpp:2159
DimensionDescription mDimensionDescription
Definition: ResultComponent.h:317
Definition: NUMLTypeCodes.h:40
virtual NMBase * clone() const =0
Creates and returns a deep copy of this NMBase object.