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

Chunk filler. More...

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

Public Member Functions

bool operator() (T const *p_values, uint32_t p_count, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk)
 Writes a subchunk value into a chunk. More...
 
template<uint32_t Count>
bool operator() (T const(&p_values)[Count], eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk)
 Writes a subchunk value into a chunk. More...
 
bool operator() (T const &p_value, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk)
 Writes a subchunk value into a chunk. More...
 
- Public Member Functions inherited from Castor3D::ChunkFillerBase
bool operator() (uint8_t const *p_values, uint32_t p_size, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk)
 Writes a subchunk value into a chunk. More...
 

Detailed Description

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

Chunk filler.

Author
Sylvain DOREMUS
Version
0.7.0.0
Date
08/04/2014

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
bool Castor3D::ChunkFiller< T >::operator() ( T const *  p_values,
uint32_t  p_count,
eCHUNK_TYPE  p_chunkType,
BinaryChunk p_chunk 
)
inline

Writes a subchunk value into a chunk.

Parameters
[in]p_valuesThe values
[in]p_countThe values count
[in]p_chunkTypeThe subchunk type
[in]p_chunkThe chunk
Returns
false if any error occured

References Castor3D::ChunkFillerBase::operator()().

+ Here is the call graph for this function:

◆ operator()() [2/3]

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

Writes a subchunk value into a chunk.

Parameters
[in]p_valuesThe values
[in]p_chunkTypeThe subchunk type
[in]p_chunkThe chunk
Returns
false if any error occured

References Castor3D::ChunkFillerBase::operator()().

+ Here is the call graph for this function:

◆ operator()() [3/3]

template<typename T >
bool Castor3D::ChunkFiller< T >::operator() ( T const &  p_value,
eCHUNK_TYPE  p_chunkType,
BinaryChunk p_chunk 
)
inline

Writes a subchunk value into a chunk.

Parameters
[in]p_valueThe value
[in]p_chunkTypeThe subchunk type
[in]p_chunkThe chunk
Returns
false if any error occured

References Castor3D::ChunkFillerBase::operator()().

+ Here is the call graph for this function:

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