Raytrix General File Format Reader.
Public Member Functions | |
CRxGFFReader () | |
Default constructor. More... | |
~CRxGFFReader () | |
Destructor. More... | |
void | Close () |
Closes the file read operation. More... | |
size_t | CountContentNodes (const CRxString &sxXPath) const |
Count nodes. More... | |
unsigned | GetVersion () const |
bool | Open (const CRxString &sxFilename, const CRxString &sxGUID) |
Open a file in read mode. More... | |
void | ReadContent (Interop::Runtime28::IImage *pxImg, const CRxString &sxXPath) |
void | ReadContent (CRxMapping3D &pxMapping, const CRxString &sxXPath) |
Reads a 3D Mapping present at the given file format. More... | |
void | ReadContent (float &fX, float &fY, float &fZ, const CRxString &sxXPath) |
Reads a content containing of three floats. More... | |
void | ReadContent (int &iX, int &iY, int &iZ, const CRxString &sxXPath) |
Reads a content containing of thee integer. More... | |
float | ReadFloatAttribute (const CRxString &sxXPath) |
Protected Attributes | |
xmlDocPtr | m_pXML |
xmlNodePtr | m_pXmlContentNode |
xmlNodePtr | m_pXmlMetaNode |
unsigned | m_uHeaderLength |
CFileStream | m_xFile |
Rx::FileIO::CRxGFFReader::CRxGFFReader | ( | ) |
Default constructor.
Rx::FileIO::CRxGFFReader::~CRxGFFReader | ( | ) |
Destructor.
void Rx::FileIO::CRxGFFReader::Close | ( | ) |
Closes the file read operation.
size_t Rx::FileIO::CRxGFFReader::CountContentNodes | ( | const CRxString & | sxXPath | ) | const |
Count nodes.
sxXPath | XPath. |
unsigned Rx::FileIO::CRxGFFReader::GetVersion | ( | ) | const |
Open a file in read mode.
sxFilename | Filename. |
sxGUID | GUID of the file type. |
void Rx::FileIO::CRxGFFReader::ReadContent | ( | Interop::Runtime28::IImage * | pxImg, |
const CRxString & | sxXPath | ||
) |
void Rx::FileIO::CRxGFFReader::ReadContent | ( | CRxMapping3D & | pxMapping, |
const CRxString & | sxXPath | ||
) |
Reads a 3D Mapping present at the given file format.
pxMapping | [out] The mapping 3d data. |
sxXPath | Full pathname of the mapping 3D. |
void Rx::FileIO::CRxGFFReader::ReadContent | ( | float & | fX, |
float & | fY, | ||
float & | fZ, | ||
const CRxString & | sxXPath | ||
) |
Reads a content containing of three floats.
fX | [out] First double. |
fY | [out] Second double. |
fZ | [out] Third double. |
sxXPath | Full pathname of the three components. |
void Rx::FileIO::CRxGFFReader::ReadContent | ( | int & | iX, |
int & | iY, | ||
int & | iZ, | ||
const CRxString & | sxXPath | ||
) |
Reads a content containing of thee integer.
iX | [out] First int. |
iY | [out] Second int. |
iZ | [out] Third int. |
sxXPath | Full pathname of the three components. |
float Rx::FileIO::CRxGFFReader::ReadFloatAttribute | ( | const CRxString & | sxXPath | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |