#include <CState.h>
List of all members.
Constructor & Destructor Documentation
CStateTemplate::CStateTemplate |
( |
CModel & |
model, |
|
|
CState & |
initialState, |
|
|
CState & |
currentState |
|
) |
| |
Specific constructor
- Parameters:
-
CStateTemplate::~CStateTemplate |
( |
| ) |
|
Member Function Documentation
Add an entity to the template.
- Parameters:
-
Retrieve the array of pointers to all dependent entities, which are only dependent species for a reduced model.
- Returns:
- CModelEntities ** dependentEntities
CModelEntity *const * CStateTemplate::beginDependent |
( |
| ) |
const |
Retrieve the array of pointers to all dependent entities, which are only dependent species for a reduced model.
- Returns:
- CModelEntities *const* dependentEntities
Retrieve the array of pointers to all fixed entities.
- Returns:
- CModelEntities ** fixedEntities
Retrieve the array of pointers to all fixed entities.
- Returns:
- CModelEntities *const* fixedEntities
Retrieve the array of pointers to all independent entities.
- Returns:
- CModelEntities ** independentEntities
CModelEntity *const * CStateTemplate::beginIndependent |
( |
| ) |
const |
Retrieve the array of pointers to all independent entities.
- Returns:
- CModelEntities *const* independentEntities
Retrieve pointer just beyond the dependent entities.
- Returns:
- CModelEntities ** endDependentEntities
CModelEntity *const * CStateTemplate::endDependent |
( |
| ) |
const |
Retrieve pointer just beyond the dependent entities.
- Returns:
- CModelEntities ** endDependentEntities
Retrieve pointer just beyond the fixed entities.
- Returns:
- CModelEntities ** endFixedEntities
Retrieve pointer just beyond the fixed entities.
- Returns:
- CModelEntities *const* endFixedEntities
Retrieve pointer just beyond the independent entities.
- Returns:
- CModelEntities ** endIndependentEntities
CModelEntity *const * CStateTemplate::endIndependent |
( |
| ) |
const |
Retrieve pointer just beyond the independent entities.
- Returns:
- CModelEntities *const* endIndependentEntities
Retrieve the array of pointers to all entities.
- Returns:
- CModelEntities ** entities
Retrieve the array of pointers to all entities.
- Returns:
- CModelEntities *const* entities
unsigned C_INT32 CStateTemplate::getIndex |
( |
const CModelEntity * |
entity | ) |
const |
Retrieve the index of an entity in the template. Returns C_INVALID_INDEX if the entity is not found.
- Parameters:
-
- Returns:
- unsigned C_INT32 index
unsigned C_INT32 CStateTemplate::getNumDependent |
( |
| ) |
const |
Retrieve the number of dependent entities.
- Returns:
- unsigned C_INT32 numDependent
unsigned C_INT32 CStateTemplate::getNumFixed |
( |
| ) |
const |
Retrieve the number of fixed entities.
- Returns:
- unsigned C_INT32 numFixed
unsigned C_INT32 CStateTemplate::getNumIndependent |
( |
| ) |
const |
Retrieve the number of independent entities.
- Returns:
- unsigned C_INT32 numIndependent
unsigned C_INT32 CStateTemplate::getNumVariable |
( |
| ) |
const |
Retrieve the number of variable entities, i.e., the sum of independent and dependent variables.
- Returns:
- unsigned C_INT32 numVariable
const CVector< unsigned C_INT32 > & CStateTemplate::getUserOrder |
( |
| ) |
const |
Remove an entity from the template.
- Parameters:
-
Reorder the template.
- Parameters:
-
const | CVector< CModelEntity * > & newOrder |
void CStateTemplate::resize |
( |
| ) |
[protected] |
Set the user preferred order of the entities.
- Parameters:
-
const | CVector< CModelEntity * > & userOrder |
const unsigned C_INT32 & CStateTemplate::size |
( |
| ) |
const |
Retrieve size of the template, i.e., the number of entities.
- Returns:
- unsigned C_INT32 size
The documentation for this class was generated from the following files: