Orxonox
0.0.5 Codename: Arcturus
|
Functions to serialise most of the types/classed used in Orxonox. More...
Go to the source code of this file.
Namespaces | |
orxonox | |
Die Wagnis Klasse hat die folgenden Aufgaben: | |
Functions | |
template<class T > | |
bool | orxonox::checkEquality (const T &variable, uint8_t *mem) |
checks whether the variable of type T is the same as in the bytestream More... | |
bool | orxonox::checkEquality (char *&variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const bool &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const char &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const unsigned char &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const short &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const unsigned short &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const int &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const unsigned int &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const long &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const unsigned long &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const long long &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const unsigned long long &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const float &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const double &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const long double &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const std::string &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Degree &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Radian &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Vector2 &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Vector3 &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Vector4 &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const Quaternion &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const ColourValue &variable, uint8_t *mem) |
template<> | |
bool | orxonox::checkEquality (const mbool &variable, uint8_t *mem) |
template<class T > | |
bool | orxonox::checkEquality (const std::set< T > &variable, uint8_t *mem) |
template<class T > | |
void | orxonox::loadAndIncrease (T &variable, uint8_t *&mem) |
loads the value of a variable out of the bytestream and increases the mem pointer More... | |
void | orxonox::loadAndIncrease (char *&variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (bool &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (char &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (unsigned char &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (short &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (unsigned short &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (int &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (unsigned int &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (unsigned long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (long long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (unsigned long long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (float &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (double &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (long double &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (std::string &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Degree &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Radian &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Vector2 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Vector3 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Vector4 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (Quaternion &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (ColourValue &variable, uint8_t *&mem) |
template<> | |
void | orxonox::loadAndIncrease (mbool &variable, uint8_t *&mem) |
template<class T > | |
void | orxonox::loadAndIncrease (std::set< T > &variable, uint8_t *&mem) |
template<class T > | |
uint32_t | orxonox::returnSize (const T &variable) |
returns the size of the variable in a datastream More... | |
uint32_t | orxonox::returnSize (const char *&variable) |
template<> | |
uint32_t | orxonox::returnSize (const bool &) |
template<> | |
uint32_t | orxonox::returnSize (const char &) |
template<> | |
uint32_t | orxonox::returnSize (const unsigned char &) |
template<> | |
uint32_t | orxonox::returnSize (const short &) |
template<> | |
uint32_t | orxonox::returnSize (const unsigned short &) |
template<> | |
uint32_t | orxonox::returnSize (const int &) |
template<> | |
uint32_t | orxonox::returnSize (const unsigned int &) |
template<> | |
uint32_t | orxonox::returnSize (const long &) |
template<> | |
uint32_t | orxonox::returnSize (const unsigned long &) |
template<> | |
uint32_t | orxonox::returnSize (const long long &) |
template<> | |
uint32_t | orxonox::returnSize (const unsigned long long &) |
template<> | |
uint32_t | orxonox::returnSize (const float &) |
template<> | |
uint32_t | orxonox::returnSize (const double &) |
template<> | |
uint32_t | orxonox::returnSize (const long double &) |
template<> | |
uint32_t | orxonox::returnSize (const std::string &variable) |
template<> | |
uint32_t | orxonox::returnSize (const Degree &) |
template<> | |
uint32_t | orxonox::returnSize (const Radian &) |
template<> | |
uint32_t | orxonox::returnSize (const Vector2 &variable) |
template<> | |
uint32_t | orxonox::returnSize (const Vector3 &variable) |
template<> | |
uint32_t | orxonox::returnSize (const Vector4 &variable) |
template<> | |
uint32_t | orxonox::returnSize (const Quaternion &variable) |
template<> | |
uint32_t | orxonox::returnSize (const ColourValue &variable) |
template<> | |
uint32_t | orxonox::returnSize (const mbool &variable) |
template<class T > | |
uint32_t | orxonox::returnSize (const std::set< T > &variable) |
template<class T > | |
void | orxonox::saveAndIncrease (const T &variable, uint8_t *&mem) |
saves the value of a variable into the bytestream and increases the mem pointer More... | |
void | orxonox::saveAndIncrease (const char *&variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const bool &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const char &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const unsigned char &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const short &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const unsigned short &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const int &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const unsigned int &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const unsigned long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const long long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const unsigned long long &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const float &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const double &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const long double &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const std::string &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Degree &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Radian &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Vector2 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Vector3 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Vector4 &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const Quaternion &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const ColourValue &variable, uint8_t *&mem) |
template<> | |
void | orxonox::saveAndIncrease (const mbool &variable, uint8_t *&mem) |
template<class T > | |
void | orxonox::saveAndIncrease (const std::set< T > &variable, uint8_t *&mem) |
Functions to serialise most of the types/classed used in Orxonox.