#include <fluidx/AdvancedDatastoreDescriptor.hpp>
◆ AdvancedDatastoreDescriptor()
◆ ~AdvancedDatastoreDescriptor()
openfluid::fluidx::AdvancedDatastoreDescriptor::~AdvancedDatastoreDescriptor |
( |
| ) |
|
◆ appendItem()
◆ getItems() [1/2]
◆ getItems() [2/2]
◆ getItemsIDs()
std::list<std::string> openfluid::fluidx::AdvancedDatastoreDescriptor::getItemsIDs |
( |
| ) |
const |
◆ insertItem()
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
-
◆ isItemAlreadyExist()
bool openfluid::fluidx::AdvancedDatastoreDescriptor::isItemAlreadyExist |
( |
std::string |
ItemID | ) |
const |
◆ item()
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.
◆ items()
◆ moveItem()
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
-
◆ removeItem()
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: