copasi API  0.1
Public Types | Public Member Functions
CCopasiObjectReference< CType > Class Template Reference

#include <CCopasiObjectReference.h>

Inheritance diagram for CCopasiObjectReference< CType >:
CCopasiObject

List of all members.

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 CCopasiObjectgetValueObject () const
virtual void setReference (referenceType &reference)
virtual void print (std::ostream *ostream) const
virtual std::string getObjectDisplayName (bool regular=true, bool richtext=false) const

Detailed Description

template<class CType>
class CCopasiObjectReference< CType >

Class CCopasiObjectReference

This class is the is used to make an existing object globally accessible.

Copyright Stefan Hoops 2002


Member Typedef Documentation

template<class CType>
typedef CType CCopasiObjectReference< CType >::referenceType

Reimplemented from CCopasiObject.


Constructor & Destructor Documentation

template<class CType>
CCopasiObjectReference< CType >::CCopasiObjectReference ( const std::string &  name,
const CCopasiContainer pParent,
referenceType reference,
const unsigned C_INT32 &  flag = 0 
) [inline]
template<class CType>
CCopasiObjectReference< CType >::CCopasiObjectReference ( const CCopasiObjectReference< referenceType > &  src,
const CCopasiContainer pParent 
) [inline]
template<class CType>
virtual CCopasiObjectReference< CType >::~CCopasiObjectReference ( ) [inline, virtual]

Member Function Documentation

template<class CType>
virtual std::string CCopasiObjectReference< CType >::getObjectDisplayName ( bool  regular = true,
bool  richtext = false 
) const [inline, virtual]

Reimplemented from CCopasiObject.

template<class CType>
virtual const CCopasiObject* CCopasiObjectReference< CType >::getValueObject ( ) const [inline, virtual]

Reimplemented from CCopasiObject.

template<class CType>
virtual void* CCopasiObjectReference< CType >::getValuePointer ( ) const [inline, virtual]

Reimplemented from CCopasiObject.

template<class CType>
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.

Parameters:
std::ostream* ostream

Reimplemented from CCopasiObject.

template<class CType>
virtual void CCopasiObjectReference< CType >::setReference ( referenceType reference) [inline, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines