ScummVM API documentation
MTropolis::Data::DataReader Class Reference

Public Member Functions

 DataReader (int64 globalPosition, Common::SeekableReadStream &stream, DataFormat dataFormat, RuntimeVersion runtimeVersion, bool autoDetectVersion)
 
bool readU8 (uint8 &value)
 
bool readU16 (uint16 &value)
 
bool readU32 (uint32 &value)
 
bool readU64 (uint64 &value)
 
bool readS8 (int8 &value)
 
bool readS16 (int16 &value)
 
bool readS32 (int32 &value)
 
bool readS64 (int64 &value)
 
bool readF32 (float &value)
 
bool readF64 (double &value)
 
bool readPlatformFloat (Common::XPFloat &value)
 
template<class... T>
bool readMultiple (T &...values)
 
bool read (void *dest, size_t size)
 
bool readTerminatedStr (Common::String &value, size_t length)
 
bool readNonTerminatedStr (Common::String &value, size_t length)
 
template<size_t TSize>
bool readChars (char(&arr)[TSize])
 
template<size_t TSize>
bool readBytes (uint8(&arr)[TSize])
 
bool seek (int64 pos)
 
bool skip (size_t count)
 
int64 tell () const
 
int64 tellGlobal () const
 
DataFormat getDataFormat () const
 
void setPermitDamagedStrings (bool permit)
 
bool isVersionAutoDetect () const
 
RuntimeVersion getRuntimeVersion () const
 
void setRuntimeVersion (RuntimeVersion runtimeVersion)
 

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