31 #ifndef SWORD25_INPUTPERSISTENCEBLOCK_H 32 #define SWORD25_INPUTPERSISTENCEBLOCK_H 34 #include "common/array.h" 35 #include "sword25/kernel/common.h" 36 #include "sword25/kernel/persistenceblock.h" 51 void read(int16 &value);
52 void read(int32 &value);
53 void read(uint32 &value);
54 void read(
float &value);
55 void read(
bool &value);
60 return _errorState == NONE;
62 ErrorState getErrorState()
const {
66 int getVersion()
const {
return _version; }
69 bool checkMarker(byte marker);
70 bool checkBlockSize(
int size);
74 ErrorState _errorState;
const T * const_iterator
Definition: array.h:55
Definition: persistenceblock.h:38