Castor3D
..
|
MovingObjectBase binary loader. More...
Public Member Functions | |
C3D_API | BinaryParser (Castor::Path const &p_path) |
Constructor. More... | |
virtual C3D_API bool | Fill (AnimationObject const &p_obj, BinaryChunk &p_chunk) const |
Function used to fill the chunk from specific data. More... | |
virtual C3D_API bool | Parse (AnimationObject &p_obj, BinaryChunk &p_chunk) const |
Function used to retrieve specific data from the chunk. More... | |
Public Member Functions inherited from Castor3D::BinaryParser< AnimationObject > | |
C3D_API | BinaryParser (Castor::Path const &p_path) |
Constructor. More... | |
virtual C3D_API bool | Fill (AnimationObject const &p_obj, Castor::BinaryFile &p_file) const |
To chunk writer function. More... | |
virtual C3D_API bool | Parse (AnimationObject &p_obj, Castor::BinaryFile &p_file) const |
From file reader function. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Castor3D::BinaryParser< AnimationObject > | |
bool | DoParseChunk (T *p_pValues, uint32_t p_count, BinaryChunk &p_chunk) const |
Retrieves a value array from a chunk. More... | |
bool | DoParseChunk (T(&p_value)[Count], BinaryChunk &p_chunk) const |
Retrieves a value array from a chunk. More... | |
bool | DoParseChunk (T &p_value, BinaryChunk &p_chunk) const |
Retrieves a value from a chunk. More... | |
bool | DoFillChunk (T const *p_values, uint32_t p_count, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
Writes a subchunk value into a chunk. More... | |
bool | DoFillChunk (T const (&p_value)[Count], eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
Writes a subchunk value into a chunk. More... | |
bool | DoFillChunk (T const &p_value, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
Writes a subchunk value into a chunk. More... | |
Protected Attributes inherited from Castor3D::BinaryParser< AnimationObject > | |
Castor::Path | m_path |
The current folder path. More... | |
MovingObjectBase binary loader.
Loader binaire de MovingObjectBase.
C3D_API Castor3D::AnimationObject::BinaryParser::BinaryParser | ( | Castor::Path const & | p_path | ) |
Constructor.
[in] | p_path | The current folder path. |
|
virtual |
Function used to fill the chunk from specific data.
[in] | p_obj | The object to write. |
[out] | p_chunk | The chunk to fill. |
false
if any error occured. Implements Castor3D::BinaryParser< AnimationObject >.
|
virtual |
Function used to retrieve specific data from the chunk.
[out] | p_obj | The object to read. |
[in] | p_chunk | The chunk containing data. |
false
if any error occured. Implements Castor3D::BinaryParser< AnimationObject >.