#include <fluidx/DatastoreDescriptor.hpp>
◆ DatastoreDescription_t
◆ DatastoreDescriptor()
| openfluid::fluidx::DatastoreDescriptor::DatastoreDescriptor |
( |
| ) |
|
|
default |
◆ ~DatastoreDescriptor()
| openfluid::fluidx::DatastoreDescriptor::~DatastoreDescriptor |
( |
| ) |
|
|
inline |
◆ appendItem()
◆ getItems() [1/2]
◆ getItems() [2/2]
◆ getItemsIDs()
| std::list<std::string> openfluid::fluidx::DatastoreDescriptor::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
-
◆ isItemExist()
| bool openfluid::fluidx::DatastoreDescriptor::isItemExist |
( |
const 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() [1/2]
◆ items() [2/2]
◆ moveItem()
| void openfluid::fluidx::DatastoreDescriptor::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::DatastoreDescriptor::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: