DSL
Public Member Functions | Protected Member Functions | List of all members
DSL_Serializable Class Referenceabstract
Inheritance diagram for DSL_Serializable:
Inheritance graph
[legend]

Public Member Functions

string GetSerialized ()
 
bool FromSerialized (const string &str)
 
bool GetSerialized (DSL_BUFFER *buf)
 
bool FromSerialized (DSL_BUFFER *buf)
 
string GetCompressed (int compression_level=5)
 
bool FromCompressed (const string &str)
 
bool GetCompressed (DSL_BUFFER *buf, int compression_level=5)
 
bool FromCompressed (DSL_BUFFER *buf)
 

Protected Member Functions

bool serialize_var (DSL_BUFFER *buf, uint8_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, int8_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, uint16_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, int16_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, uint32_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, int32_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, uint64_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, int64_t *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, double *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, float *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, string *val, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, char *data, size_t dataSize, bool deserialize)
 
bool serialize_var (DSL_BUFFER *buf, uint8_t *data, size_t lSize, bool deserialize)
 
template<typename T >
bool serialize_vector (DSL_BUFFER *buf, vector< T > &vec, bool deserialize)
 
template<typename T >
bool serialize_vector2 (DSL_BUFFER *buf, vector< T > &vec, bool deserialize)
 
bool serialize_vector_string (DSL_BUFFER *buf, vector< string > &vec, bool deserialize)
 
virtual bool Serialize (DSL_BUFFER *buf, bool deserialize)=0
 

Detailed Description

Definition at line 16 of file serialize.h.


The documentation for this class was generated from the following files: