Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
Enums.h File Reference
#include <algorithm>
#include <cstddef>
#include <type_traits>
#include "zserio/CppRuntimeException.h"
#include "zserio/StringView.h"
#include "zserio/Types.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 std::underlying_type< T >::type rawValue)
 
template<typename T >
constexpr std::underlying_type< T >::type zserio::enumToValue (T value)
 
template<typename T >
uint32_t zserio::enumHashCode (T value)
 
template<typename T >
zserio::stringToEnum (StringView itemName)
 
template<typename T >
const char * zserio::enumToString (T value)
 
template<typename PACKING_CONTEXT , typename T >
void zserio::initPackingContext (PACKING_CONTEXT &context, T value)
 
template<typename T >
size_t zserio::bitSizeOf (T value)
 
template<typename PACKING_CONTEXT , typename T >
size_t zserio::bitSizeOf (PACKING_CONTEXT &context, T value)
 
template<typename T >
size_t zserio::initializeOffsets (size_t bitPosition, T value)
 
template<typename PACKING_CONTEXT , typename T >
size_t zserio::initializeOffsets (PACKING_CONTEXT &context, size_t bitPosition, T value)
 
template<typename T >
zserio::read (BitStreamReader &in)
 
template<typename T , typename PACKING_CONTEXT >
zserio::read (PACKING_CONTEXT &context, BitStreamReader &in)
 
template<typename T >
void zserio::write (BitStreamWriter &out, T value)
 
template<typename PACKING_CONTEXT , typename T >
void zserio::write (PACKING_CONTEXT &context, BitStreamWriter &out, T value)
 
template<typename T , typename std::enable_if< std::is_integral< T >::value, int >::type = 0>
CppRuntimeException & zserio::operator<< (CppRuntimeException &exception, T value)