#include <fluidx/WareSetDescriptor.hpp>
◆ SetDescription_t
◆ WareSetDescriptor()
◆ ~WareSetDescriptor()
◆ appendItem()
◆ eraseGlobalParameter()
◆ findFirstItem() [1/2]
Finds the index of the first ware descriptor with the given ID
- Parameters
-
[in] | ID | the ID of the searched descriptor |
- Returns
- the index of the searched descriptor, -1 otherwise
◆ findFirstItem() [2/2]
Finds the index of the first ware descriptor corresponding to the given descriptor
- Parameters
-
[in] | Item | the searched descriptor |
- Returns
- the index of the searched descriptor, -1 otherwise
◆ getGlobalParameters()
◆ getID()
◆ getItemsCount()
Returns the number of ware descriptors in the wares set descriptor
- Returns
- the number of ware descriptors
◆ getOrderedIDs()
Returns an ordered vector of IDs of wares contained in the wares set descriptor
- Returns
- the vector of IDs
◆ insertItem()
Inserts a pointer to ware descriptor at a given index in the wares set descriptor
- Parameters
-
[in] | Item | the descriptor to insert |
[in] | Index | the index where the descriptor is inserted |
- Exceptions
-
◆ itemAt()
Returns a reference to the ware descriptor at a given index
- Parameters
-
- Returns
- the descriptor
- Exceptions
-
◆ items() [1/2]
◆ items() [2/2]
◆ moveItem()
Moves a ware descriptor at a given index to another index in the wares set descriptor
- Parameters
-
[in] | indexFrom | initial index of the descriptor |
[in] | indexTo | destination index of the descriptor |
- Exceptions
-
◆ removeItem()
Removes the ware descriptor at a given index from the wares set descriptor
- Parameters
-
[in] | Index | the index of the descriptor to remove |
- Exceptions
-
◆ setGlobalParameter()
◆ setGlobalParameters()
◆ setItems()
Sets the list of pointers to ware descriptors
- Parameters
-
[in] | Items | the list of pointers to descriptors |
◆ m_Params
◆ m_SetDescription
The documentation for this class was generated from the following file: