Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
Enums.h File Reference
#include <algorithm>
#include <cstddef>
#include <string_view>
#include <type_traits>
#include "zserio/BitStreamReader.h"
#include "zserio/BitStreamWriter.h"
#include "zserio/DeltaContext.h"
#include "zserio/ItemsAccessor.h"

Go to the source code of this file.

Classes

struct  zserio::EnumTraits< T >
 

Namespaces

 zserio
 

Functions

template<typename T >
size_t zserio::enumToOrdinal (T value)
 
template<typename T >
zserio::valueToEnum (typename EnumTraits< T >::ZserioType rawValue)
 
template<typename T >
constexpr EnumTraits< T >::ZserioType zserio::enumToValue (T value)
 
template<typename T >
zserio::stringToEnum (std::string_view itemName)
 
template<typename T >
std::string_view zserio::enumToString (T value)
 
template<typename T , typename std::enable_if< is_bitmask< T >::value, int >::type = 0>
CppRuntimeException & zserio::operator<< (CppRuntimeException &exception, T value)