|
wex v24.10.0
|
Offers a class to add functionality to a vector of items. More...
#include <wex/ui/item-vector.h>
Public Member Functions | |
| item_vector (const std::vector< item > *v) | |
| Constructor, provide the vector of items. | |
| template<typename T > | |
| const T | find (const std::string &label) const |
| Finds item by label. | |
Offers a class to add functionality to a vector of items.
| const T wex::item_vector::find | ( | const std::string & | label | ) | const |
Finds item by label.
First tries to get the item from the config, if not yet present, returns the default value from the vector.