Emergency 20 Dokumentation  4.2.0
BitStreamAndEnumClassHelper.h File Reference

Go to the source code of this file.

Namespaces

 em5
 
 em5::multiplayer
 

Functions

template<class T >
void em5::multiplayer::writeToBitstream (qsf::game::BitStream &bitStream, const T &enumClassValue)
 Helper methods to read/write enum class values from/to bit stream. More...
 
template<class T >
void em5::multiplayer::writeToBitstream (qsf::game::BitStream &bitStream, const T &enumClassValue, size_t bitCount)
 
template<class T >
bool em5::multiplayer::readFromBitstream (const qsf::game::BitStream &bitStream, T &enumClassValue)
 
template<class T >
bool em5::multiplayer::readFromBitstream (const qsf::game::BitStream &bitStream, T &enumClassValue, size_t bitCount)