Ring Daemon 16.0.0
|
This generic class represents a multidimensional enum class array. More...
#include <enumclass_utils.h>
Classes | |
class | EnumClassIter |
An Iterator for enum classes. More... | |
Public Member Functions | |
EnumClassIter | begin () |
EnumClassIter | end () |
Row | fromValue (const Value &value) const |
constexpr | Matrix1D (std::initializer_list< std::initializer_list< Value > > s) |
Value | operator[] (Row v) |
const Value | operator[] (Row v) const |
Static Public Member Functions | |
static void | setReverseMapping (Matrix1D< Row, const char * > names) |
This generic class represents a multidimensional enum class array.
It safely converts them to integers. Each enum class needs a "COUNT__" item at the end."
This struct enforces:
Definition at line 49 of file enumclass_utils.h.
|
constexpr |
Definition at line 171 of file enumclass_utils.h.
References jami::emitSignal().
Definition at line 294 of file enumclass_utils.h.
Definition at line 301 of file enumclass_utils.h.
References jami::emitSignal().
Row jami::Matrix1D< Row, Value, Accessor >::fromValue | ( | const Value & | value | ) | const |
Definition at line 219 of file enumclass_utils.h.
References jami::emitSignal().
Value jami::Matrix1D< Row, Value, Accessor >::operator[] | ( | Row | v | ) |
Definition at line 183 of file enumclass_utils.h.
References jami::emitSignal(), and JAMI_ERR.
const Value jami::Matrix1D< Row, Value, Accessor >::operator[] | ( | Row | v | ) | const |
Definition at line 195 of file enumclass_utils.h.
References jami::emitSignal(), and JAMI_ERR.
|
static |
Definition at line 211 of file enumclass_utils.h.
References jami::emitSignal().