#include <fluidx/AdvancedWareSetDescriptor.hpp>
◆ AdvancedWareSetDescriptor()
template<class M, class I>
◆ ~AdvancedWareSetDescriptor()
template<class M, class I>
◆ appendItem()
template<class M, class I>
Appends a pointer to ware descriptor at the end of the wares set descriptor
- Parameters
-
[in] | Item | the descriptor to add |
◆ check()
template<class M, class I>
◆ eraseGlobalParameter()
template<class M, class I>
◆ findFirstItem() [1/2]
template<class M, class I>
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]
template<class M, class I>
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()
template<class M, class I>
◆ getID()
template<class M, class I>
◆ getItemsCount()
template<class M, class I>
Returns the number of ware descriptors in the wares set descriptor
- Returns
- the number of ware descriptors
◆ getOrderedIDs()
template<class M, class I>
Returns an ordered vector of IDs of wares contained in the wares set descriptor
- Returns
- the vector of IDs
◆ insertItem()
template<class M, class I>
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()
template<class M, class I>
Returns a reference to the ware descriptor at a given index
- Parameters
-
- Returns
- the descriptor
- Exceptions
-
◆ items()
template<class M, class I>
Returns a const reference to the list of pointers to ware descriptors
- Returns
- the list of pointers to descriptors
◆ moveItem()
template<class M, class I>
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()
template<class M, class I>
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()
template<class M, class I>
◆ setGlobalParameters()
template<class M, class I>
◆ setItems()
template<class M, class I>
Sets the list of pointers to ware descriptors
- Parameters
-
[in] | Items | the list of pointers to descriptors |
◆ mp_Descriptor
template<class M, class I>
The documentation for this class was generated from the following file: