copasi API
0.1
|
#include <CCopasiObjectReference.h>
Public Types | |
typedef CType | referenceType |
Public Member Functions | |
CCopasiObjectReference (const std::string &name, const CCopasiContainer *pParent, referenceType &reference, const unsigned C_INT32 &flag=0) | |
CCopasiObjectReference (const CCopasiObjectReference< referenceType > &src, const CCopasiContainer *pParent) | |
virtual | ~CCopasiObjectReference () |
virtual void * | getValuePointer () const |
virtual const CCopasiObject * | getValueObject () const |
virtual void | setReference (referenceType &reference) |
virtual void | print (std::ostream *ostream) const |
virtual std::string | getObjectDisplayName (bool regular=true, bool richtext=false) const |
Class CCopasiObjectReference
This class is the is used to make an existing object globally accessible.
Copyright Stefan Hoops 2002
typedef CType CCopasiObjectReference< CType >::referenceType |
Reimplemented from CCopasiObject.
CCopasiObjectReference< CType >::CCopasiObjectReference | ( | const std::string & | name, |
const CCopasiContainer * | pParent, | ||
referenceType & | reference, | ||
const unsigned C_INT32 & | flag = 0 |
||
) | [inline] |
CCopasiObjectReference< CType >::CCopasiObjectReference | ( | const CCopasiObjectReference< referenceType > & | src, |
const CCopasiContainer * | pParent | ||
) | [inline] |
virtual CCopasiObjectReference< CType >::~CCopasiObjectReference | ( | ) | [inline, virtual] |
virtual std::string CCopasiObjectReference< CType >::getObjectDisplayName | ( | bool | regular = true , |
bool | richtext = false |
||
) | const [inline, virtual] |
Reimplemented from CCopasiObject.
virtual const CCopasiObject* CCopasiObjectReference< CType >::getValueObject | ( | ) | const [inline, virtual] |
Reimplemented from CCopasiObject.
virtual void* CCopasiObjectReference< CType >::getValuePointer | ( | ) | const [inline, virtual] |
Reimplemented from CCopasiObject.
virtual void CCopasiObjectReference< CType >::print | ( | std::ostream * | ostream | ) | const [inline, virtual] |
This is the output method for any object. The default implementation provided with CCopasiObject uses the ostream operator<< of the object to print the object.To override this default behavior one needs to reimplement the virtual print function.
std::ostream | * ostream |
Reimplemented from CCopasiObject.
virtual void CCopasiObjectReference< CType >::setReference | ( | referenceType & | reference | ) | [inline, virtual] |