Ring Daemon 16.0.0
Loading...
Searching...
No Matches
enumclass_utils.h File Reference
Include dependency graph for enumclass_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jami::Matrix1D< Row, Value, A >::EnumClassIter
 An Iterator for enum classes. More...
 
class  jami::Matrix0D< EnumClass >::EnumClassIter
 An Iterator for enum classes. More...
 
struct  jami::Matrix0D< EnumClass >
 A matrix with no value. More...
 
struct  jami::Matrix1D< Row, Value, A >
 This generic class represents a multidimensional enum class array. More...
 

Namespaces

namespace  jami
 

Typedefs

template<class Row , class Class , typename Result = void, typename... Args>
using jami::CallbackMatrix1D = Matrix1D< Row, Result(Class::*)(Args... args)>
 Create an array of callbacks.
 
template<class Row , class Column , class Class , typename Result = void, typename... Args>
using jami::CallbackMatrix2D = Matrix2D< Row, Column, void(Class::*)(Args... args)>
 Create a method callback matrix.
 
template<class Row >
using jami::EnumClassNames = Matrix1D< Row, std::string_view >
 A helper to type to match serializable string to enum elements.
 
template<class Row , class Column , typename Value >
using jami::Matrix2D = Matrix1D< Row, Matrix1D< Column, Value > >
 Create a matrix type with 2 enum class dimensions M[I,J] = V ^ ^ ^ | | | Rows <— | | Columns <--— | Value <-------—.
 

Functions

template<typename A >
constexpr size_t jami::enum_class_size ()
 This function adds a safe way to get an enum class size.