COPASI API  4.40.278
CPointerContextWithParent< Data > Class Template Reference

#include <CPointerContextWithParent.h>

Inheritance diagram for CPointerContextWithParent< Data >:
[legend]

Public Types

typedef CPointerContext< Data > Base
 
- Public Types inherited from CPointerContext< Data >
typedef CContext< Data * > Base
 

Public Member Functions

 CPointerContextWithParent ()=delete
 
 CPointerContextWithParent (const bool &parallel, CDataContainer *pParent)
 
 CPointerContextWithParent (const CPointerContextWithParent &src)=delete
 
void setMaster (Data *pMaster)
 
 ~CPointerContextWithParent ()
 
- Public Member Functions inherited from CPointerContext< Data >
 CPointerContext ()=delete
 
 CPointerContext (const bool &parallel)
 
 CPointerContext (const CPointerContext &src)=delete
 
void setMaster (Data *pMaster)
 
 ~CPointerContext ()
 
- Public Member Functions inherited from CContext< Data * >
Data * & active ()
 
const Data * & active () const
 
Data * * beginThread ()
 
const Data * * beginThread () const
 
 CContext (const bool &parallel=true)
 
 CContext (const CContext &src)
 
Data * * endThread ()
 
const Data * * endThread () const
 
int globalIndex (const Data * *data) const
 
void init ()
 
bool isMaster (const Data * *data) const
 
bool isThread (const Data * *data) const
 
int localIndex (const Data * *data) const
 
Data * & master ()
 
const Data * & master () const
 
CContextoperator= (const CContext &rhs)
 
bool operator== (const CContext &rhs) const
 
void release ()
 
const size_t & size () const
 
 ~CContext ()
 

Private Attributes

CDataContainermpParent
 

Member Typedef Documentation

◆ Base

template<class Data >
typedef CPointerContext< Data > CPointerContextWithParent< Data >::Base

Constructor & Destructor Documentation

◆ CPointerContextWithParent() [1/3]

template<class Data >
CPointerContextWithParent< Data >::CPointerContextWithParent ( )
delete

◆ CPointerContextWithParent() [2/3]

template<class Data >
CPointerContextWithParent< Data >::CPointerContextWithParent ( const CPointerContextWithParent< Data > &  src)
delete

◆ CPointerContextWithParent() [3/3]

◆ ~CPointerContextWithParent()

template<class Data >
CPointerContextWithParent< Data >::~CPointerContextWithParent

Member Function Documentation

◆ setMaster()

template<class Data >
void CPointerContextWithParent< Data >::setMaster ( Data *  pMaster)

Set the pointer to container used for calculations

Parameters
CCopasiMethod* pMethod

Referenced by COptMethod::COptMethod(), and COptMethod::setProblem().

Member Data Documentation

◆ mpParent

template<class Data >
CDataContainer* CPointerContextWithParent< Data >::mpParent
private

The documentation for this class was generated from the following file: