Castor3D  ..
Public Member Functions | List of all members
Castor3D::Vertex::TextLoader Class Reference

Vertex loader. More...

+ Inheritance diagram for Castor3D::Vertex::TextLoader:
+ Collaboration diagram for Castor3D::Vertex::TextLoader:

Public Member Functions

C3D_API TextLoader (Castor::File::eENCODING_MODE p_encodingMode=Castor::File::eENCODING_MODE_ASCII)
 Constructor. More...
 
virtual C3D_API bool operator() (Castor3D::Vertex &p_object, Castor::TextFile &p_file)
 Loads a Vertex object from a text file. More...
 
virtual C3D_API bool operator() (Castor3D::Vertex const &p_object, Castor::TextFile &p_file)
 Writes a Vertex object into a text file. More...
 

Detailed Description

Vertex loader.

Author
Sylvain DOREMUS
Version
0.6.1.0
Date
03/01/2011

Constructor & Destructor Documentation

◆ TextLoader()

C3D_API Castor3D::Vertex::TextLoader::TextLoader ( Castor::File::eENCODING_MODE  p_encodingMode = Castor::File::eENCODING_MODE_ASCII)

Constructor.

Member Function Documentation

◆ operator()() [1/2]

virtual C3D_API bool Castor3D::Vertex::TextLoader::operator() ( Castor3D::Vertex p_object,
Castor::TextFile &  p_file 
)
virtual

Loads a Vertex object from a text file.

Parameters
[out]p_objectThe Vertex object to read
[in]p_fileThe file
Returns
true if ok

◆ operator()() [2/2]

virtual C3D_API bool Castor3D::Vertex::TextLoader::operator() ( Castor3D::Vertex const &  p_object,
Castor::TextFile &  p_file 
)
virtual

Writes a Vertex object into a text file.

Parameters
[in]p_objectThe Vertex object to write
[out]p_fileThe file
Returns
true if ok

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