Raytrix Light Field SDK  v3.0
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx::FileIO::CRxGFFWriter Class Reference

Detailed Description

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
 

Constructor & Destructor Documentation

Rx::FileIO::CRxGFFWriter::CRxGFFWriter ( )

Default constructor.

Rx::FileIO::CRxGFFWriter::~CRxGFFWriter ( )

Destructor.

Member Function Documentation

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.

Parameters
sxFilenameFilename.
sxGUIDGUID of the file type.
uVersionThe version.
xmlNode* Rx::FileIO::CRxGFFWriter::WriteContent ( const Rx::Interop::Runtime28::IImage pxImg,
const xmlNodePtr  pxParentNode,
const char *  pcName,
Rx::Codec::IImageCodec *  pxCodec = NULL 
)

Member Data Documentation

xmlDoc* Rx::FileIO::CRxGFFWriter::m_pXML
protected
xmlNode* Rx::FileIO::CRxGFFWriter::m_pXmlContentNode
protected
xmlNode* Rx::FileIO::CRxGFFWriter::m_pXmlMetaNode
protected
unsigned Rx::FileIO::CRxGFFWriter::m_uHeaderLength
protected
CFileStream Rx::FileIO::CRxGFFWriter::m_xFile
protected