NOTE: This interface will be deprecated when a new interface comes in the next release An XML file handle, which is passed to a statistics reporter (see RixStats::AddReporter).
More...
#include <RixInterfaces.h>
|
virtual void | WriteXml (const char *format,...)=0 |
| Write arbitrary XML. More...
|
|
virtual void | WriteText (const char *format,...)=0 |
| Write arbitrary text to XML file, encoding special characters like "<". More...
|
|
virtual | ~RixXmlFile () |
| Virtual destructor. More...
|
|
void | WriteStat (char const *name, char const *desc, int value) |
|
void | WriteStat (char const *name, char const *desc, uint64_t value) |
|
void | WriteStat (char const *name, char const *desc, float value) |
|
void | WriteStat (char const *name, char const *desc, char const *value) |
|
void | WriteTime (char const *name, char const *desc, float time) |
|
NOTE: This interface will be deprecated when a new interface comes in the next release An XML file handle, which is passed to a statistics reporter (see RixStats::AddReporter).
◆ ~RixXmlFile()
virtual RixXmlFile::~RixXmlFile |
( |
| ) |
|
|
inlinevirtual |
◆ WriteStat() [1/4]
void RixXmlFile::WriteStat |
( |
char const * |
name, |
|
|
char const * |
desc, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ WriteStat() [2/4]
void RixXmlFile::WriteStat |
( |
char const * |
name, |
|
|
char const * |
desc, |
|
|
uint64_t |
value |
|
) |
| |
|
inline |
◆ WriteStat() [3/4]
void RixXmlFile::WriteStat |
( |
char const * |
name, |
|
|
char const * |
desc, |
|
|
float |
value |
|
) |
| |
|
inline |
◆ WriteStat() [4/4]
void RixXmlFile::WriteStat |
( |
char const * |
name, |
|
|
char const * |
desc, |
|
|
char const * |
value |
|
) |
| |
|
inline |
◆ WriteText()
virtual void RixXmlFile::WriteText |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
|
pure virtual |
Write arbitrary text to XML file, encoding special characters like "<".
◆ WriteTime()
void RixXmlFile::WriteTime |
( |
char const * |
name, |
|
|
char const * |
desc, |
|
|
float |
time |
|
) |
| |
|
inline |
◆ WriteXml()
virtual void RixXmlFile::WriteXml |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
|
pure virtual |
Write arbitrary XML.
No encoding is performed, so be careful to avoid the use of special characters (e.g. the less-than symbol). Users are encouraged to generate XML that matches the RenderMan statistics XML schema (e.g. to enable use of the default XML stylesheet). See Application Note #43 (Using XML Frame Statistics) for details.
Referenced by WriteStat(), and WriteTime().
The documentation for this class was generated from the following file: