#include <core/Unit.hpp>
Class defining a spatial unit
example of use:
aUnitID = aUnitPtr->
getID();
openfluid::core::Unit::~Unit |
( |
| ) |
|
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 | ) |
|
Attributes* openfluid::core::Unit::getAttributes |
( |
| ) |
|
|
inline |
const Attributes* openfluid::core::Unit::getAttributes |
( |
| ) |
const |
|
inline |
Returns a list of children units of the requested class. Returns NULL if this unit has no child
- Parameters
-
[in] | aClass | the requested class |
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
Returns a list of parent units of the requested class. Returns NULL if this unit has no parent
- Parameters
-
[in] | aClass | the requested class |
PcsOrd_t 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 |
Variables* openfluid::core::Unit::getVariables |
( |
| ) |
|
|
inline |
const Variables* openfluid::core::Unit::getVariables |
( |
| ) |
const |
|
inline |
void openfluid::core::Unit::setProcessOrder |
( |
unsigned int |
PcsOrder | ) |
|
|
inline |
void openfluid::core::Unit::streamContents |
( |
std::ostream & |
OStream | ) |
|
The documentation for this class was generated from the following file: