Ptex
|
Meta data accessor. More...
#include <Ptexture.h>
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 index, const char *&key, Ptex::MetaDataType &type)=0 |
Query the name and type of a meta data entry. | |
virtual bool | findKey (const char *key, int &index, Ptex::MetaDataType &type)=0 |
Query the index and type of a meta data entry by name. | |
virtual void | getValue (const char *key, const char *&value)=0 |
Query the value of a given meta data entry. | |
virtual void | getValue (int index, const char *&value)=0 |
Query the value of a given meta data entry by index. | |
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 (int index, const int8_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. | |
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 (int index, const int16_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. | |
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 (int index, const int32_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. | |
virtual void | getValue (const char *key, const float *&value, int &count)=0 |
Query the value of a given meta data entry. | |
virtual void | getValue (int index, const float *&value, int &count)=0 |
Query the value of a given meta data entry by index. | |
virtual void | getValue (const char *key, const double *&value, int &count)=0 |
Query the value of a given meta data entry. | |
virtual void | getValue (int index, const double *&value, int &count)=0 |
Query the value of a given meta data entry by index. | |
Protected Member Functions | |
virtual | ~PtexMetaData () |
Destructor not for public use. Use release() instead. | |
Meta data accessor.
Meta data is acquired from PtexTexture and accessed through this interface.
Definition at line 328 of file Ptexture.h.
|
inlineprotectedvirtual |
Destructor not for public use. Use release() instead.
Definition at line 331 of file Ptexture.h.
|
pure virtual |
Query the index and type of a meta data entry by name.
|
pure virtual |
Query the name and type of a meta data entry.
Referenced by PtexWriterBase::writeMeta().
|
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
Implemented in PtexReader::MetaData.
Referenced by PtexWriterBase::writeMeta().
|
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
Implemented in PtexReader::MetaData.
|
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
Implemented in PtexReader::MetaData.
|
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
Implemented in PtexReader::MetaData.
|
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
Implemented in PtexReader::MetaData.
|
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
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query the value of a given meta data entry by index.
If the index is out of range or the type doesn't match, value is set to null
Implemented in PtexReader::MetaData.
|
pure virtual |
Query number of meta data entries stored in file.
Implemented in PtexReader::MetaData.
Referenced by PtexWriterBase::writeMeta().
|
pure virtual |
Release resources held by this pointer (pointer becomes invalid).
Implemented in PtexReader::MetaData.