Ptex
|
Meta data accessor. More...
#include <Ptexture.h>
Public Member Functions | |
virtual void | release ()=0 |
Release resources held by this pointer (pointer becomes invalid). More... | |
virtual int | numKeys ()=0 |
Query number of meta data entries stored in file. More... | |
virtual void | getKey (int index, const char *&key, Ptex::MetaDataType &type)=0 |
Query the name and type of a meta data entry. More... | |
virtual bool | findKey (const char *key, int &index, Ptex::MetaDataType &type)=0 |
Query the index and type of a meta data entry by name. More... | |
virtual void | getValue (const char *key, const char *&value)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const char *&value)=0 |
Query the value of a given meta data entry by index. More... | |
virtual void | getValue (const char *key, const int8_t *&value, int &count)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const int8_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. More... | |
virtual void | getValue (const char *key, const int16_t *&value, int &count)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const int16_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. More... | |
virtual void | getValue (const char *key, const int32_t *&value, int &count)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const int32_t *&value, int &count)=0 |
Query the value of a given meta data entry by index. More... | |
virtual void | getValue (const char *key, const float *&value, int &count)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const float *&value, int &count)=0 |
Query the value of a given meta data entry by index. More... | |
virtual void | getValue (const char *key, const double *&value, int &count)=0 |
Query the value of a given meta data entry. More... | |
virtual void | getValue (int index, const double *&value, int &count)=0 |
Query the value of a given meta data entry by index. More... | |
Protected Member Functions | |
virtual | ~PtexMetaData () |
Destructor not for public use. Use release() instead. More... | |
Meta data accessor.
Meta data is acquired from PtexTexture and accessed through this interface.
Definition at line 341 of file Ptexture.h.
|
inlineprotectedvirtual |
Destructor not for public use. Use release() instead.
Definition at line 344 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.