RixTokenStorage Class Reference

RixTokenStorage Class Referenceabstract

#include <RixInterfaces.h>

Inheritance diagram for RixTokenStorage:
RixInterface

Public Member Functions

virtual const char * GetToken (const char *input)=0
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Protected Member Functions

 RixTokenStorage ()
 constructor for internal use only
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users.
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users.
 

Additional Inherited Members

- Protected Attributes inherited from RixInterface
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

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 may then be passed as a result of an Rsl Plugin


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