24#ifndef RESULTCOMPONENT_H_
25#define RESULTCOMPONENT_H_
45LIBNUML_CPP_NAMESPACE_BEGIN
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);
514LIBNUML_CPP_NAMESPACE_END
526LIBNUML_CPP_NAMESPACE_BEGIN
539LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition: NUMLTypeCodes.h:34
@ NUML_RESULTCOMPONENTS
Definition: NUMLTypeCodes.h:40
LIBNUML_EXTERN CompositeDescription_t * ResultComponent_createCompositeDescription(ResultComponent_t *rComp)
Definition: ResultComponent.cpp:725
LIBNUML_EXTERN DimensionDescription_t * ResultComponent_createDimensionDescription(ResultComponent_t *rComp)
Definition: ResultComponent.cpp:718
This class stores the atomic description.
Definition: AtomicDescription.h:42
This class stores the atomic values.
Definition: AtomicValue.h:40
this class stores the component descriptions
Definition: CompositeDescription.h:58
This class stores the composite values.
Definition: CompositeValue.h:50
This class stores the dimension description.
Definition: DimensionDescription.h:59
this class stores the dimension information
Definition: Dimension.h:54
This is the base class for all numl objects.
Definition: NMBase.h:71
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:1715
virtual int setId(const std::string &sid)
Definition: NMBase.cpp:413
virtual NUMLTypeCode_t getTypeCode() const
Returns the libnuml type code for this object.
Definition: NMBase.cpp:624
virtual int getElementPosition() const
The NUML XML Schema is written such that the order of child elements is significant.
Definition: NMBase.cpp:2041
virtual const std::string & getElementName() const =0
Returns the XML element name of this object.
virtual bool accept(NUMLVisitor &v) const =0
Accepts the given NUMLVisitor for this instance of NMBase.
virtual NMBase * clone() const =0
Creates and returns a deep copy of this NMBase object.
virtual void setNUMLDocument(NUMLDocument *d)
Sets the parent NUMLDocument of this NUML object.
Definition: NMBase.cpp:435
virtual void setParentNUMLObject(NMBase *sb)
Sets the parent NUML object of this NUML object.
Definition: NMBase.cpp:486
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:2160
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:2135
virtual const std::string & getId() const
Definition: NMBase.cpp:220
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:1694
This represents the numl document that contains all information.
Definition: NUMLDocument.h:107
Parent class for the various NUML list classes e.g.
Definition: NUMLList.h:45
namespace class
Definition: NUMLNamespaces.h:47
Implementation of the Visitor design pattern, for operations on NUML objects.
Definition: NUMLVisitor.h:73
stores the result component
Definition: ResultComponent.h:57
std::string mId
Definition: ResultComponent.h:316
DimensionDescription mDimensionDescription
Definition: ResultComponent.h:317
Dimension mDimension
Definition: ResultComponent.h:318
Definition: ResultComponent.h:323
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition: ResultComponent.h:353
stores the tuple description
Definition: TupleDescription.h:45
stores tuple information
Definition: Tuple.h:45
#define BEGIN_C_DECLS
Definition: extern.h:112
#define LIBNUML_EXTERN
Begin svn Header.
Definition: extern.h:104
#define END_C_DECLS
Definition: extern.h:113
CLASS_OR_STRUCT ResultComponent ResultComponent_t
Definition: numlfwd.h:148
CLASS_OR_STRUCT DimensionDescription DimensionDescription_t
Definition: numlfwd.h:154
CLASS_OR_STRUCT CompositeDescription CompositeDescription_t
Definition: numlfwd.h:160