14 #ifndef SHARED_STATE_SERIALIZER_H
15 #define SHARED_STATE_SERIALIZER_H
45 template<
class K,
class V>
77 int size = value.size();
87 for (
const T entry: value)
95 int size = value.size();
105 for (
const T entry : value)
110 template <
class K,
class V>
112 int size = value.size();
124 for (
const auto entry : value)
145 for (
int i = 0; i <
size; i++)
160 for (
int i = 0; i <
size; i++)
167 template <
class K,
class V>
175 for (
int i = 0; i <
size; i++)
GLsizeiptr size
Definition: khronos-glext.h:6610
void deserialize(covise::TokenBuffer &tb, T &value)
Definition: SharedStateSerializer.h:133
GLsizei const GLchar *const * string
Definition: khronos-glext.h:6750
Definition: SharedStateSerializer.h:29
Definition: SharedStateSerializer.h:23
SharedStateDataType getSharedStateType< float >(const float &type)
Definition: SharedStateSerializer.cpp:20
void deserializeWithType(covise::TokenBuffer &tb, T &value)
Definition: SharedStateSerializer.h:193
Definition: SharedStateSerializer.h:31
void serializeWithType(covise::TokenBuffer &tb, const T &value)
Definition: SharedStateSerializer.h:186
void serialize(covise::TokenBuffer &tb, const T &value)
convert the value to a TokenBuffer
Definition: SharedStateSerializer.h:70
Definition: SharedStateSerializer.h:30
Definition: SharedStateSerializer.h:25
Definition: SharedStateSerializer.h:28
std::string tokenBufferToString(covise::TokenBuffer &&tb, int typeID)
Definition: SharedStateSerializer.cpp:36
Definition: SharedStateSerializer.h:24
SharedStateDataType getSharedStateType< double >(const double &type)
Definition: SharedStateSerializer.cpp:32
#define VRBEXPORT
Definition: coExport.h:81
Definition: SharedStateSerializer.h:26
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
Definition: SharedStateSerializer.h:27
GLuint GLfloat * val
Definition: khronos-glext.h:7898
SharedStateDataType getSharedStateType< char >(const char &type)
Definition: SharedStateSerializer.cpp:28
SharedStateDataType
Definition: SharedStateSerializer.h:21
SharedStateDataType getSharedStateType(const T &type)
Definition: SharedStateSerializer.h:34
SharedStateDataType getSharedStateType< int >(const int &type)
Definition: SharedStateSerializer.cpp:16
GLenum type
Definition: khronos-glext.h:6279
Definition: tokenbuffer.h:74
SharedStateDataType getSharedStateType< bool >(const bool &type)
Definition: SharedStateSerializer.cpp:12