#include <fluidx/AdvancedDatastoreDescriptor.hpp>
openfluid::fluidx::AdvancedDatastoreDescriptor::~AdvancedDatastoreDescriptor |
( |
| ) |
|
std::list<std::string> openfluid::fluidx::AdvancedDatastoreDescriptor::getItemsIDs |
( |
| ) |
const |
Insert an Item before the given position (positions starts at index 0)
- Parameters
-
[in] | Item | the DatastoreItemDescriptor 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
-
bool openfluid::fluidx::AdvancedDatastoreDescriptor::isItemAlreadyExist |
( |
std::string |
ItemID | ) |
const |
Gets the item of the datastore matching the given ID.
- Parameters
-
ItemID | ID of the expected item. |
- Returns
- The item with the given ID, or 0 if not found.
void openfluid::fluidx::AdvancedDatastoreDescriptor::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
-
void openfluid::fluidx::AdvancedDatastoreDescriptor::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 DatastoreItemDescriptor pointer.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file: