COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Namespaces | Enumerations | Functions
SharedStateSerializer.h File Reference
#include <net/tokenbuffer.h>
#include <util/coExport.h>
#include <string>
#include <vector>
#include <set>
#include <map>
Include dependency graph for SharedStateSerializer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vrb
 

Enumerations

enum  vrb::SharedStateDataType {
  vrb::UNDEFINED = 0, vrb::BOOL, vrb::INT, vrb::FLOAT,
  vrb::STRING, vrb::DOUBLE, vrb::VECTOR, vrb::SET,
  vrb::MAP
}
 

Functions

template<class T >
SharedStateDataType vrb::getSharedStateType (const T &type)
 
template<class T >
SharedStateDataType vrb::getSharedStateType (const std::vector< T > &type)
 
template<class T >
SharedStateDataType vrb::getSharedStateType (const std::set< T > &type)
 
template<class K , class V >
SharedStateDataType vrb::getSharedStateType (const std::map< K, V > &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< bool > (const bool &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< int > (const int &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< float > (const float &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< std::string > (const std::string &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< char > (const char &type)
 
template<>
VRBEXPORT SharedStateDataType vrb::getSharedStateType< double > (const double &type)
 
std::string vrb::tokenBufferToString (covise::TokenBuffer &&tb, int typeID)
 
template<class T >
void vrb::serialize (covise::TokenBuffer &tb, const T &value)
 convert the value to a TokenBuffer More...
 
template<class T >
void vrb::serialize (covise::TokenBuffer &tb, const std::vector< T > &value)
 
template<class T >
void vrb::serialize (covise::TokenBuffer &tb, const std::set< T > &value)
 
template<class K , class V >
void vrb::serialize (covise::TokenBuffer &tb, const std::map< K, V > &value)
 
template<class T >
void vrb::deserialize (covise::TokenBuffer &tb, T &value)
 
template<class T >
void vrb::deserialize (covise::TokenBuffer &tb, std::vector< T > &value)
 
template<class T >
void vrb::deserialize (covise::TokenBuffer &tb, std::set< T > &value)
 
template<class K , class V >
void vrb::deserialize (covise::TokenBuffer &tb, std::map< K, V > &value)
 
template<class T >
void vrb::serializeWithType (covise::TokenBuffer &tb, const T &value)
 
template<class T >
void vrb::deserializeWithType (covise::TokenBuffer &tb, T &value)