Public Types | |
enum | ErrorState { NONE, END_OF_DATA, OUT_OF_SYNC } |
Public Member Functions | |
InputPersistenceBlock (const void *data, uint dataLength, int version) | |
void | read (int16 &value) |
void | read (int32 &value) |
void | read (uint32 &value) |
void | read (float &value) |
void | read (bool &value) |
void | readString (Common::String &value) |
void | readByteArray (Common::Array< byte > &value) |
bool | isGood () const |
ErrorState | getErrorState () const |
int | getVersion () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Sword25::PersistenceBlock | |
static uint | getSInt32Size () |
static uint | getUInt32Size () |
static uint | getFloat32Size () |
static uint | getBoolSize () |
static uint | getStringSize (const Common::String &string) |
Protected Types inherited from Sword25::PersistenceBlock | |
enum | { SINT_MARKER, UINT_MARKER, FLOAT_MARKER, STRING_MARKER, BOOL_MARKER, BLOCK_MARKER } |