Raytrix General File Format Writer.
Public Member Functions | |
CRxGFFWriter () | |
Default constructor. More... | |
~CRxGFFWriter () | |
Destructor. More... | |
void | Close () |
Closes the file write operation. More... | |
xmlNode * | CreateContent (const char *pcName) |
xmlNode * | CreateContent (const char *pcName, const xmlNodePtr pxParentNode) |
xmlAttr * | CreateContentAttribute (const char *pcName, const CRxString &sxValue, const xmlNodePtr pxParentNode) |
void | Open (const CRxString &sxFilename, const CRxString &sxGUID, unsigned uVersion) |
Opens a file in write mode. More... | |
xmlNode * | WriteContent (const Rx::Interop::Runtime28::IImage *pxImg, const xmlNodePtr pxParentNode, const char *pcName, Rx::Codec::IImageCodec *pxCodec=NULL) |
Protected Attributes | |
xmlDoc * | m_pXML |
xmlNode * | m_pXmlContentNode |
xmlNode * | m_pXmlMetaNode |
unsigned | m_uHeaderLength |
CFileStream | m_xFile |
Rx::FileIO::CRxGFFWriter::CRxGFFWriter | ( | ) |
Default constructor.
Rx::FileIO::CRxGFFWriter::~CRxGFFWriter | ( | ) |
Destructor.
void Rx::FileIO::CRxGFFWriter::Close | ( | ) |
Closes the file write operation.
xmlNode* Rx::FileIO::CRxGFFWriter::CreateContent | ( | const char * | pcName | ) |
xmlNode* Rx::FileIO::CRxGFFWriter::CreateContent | ( | const char * | pcName, |
const xmlNodePtr | pxParentNode | ||
) |
xmlAttr* Rx::FileIO::CRxGFFWriter::CreateContentAttribute | ( | const char * | pcName, |
const CRxString & | sxValue, | ||
const xmlNodePtr | pxParentNode | ||
) |
void Rx::FileIO::CRxGFFWriter::Open | ( | const CRxString & | sxFilename, |
const CRxString & | sxGUID, | ||
unsigned | uVersion | ||
) |
Opens a file in write mode.
sxFilename | Filename. |
sxGUID | GUID of the file type. |
uVersion | The version. |
xmlNode* Rx::FileIO::CRxGFFWriter::WriteContent | ( | const Rx::Interop::Runtime28::IImage * | pxImg, |
const xmlNodePtr | pxParentNode, | ||
const char * | pcName, | ||
Rx::Codec::IImageCodec * | pxCodec = NULL |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |