RixTokenStorage Class Reference

RixTokenStorage allows a string to be stored as a token in a manner which is safe with respect to the lifetime of the plugin, and shaders which might use strings passed back from the plugin. More...

#include <RixInterfaces.h>

Inherits RixInterface.

List of all members.

Public Member Functions

virtual const char * GetToken (const char *input)=0
 Get a token for a given string.
virtual int GetVersion () const
 Get the version number of this interface.

Protected Member Functions

 RixTokenStorage ()
 constructor for internal use only

Protected Attributes

int m_version
 Version number of this interface.


Detailed Description

RixTokenStorage allows a string to be stored as a token in a manner which is safe with respect to the lifetime of the plugin, and shaders which might use strings passed back from the plugin.


Constructor & Destructor Documentation

RixTokenStorage::RixTokenStorage  )  [inline, protected]
 

constructor for internal use only


Member Function Documentation

virtual const char* RixTokenStorage::GetToken const char *  input  )  [pure virtual]
 

Get a token for a given string.

The disposal of the input is up to the caller (you must free input, if it was malloced) The user should not attempt to dispose of the resulting token, which will may then be passed as a result of an Rsl Plugin

virtual int RixInterface::GetVersion  )  const [inline, virtual, inherited]
 

Get the version number of this interface.

Different interfaces might have different version numbers in a given release.


Member Data Documentation

int RixInterface::m_version [protected, inherited]
 

Version number of this interface.


The documentation for this class was generated from the following file:
Generated on Mon Nov 15 10:14:34 2010 for PRManHeaders by  doxygen 1.4.6