Castor3D  ..
Public Member Functions | List of all members
Castor3D::ChunkParser< T > Class Template Reference

Chunk parser. More...

+ Inheritance diagram for Castor3D::ChunkParser< T >:
+ Collaboration diagram for Castor3D::ChunkParser< T >:

Public Member Functions

bool operator() (T *p_values, uint32_t p_count, BinaryChunk &p_chunk)
 Retrieves a value array from a chunk. More...
 
template<uint32_t Count>
bool operator() (T(&p_values)[Count], BinaryChunk &p_chunk)
 Retrieves a value array from a chunk. More...
 
bool operator() (T &p_value, BinaryChunk &p_chunk)
 Retrieves a value from a chunk. More...
 
- Public Member Functions inherited from Castor3D::ChunkParserBase
bool operator() (uint8_t *p_pValues, uint32_t p_uiSize, BinaryChunk &p_chunk)
 Retrieves a value array from a chunk. More...
 

Detailed Description

template<typename T>
class Castor3D::ChunkParser< T >

Chunk parser.

Author
Sylvain DOREMUS
Version
0.7.0.0
Date
08/04/2014

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
bool Castor3D::ChunkParser< T >::operator() ( T *  p_values,
uint32_t  p_count,
BinaryChunk p_chunk 
)
inline

Retrieves a value array from a chunk.

Parameters
[out]p_valuesReceives the parsed values
[out]p_countThe values count
[in]p_chunkThe chunk containing the values
Returns
false if any error occured

References Castor3D::ChunkParserBase::operator()().

+ Here is the call graph for this function:

◆ operator()() [2/3]

template<typename T >
template<uint32_t Count>
bool Castor3D::ChunkParser< T >::operator() ( T(&)  p_values[Count],
BinaryChunk p_chunk 
)
inline

Retrieves a value array from a chunk.

Parameters
[out]p_valuesReceives the parsed values
[in]p_chunkThe chunk containing the values
Returns
false if any error occured

References Castor3D::ChunkParserBase::operator()().

+ Here is the call graph for this function:

◆ operator()() [3/3]

template<typename T >
bool Castor3D::ChunkParser< T >::operator() ( T &  p_value,
BinaryChunk p_chunk 
)
inline

Retrieves a value from a chunk.

Parameters
[out]p_valueReceives the parsed value
[in]p_chunkThe chunk containing the value
Returns
false if any error occured

References Castor3D::ChunkParserBase::operator()().

+ Here is the call graph for this function:

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