![]() |
|
Flagger with own dictionary, and accepting values of (integer) type T. More...
#include <Flags.h>


Public Types | |
| typedef F | fbase_t |
| typedef F::value_t | value_t |
| typedef F::dict_t | dict_t |
Public Member Functions | |
| virtual const dict_t & | getDict () const |
| virtual dict_t & | getDict () |
| Flags2 () | |
| Flags2 (const std::initializer_list< typename dict_t::entry_t > &list) | |
| Constructor for relatively short dictionaries. | |
| Flags2 (const Flags2< F > &flags) | |
| template<class T > | |
| Flags2< F > & | operator= (const T &v) |
Protected Attributes | |
| dict_t | dict |
Flagger with own dictionary, and accepting values of (integer) type T.
Designed for local, instantaneous use. Should several flaggers use the same dictionary, use Flagger2<F> instead.
| F | – SingleFlagger<T> or MultiFlagger<T> |
|
inline |
If the dictionary is small, consider short init: Flags2({"A",1}, {"B",2}}
|
inline |
Constructor for relatively short dictionaries.
1.9.8