#include <fluidx/AdvancedWareSetDescriptor.hpp>
template<class M, class I>
template<class M, class I>
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 |
template<class M, class I>
template<class M, class I>
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
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
template<class M, class I>
template<class M, class I>
template<class M, class I>
Returns the number of ware descriptors in the wares set descriptor
- Returns
- the number of ware descriptors
template<class M, class I>
Returns an ordered vector of IDs of wares contained in the wares set descriptor
- Returns
- the vector of IDs
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
-
template<class M, class I>
Returns a reference to the ware descriptor at a given index
- Parameters
-
- Returns
- the descriptor
- Exceptions
-
template<class M, class I>
Returns a const reference to the list of pointers to ware descriptors
- Returns
- the list of pointers to descriptors
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
-
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
-
template<class M, class I>
template<class M, class I>
template<class M, class I>
Sets the list of pointers to ware descriptors
- Parameters
-
[in] | Items | the list of pointers to descriptors |
template<class M, class I>
The documentation for this class was generated from the following file: