List of all members.
Detailed Description
Class defining a spatial unit
example of use:
Constructor & Destructor Documentation
openfluid::core::Unit::~Unit |
( |
| ) |
|
Member Function Documentation
bool openfluid::core::Unit::addChildUnit |
( |
Unit * |
aUnit | ) |
|
bool openfluid::core::Unit::addFromUnit |
( |
Unit * |
aUnit | ) |
|
bool openfluid::core::Unit::addParentUnit |
( |
Unit * |
aUnit | ) |
|
bool openfluid::core::Unit::addToUnit |
( |
Unit * |
aUnit | ) |
|
Returns a list of children units of the requested class. Returns NULL if this unit has no child
- Parameters:
-
[in] | aClass | the requested class |
UnitClass_t openfluid::core::Unit::getClass |
( |
| ) |
const [inline] |
Returns the class of the unit
Returns a list of units, of the requested class, connected from this unit. Returns NULL if no units of the requested class are connected from this unit.
- Parameters:
-
[in] | aClass | the requested class |
UnitID_t openfluid::core::Unit::getID |
( |
| ) |
const [inline] |
Returns the ID of the unit
InputData* openfluid::core::Unit::getInputData |
( |
| ) |
[inline] |
const InputData* openfluid::core::Unit::getInputData |
( |
| ) |
const [inline] |
Returns a list of parent units of the requested class. Returns NULL if this unit has no parent
- Parameters:
-
[in] | aClass | the requested class |
unsigned int openfluid::core::Unit::getProcessOrder |
( |
| ) |
const [inline] |
Returns the process order of the unit
Returns a list of units, of the requested class, connected to this unit. Returns NULL if no units of the requested class are connected to this unit.
- Parameters:
-
[in] | aClass | the requested class |
const Variables* openfluid::core::Unit::getVariables |
( |
| ) |
const [inline] |
Variables* openfluid::core::Unit::getVariables |
( |
| ) |
[inline] |
void openfluid::core::Unit::setProcessOrder |
( |
unsigned int |
PcsOrder | ) |
[inline] |
void openfluid::core::Unit::streamContents |
( |
std::ostream & |
OStream | ) |
|