#include <TCCodec.h>
Public Member Functions | |
virtual uint32 | Decode (Stream &stream, sint16 &val)=0 |
Method for reading one signed 16bit integer from the stream. | |
virtual uint32 | Decode (Stream &stream, uint16 &val)=0 |
Method for reading one unsigned 16bit integer from the stream. | |
virtual uint32 | Decode (Stream &stream, sint32 &val)=0 |
Method for reading one signed int 32bit integer the stream. | |
virtual uint32 | Decode (Stream &stream, uint32 &val)=0 |
Method for reading one unsigned 32bit integer from the stream. | |
virtual uint32 | Decode (Stream &stream, sint64 &val)=0 |
Method for reading one signed 64bit integer from the stream. | |
virtual uint32 | Decode (Stream &stream, uint64 &val)=0 |
Method for reading one unsigned 64bit integer from the stream. | |
virtual uint32 | Decode (Stream &stream, float &val)=0 |
Method for reading one float from the stream. | |
virtual uint32 | Decode (Stream &stream, double &val)=0 |
Method for reading one double from the stream. | |
virtual uint32 | Decode (Stream &stream, char *val)=0 |
Method for reading one string from the stream. | |
virtual uint32 | Decode (Stream &stream, std::string &val)=0 |
Method for reading one string from the stream. | |
virtual uint32 | Decode (Stream &stream, char &val)=0 |
Method for reading one char from the stream. | |
virtual uint32 | Decode (Stream &stream, uchar &val)=0 |
Method for reading one unsigned char from the stream. | |
virtual uint32 | Encode (sint16 val, Stream &stream)=0 |
Method for writing one signed 16bit integer to the stream. | |
virtual uint32 | Encode (uint16 val, Stream &stream)=0 |
Method for writing one unsigned 16bit integer to the stream. | |
virtual uint32 | Encode (sint32 val, Stream &stream)=0 |
Method for writing one signed 32bit integer to the stream. | |
virtual uint32 | Encode (uint32 val, Stream &stream)=0 |
Method for writing one unsigned 32bit integer to the stream. | |
virtual uint32 | Encode (sint64 val, Stream &stream)=0 |
Method for writing one signed 64bit integer to the stream. | |
virtual uint32 | Encode (uint64 val, Stream &stream)=0 |
Method for writing one unsigned 64bit integer to the stream. | |
virtual uint32 | Encode (float val, Stream &stream)=0 |
Method for writing one float to the stream. | |
virtual uint32 | Encode (double val, Stream &stream)=0 |
Method for writing one double to the stream. | |
virtual uint32 | Encode (const char *val, Stream &stream)=0 |
Method for writing one string to the stream. | |
virtual uint32 | Encode (const std::string &val, Stream &stream)=0 |
Method for writing one string to the stream. | |
virtual uint32 | Encode (char val, Stream &stream)=0 |
Method for writing one signed char to the stream. | |
virtual uint32 | Encode (uchar val, Stream &stream)=0 |
Method for writing one unsigned char to the stream. | |
virtual uint32 | EncodeEndOfLine (Stream &stream)=0 |
Writes the end of line characters if needed for the stream. | |
virtual uint32 | EncodeSpace (Stream &stream)=0 |
Writes space to the stream if needed for the stream needed for separating words or numbers. | |
virtual | ~Codec () |
Definition at line 64 of file TCCodec.h.
Method for reading one signed 16bit integer from the stream.
stream | Stream from which to decode the data | |
val | the short which should store the short |
Method for reading one unsigned 16bit integer from the stream.
stream | Stream from which to decode the data | |
val | the short which should store the short |
Method for reading one signed int 32bit integer the stream.
stream | Stream from which to decode the data | |
val | the int which should store the int |
Method for reading one unsigned 32bit integer from the stream.
stream | Stream from which to decode the data | |
val | the int which should store the int |
Method for reading one signed 64bit integer from the stream.
stream | Stream from which to decode the data | |
val | the long which should store the long |
Method for reading one unsigned 64bit integer from the stream.
stream | Stream from which to decode the data | |
val | the long which should store the long |
Method for reading one float from the stream.
stream | Stream from which to decode the data | |
val | the float which should store the float |
Method for reading one double from the stream.
stream | Stream from which to decode the data | |
val | the double which should store the double |
Method for reading one string from the stream.
stream | Stream from which to decode the data | |
val | the string which should store the string |
Method for reading one string from the stream.
stream | Stream from which to decode the data | |
val | the string which should store the string |
Method for reading one char from the stream.
stream | Stream from which to decode the data | |
val | the char which should store the char |
Method for reading one unsigned char from the stream.
stream | Stream from which to decode the data | |
val | the char which should store the char |
Method for writing one signed 16bit integer to the stream.
stream | Stream to which to encode the data | |
val | the short which to write |
Method for writing one unsigned 16bit integer to the stream.
stream | Stream to which to encode the data | |
val | the short which to write |
Method for writing one signed 32bit integer to the stream.
stream | Stream to which to encode the data | |
val | the int which to write |
Method for writing one unsigned 32bit integer to the stream.
stream | Stream to which to encode the data | |
val | the int which to write |
Method for writing one signed 64bit integer to the stream.
stream | Stream to which to encode the data | |
val | the long which to write |
Method for writing one unsigned 64bit integer to the stream.
stream | Stream to which to encode the data | |
val | the long which to write |
Method for writing one float to the stream.
stream | Stream to which to encode the data | |
val | the float which to write |
Method for writing one double to the stream.
stream | Stream to which to encode the data | |
val | the double which to write |
Method for writing one string to the stream.
stream | Stream to which to encode the data | |
val | the string which to write |
Method for writing one string to the stream.
stream | Stream to which to encode the data | |
val | the string which to write |
Method for writing one signed char to the stream.
stream | Stream to which to encode the data | |
val | the char which to write |
Method for writing one unsigned char to the stream.
stream | Stream to which to encode the data | |
val | the char which to write |
Writes the end of line characters if needed for the stream.
stream | Stream to which to encode the end of line |
Writes space to the stream if needed for the stream needed for separating words or numbers.
stream | Stream to which to encode the space |