RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RixXmlFile Class Referenceabstract

Deprecated. More...

#include <RixInterfaces.h>

Public Member Functions

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 "&lt". 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)
 

Detailed Description

Deprecated.

Deprecated:
This interface will be deprecated when a new interface comes in a future release

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

Constructor & Destructor Documentation

virtual RixXmlFile::~RixXmlFile ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

void RixXmlFile::WriteStat ( char const *  name,
char const *  desc,
int  value 
)
inline

References WriteXml().

void RixXmlFile::WriteStat ( char const *  name,
char const *  desc,
uint64_t  value 
)
inline

References WriteXml().

void RixXmlFile::WriteStat ( char const *  name,
char const *  desc,
float  value 
)
inline

References WriteXml().

void RixXmlFile::WriteStat ( char const *  name,
char const *  desc,
char const *  value 
)
inline

References WriteXml().

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

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

void RixXmlFile::WriteTime ( char const *  name,
char const *  desc,
float  time 
)
inline

References 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: