HDK
|
#include <GT_VtStringArray.h>
Public Types | |
typedef GusdGT_VtStringArray< T > | This |
typedef T | ValueType |
typedef VtArray< T > | ArrayType |
Additional Inherited Members | |
![]() | |
static bool | isBigInteger (GT_Size size) |
Quick & dirty test to see if a size is bigger than a 32 bit int. More... | |
static void * | operator new (size_t size) |
static void * | operator new (size_t size, void *p) |
static void | operator delete (void *p, size_t size) |
GT_DataArray implementation wrapping VtArray for string-like types. I.e., std::string, TfToken, et. al.
Definition at line 46 of file GT_VtStringArray.h.
typedef VtArray<T> GusdGT_VtStringArray< T >::ArrayType |
Definition at line 51 of file GT_VtStringArray.h.
typedef GusdGT_VtStringArray<T> GusdGT_VtStringArray< T >::This |
Definition at line 49 of file GT_VtStringArray.h.
typedef T GusdGT_VtStringArray< T >::ValueType |
Definition at line 50 of file GT_VtStringArray.h.
GusdGT_VtStringArray< T >::GusdGT_VtStringArray | ( | ) |
Definition at line 144 of file GT_VtStringArray.h.
GusdGT_VtStringArray< T >::GusdGT_VtStringArray | ( | const ArrayType & | array | ) |
Definition at line 136 of file GT_VtStringArray.h.
|
inlineoverride |
Definition at line 57 of file GT_VtStringArray.h.
|
protected |
Return a GT_String from one of our elems. This must be specialized per element type.
|
protected |
Definition at line 181 of file GT_VtStringArray.h.
|
protected |
Definition at line 187 of file GT_VtStringArray.h.
|
protected |
Definition at line 193 of file GT_VtStringArray.h.
|
protected |
Definition at line 199 of file GT_VtStringArray.h.
|
inlineprotected |
Definition at line 117 of file GT_VtStringArray.h.
|
protected |
Update our _data member to point at the array data. This must be called after any operation that changes the contents of _array.
Definition at line 151 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Implements GT_DataArray.
Definition at line 59 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Number of entries in the array.
Implements GT_DataArray.
Definition at line 101 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
When an array of dictionaries is based on an indexed list of dictionaries, this method can be used to query each element's index. If the dictionaries are not indexed, the method should return -1.
Implements GT_DataArray.
Definition at line 93 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Indexed dictionaries are not currently supported in Vt.
Implements GT_DataArray.
Definition at line 91 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
When an array of dictionaries is based on an indexed list of dictionaries, this method can be used to extract all the dictionaries and their corresponding indicies. It's possible that the indices may not be contiguous or may even be out of order.
Implements GT_DataArray.
Definition at line 95 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
When an array of strings is based on an indexed list of strings, this method can be used to extract all the strings and their corresponding indicies. It's possible that the indices may not be contiguous or may even be out of order.
Implements GT_DataArray.
Definition at line 87 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Get an approximation of the memory usage. Since data is shared, this may be an over-estimation of the memory used.
Implements GT_DataArray.
Definition at line 104 of file GT_VtStringArray.h.
|
virtual |
Get an approximation of the memory usage. Since data is shared, this may be an over-estimation of the memory used.
Implements GT_DataArray.
Definition at line 206 of file GT_VtStringArray.h.
|
virtual |
Get an approximation of the memory usage. Since data is shared, this may be an over-estimation of the memory used.
Implements GT_DataArray.
Definition at line 217 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Get data out of the data array
Implements GT_DataArray.
Definition at line 79 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Type of data stored in the array.
Implements GT_DataArray.
Definition at line 98 of file GT_VtStringArray.h.
|
inline |
Definition at line 71 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
When an array of strings is based on an indexed list of strings, this method can be used to query each element's index. If the strings are not indexed, the method should return -1.
Implements GT_DataArray.
Definition at line 85 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Indexed strings are not currently supported in Vt.
Implements GT_DataArray.
Definition at line 83 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Number of elements for each array element.
Implements GT_DataArray.
Definition at line 100 of file GT_VtStringArray.h.
|
inlineoverridevirtual |
Return "type" information for the data. This defaults to GT_TYPE_NONE.
Reimplemented from GT_DataArray.
Definition at line 102 of file GT_VtStringArray.h.
|
overridevirtual |
Create a "hardened" version of the array.
Reimplemented from GT_DataArray.
Definition at line 171 of file GT_VtStringArray.h.
|
inline |
Definition at line 62 of file GT_VtStringArray.h.
|
inline |
Definition at line 68 of file GT_VtStringArray.h.
void GusdGT_VtStringArray< T >::swap | ( | ArrayType & | o | ) |
Swap our array contents with another array.
Definition at line 161 of file GT_VtStringArray.h.