Public Member Functions |
| | SaveState (const LWSaveState *_ss) |
| void | Begin (const LWBlockIdent &id, bool leaf=true) const |
| void | Depth (void) const |
| void | End (void) const |
| const LWSaveState * | getState (void) const |
| bool | isValid () |
| void | Write (const bool data) const |
| | Write a single boolean value.
|
| void | Write (const char data) const |
| | Write a single byte.
|
| void | Write (const char *data, int length) const |
| void | Write (const short data) const |
| | Write a single short.
|
| void | Write (const short *data, int length) const |
| void | Write (const int data) const |
| | Write a single integer.
|
| void | Write (const int *data, int length) const |
| void | Write (const unsigned char data) const |
| | Write a single unsigned byte.
|
| void | Write (const unsigned char *data, int length) const |
| void | Write (const unsigned short data) const |
| void | Write (const unsigned short *data, int length) const |
| void | Write (const unsigned int data) const |
| void | Write (const unsigned int *data, int length) const |
| void | Write (const float data) const |
| void | Write (const float *data, int length) const |
| void | Write (const double data) const |
| void | Write (const double *data, int length) const |
| void | Write (const char *data) const |
| void | Write (const std::string data) const |
| template<class T > |
| void | WriteBlock (const LWBlockIdent &id, T value, bool leaf=true) const |
| | Save a value embedded in a block.
|
| template<class T > |
| void | WriteBlock (const LWBlockIdent &id, T value, int len, bool leaf=true) const |
| void | WriteItem (const LWBlockIdent &id, Storeable &object, bool leaf=false) const |
| void | WriteItem (const LWBlockIdent &id, Storeable *object, bool leaf=false) const |
Wrapper for a LW save state.