PtexMetaData Class Reference

Meta data accessor. More...

#include <Ptexture.h>

List of all members.

Public Member Functions

virtual void release ()=0
 Release resources held by this pointer (pointer becomes invalid).
virtual int numKeys ()=0
 Query number of meta data entries stored in file.
virtual void getKey (int n, const char *&key, Ptex::MetaDataType &type)=0
 Query the name and type of a meta data entry.
virtual void getValue (const char *key, const char *&value)=0
 Query the value of a given meta data entry.
virtual void getValue (const char *key, const int8_t *&value, int &count)=0
 Query the value of a given meta data entry.
virtual void getValue (const char *key, const int16_t *&value, int &count)=0
 Query the value of a given meta data entry.
virtual void getValue (const char *key, const int32_t *&value, int &count)=0
 Query the value of a given meta data entry.
virtual void getValue (const char *key, const float *&value, int &count)=0
 Query the value of a given meta data entry.
virtual void getValue (const char *key, const double *&value, int &count)=0
 Query the value of a given meta data entry.

Protected Member Functions

virtual ~PtexMetaData ()
 Destructor not for public use. Use release() instead.

Detailed Description

Meta data accessor.

Meta data is acquired from PtexTexture and accessed through this interface.


Member Function Documentation

virtual void PtexMetaData::getValue ( const char *  key,
const double *&  value,
int &  count 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null

virtual void PtexMetaData::getValue ( const char *  key,
const float *&  value,
int &  count 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null

virtual void PtexMetaData::getValue ( const char *  key,
const int32_t *&  value,
int &  count 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null

virtual void PtexMetaData::getValue ( const char *  key,
const int16_t *&  value,
int &  count 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null

virtual void PtexMetaData::getValue ( const char *  key,
const int8_t *&  value,
int &  count 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null

virtual void PtexMetaData::getValue ( const char *  key,
const char *&  value 
) [pure virtual]

Query the value of a given meta data entry.

If the key doesn't exist or the type doesn't match, value is set to null


Generated on 14 Dec 2015 for Ptex by  doxygen 1.6.1