RixXmlFile Class Reference

RixXmlFile Class Referenceabstract

#include <RixInterfaces.h>

Public Member Functions

virtual void WriteXml (const char *format,...)=0
 
virtual void WriteText (const char *format,...)=0
 
virtual ~RixXmlFile ()
 Virtual destructor.
 
void WriteStat (char const *name, char const *desc, int value)
 
void WriteStat (char const *name, char const *desc, RtUInt64 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)
 

Detailed Description

An XML file handle, which is passed to a statistics reporter (see RixStats::AddReporter).

Member Function Documentation

virtual void RixXmlFile::WriteText ( const char *  format,
  ... 
)
pure virtual

Write arbitrary text to XML file, encoding special characters like "&lt".

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.


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