Castor3D  ..
Public Member Functions | List of all members
Castor3D::PointLight::BinaryParser Class Reference

PointLight loader. More...

+ Inheritance diagram for Castor3D::PointLight::BinaryParser:
+ Collaboration diagram for Castor3D::PointLight::BinaryParser:

Public Member Functions

C3D_API BinaryParser (Castor::Path const &p_path)
 Constructor. More...
 
virtual C3D_API bool Fill (PointLight const &p_obj, BinaryChunk &p_chunk) const
 Function used to fill the chunk from specific data. More...
 
virtual C3D_API bool Parse (PointLight &p_obj, BinaryChunk &p_chunk) const
 Function used to retrieve specific data from the chunk. More...
 
- Public Member Functions inherited from Castor3D::LightCategory::BinaryParser
C3D_API BinaryParser (Castor::Path const &p_path)
 Constructor. More...
 
virtual C3D_API bool Fill (LightCategory const &p_obj, BinaryChunk &p_chunk) const
 Function used to fill the chunk from specific data. More...
 
virtual C3D_API bool Parse (LightCategory &p_obj, BinaryChunk &p_chunk) const
 Function used to retrieve specific data from the chunk. More...
 
- Public Member Functions inherited from Castor3D::BinaryParser< LightCategory >
C3D_API BinaryParser (Castor::Path const &p_path)
 Constructor. More...
 
virtual C3D_API bool Fill (LightCategory const &p_obj, Castor::BinaryFile &p_file) const
 To chunk writer function. More...
 
virtual C3D_API bool Parse (LightCategory &p_obj, Castor::BinaryFile &p_file) const
 From file reader function. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Castor3D::BinaryParser< LightCategory >
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< LightCategory >
Castor::Path m_path
 The current folder path. More...
 

Detailed Description

PointLight loader.

Author
Sylvain DOREMUS
Date
14/02/2010

Loader de PointLight

Constructor & Destructor Documentation

◆ BinaryParser()

C3D_API Castor3D::PointLight::BinaryParser::BinaryParser ( Castor::Path const &  p_path)

Constructor.

Parameters
[in]p_pathThe current folder path

Member Function Documentation

◆ Fill()

virtual C3D_API bool Castor3D::PointLight::BinaryParser::Fill ( PointLight const &  p_obj,
BinaryChunk p_chunk 
) const
virtual

Function used to fill the chunk from specific data.

Parameters
[in]p_objThe object to write
[out]p_chunkThe chunk to fill
Returns
false if any error occured

◆ Parse()

virtual C3D_API bool Castor3D::PointLight::BinaryParser::Parse ( PointLight p_obj,
BinaryChunk p_chunk 
) const
virtual

Function used to retrieve specific data from the chunk.

Parameters
[out]p_objThe object to read
[in]p_chunkThe chunk containing data
Returns
false if any error occured

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