#include <fluidx/AdvancedModelDescriptor.hpp>
openfluid::fluidx::AdvancedModelDescriptor::AdvancedModelDescriptor |
( |
| ) |
|
|
inlineprotected |
openfluid::fluidx::AdvancedModelDescriptor::~AdvancedModelDescriptor |
( |
| ) |
|
void openfluid::fluidx::AdvancedModelDescriptor::checkModel |
( |
| ) |
const |
int openfluid::fluidx::AdvancedModelDescriptor::getFirstItemIndex |
( |
std::string |
ItemID | ) |
const |
Return the position of the firts Item with ItemID found in the list, or -1 if not found
- Parameters
-
- Returns
- Exceptions
-
openfluid::base::OFException | if Index is out of range |
- Parameters
-
- Returns
unsigned int openfluid::fluidx::AdvancedModelDescriptor::getItemsCount |
( |
| ) |
const |
void openfluid::fluidx::AdvancedModelDescriptor::getItemsCount |
( |
unsigned int & |
SimCount, |
|
|
unsigned int & |
GenCount |
|
) |
| const |
std::vector<std::string> openfluid::fluidx::AdvancedModelDescriptor::getOrderedIDs |
( |
| ) |
const |
Insert an Item before the given position (positions starts at index 0)
- Parameters
-
[in] | Item | the ModelItemDescriptor to insert |
[in] | Position | the position, should be between zero and list size - 1. To insert an Item at the end of the list, use appendItem instead. |
- Exceptions
-
openfluid::base::OFException | if Position is out of range |
void openfluid::fluidx::AdvancedModelDescriptor::moveItem |
( |
unsigned int |
From, |
|
|
unsigned int |
To |
|
) |
| |
Move the Item located at the given From position to the To position (positions starts at index 0)
- Parameters
-
- Exceptions
-
openfluid::base::OFException | a position is out of range |
void openfluid::fluidx::AdvancedModelDescriptor::removeItem |
( |
unsigned int |
Position | ) |
|
Remove from the list the Item located at the given Position (positions starts at index 0). This doesn't delete the ModelItemDescriptor pointer.
- Parameters
-
- Exceptions
-
openfluid::base::OFException | if Position is out of range |
Replace existing simulators with SimulatorsList.
The documentation for this class was generated from the following file: