#include <ChunkProcessors.h>
Inherits EMotionFX::SharedData.
Public Types | |
enum | { TYPE_ID = 0x00000001 } |
Public Member Functions | |
uint32 | GetType () const |
void | Reset () |
virtual uint32 | GetType () const =0 |
virtual void | Reset () |
Public Member Functions inherited from EMotionFX::BaseObject | |
BaseObject () | |
virtual | ~BaseObject () |
Public Member Functions inherited from MCore::MemoryObject | |
MemoryObject () | |
virtual | ~MemoryObject () |
void | IncreaseReferenceCount () |
void | DecreaseReferenceCount () |
void | Destroy () |
uint32 | GetReferenceCount () const |
Static Public Member Functions | |
static SharedHelperData * | Create () |
static const char * | ReadString (MCore::Stream *file, AZStd::vector< SharedData * > *sharedData, MCore::Endian::EEndianType endianType) |
Public Attributes | |
uint32 | m_fileHighVersion |
uint32 | m_fileLowVersion |
uint32 | m_stringStorageSize |
bool | m_isUnicodeFile |
char * | m_stringStorage |
Protected Member Functions | |
SharedHelperData () | |
~SharedHelperData () | |
Protected Member Functions inherited from EMotionFX::BaseObject | |
void | Delete () override |
virtual void | Delete () |
Helper class for reading strings from files and file information storage.
|
protected |
The constructor.
|
protected |
The destructor.
|
inlinevirtual |
|
static |
Read a string chunk from a file.
file | The stream to read the string chunk from. |
sharedData | The array which holds the shared data objects. |
endianType | The endian type to read the string in. |
|
virtual |
Get rid of the information provided by the shared data.
Reimplemented from EMotionFX::SharedData.
uint32 EMotionFX::SharedHelperData::m_fileHighVersion |
The high file version. For example 3 in case of v3.10.
uint32 EMotionFX::SharedHelperData::m_fileLowVersion |
The low file version. For example 10 in case of v3.10.
bool EMotionFX::SharedHelperData::m_isUnicodeFile |
True in case strings in the file are saved using unicode character set, false in case they are saved using multi-byte.
char* EMotionFX::SharedHelperData::m_stringStorage |
The shared string buffer.
uint32 EMotionFX::SharedHelperData::m_stringStorageSize |
The size of the string buffer.