sprint 1-alpha
Namespaces | Enumerations | Functions
sprint/serializable_rtti.h File Reference

permits to serialize POD and STL types More...

Go to the source code of this file.

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Enumerations

enum  sprint::Type {
  sprint::Void = 0, Int8, UnsignedInt8, In16,
  UnsignedInt16, Int32, UnsignedInt32, Int64,
  UnsignedInt64, sprint::RGB24, sprint::RGBA32, sprint::Float,
  sprint::Double, sprint::String, sprint::Vector, sprint::Pair,
  sprint::Enum
}
 A reduced set of type in order to serialize data over a network or describe an interface. More...

Functions

template<class T >
Type sprint::rtti ()
 method to convert statically from a Type to a global Identifier
template<>
Type sprint::rtti< void > ()
template<>
Type sprint::rtti< char > ()
template<>
Type sprint::rtti< unsigned char > ()
template<>
Type sprint::rtti< int > ()
template<>
Type sprint::rtti< unsigned int > ()
template<>
Type sprint::rtti< float > ()
template<>
Type sprint::rtti< double > ()
template<>
Type sprint::rtti< char * > ()

Detailed Description

permits to serialize POD and STL types

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines