HDK
|
A string map of attributes to ease backward compatibility In the GB/GEO/GU library code would often pass around a GB_AttributeDict around. The GA library really only requires a string map of attributes since the attributes are managed by the GA_AttributeSet. More...
#include <GA_AttributeDict.h>
Classes | |
class | iterator |
class | Range |
Public Types | |
typedef UT_ArrayStringMap < GA_AttributeProxy * > | MapType |
typedef MapType::const_iterator | const_map_iterator |
typedef MapType::iterator | map_iterator |
typedef UT_OrderedIterator < GA_Attribute *, iterator > | ordered_iterator |
Iterator which traverses attributes in given order. More... | |
Static Public Member Functions | |
static int | compareAlpha (GA_Attribute *const *a, GA_Attribute *const *b) |
Friends | |
class | GA_AttributeSet |
class | GA_GroupTable |
A string map of attributes to ease backward compatibility In the GB/GEO/GU library code would often pass around a GB_AttributeDict around. The GA library really only requires a string map of attributes since the attributes are managed by the GA_AttributeSet.
Definition at line 42 of file GA_AttributeDict.h.
Definition at line 46 of file GA_AttributeDict.h.
Definition at line 47 of file GA_AttributeDict.h.
Definition at line 45 of file GA_AttributeDict.h.
Iterator which traverses attributes in given order.
Definition at line 355 of file GA_AttributeDict.h.
|
inline |
Definition at line 49 of file GA_AttributeDict.h.
|
inline |
Definition at line 50 of file GA_AttributeDict.h.
|
inline |
Unordered (fastest) iteration
Definition at line 360 of file GA_AttributeDict.h.
|
inline |
Definition at line 103 of file GA_AttributeDict.h.
|
inlinestatic |
Definition at line 341 of file GA_AttributeDict.h.
void GA_AttributeDict::countMemory | ( | UT_MemoryCounter & | counter, |
bool | inclusive | ||
) | const |
Count memory usage using a UT_MemoryCounter in order to count shared memory correctly. If inclusive is true, the size of this object is counted, else only memory owned by this object is counted. If this is pointed to by the calling object, inclusive should be true. If this is contained in the calling object, inclusive should be false. (Its memory was already counted in the size of the calling object.)
|
inline |
Definition at line 128 of file GA_AttributeDict.h.
|
inline |
Definition at line 133 of file GA_AttributeDict.h.
|
inline |
Unordered (fastest) iteration
Definition at line 363 of file GA_AttributeDict.h.
|
inline |
Definition at line 112 of file GA_AttributeDict.h.
|
inline |
Definition at line 117 of file GA_AttributeDict.h.
GA_Attribute* GA_AttributeDict::find | ( | GA_AttributeScope | scope, |
const UT_StringRef & | name | ||
) | const |
GA_AttributeProxy* GA_AttributeDict::findProxy | ( | GA_AttributeScope | scope, |
const UT_StringRef & | name | ||
) | const |
|
inline |
Definition at line 421 of file GA_AttributeDict.h.
|
inline |
Definition at line 446 of file GA_AttributeDict.h.
|
inline |
Definition at line 474 of file GA_AttributeDict.h.
|
inline |
Definition at line 384 of file GA_AttributeDict.h.
|
inline |
Definition at line 401 of file GA_AttributeDict.h.
|
inline |
Definition at line 72 of file GA_AttributeDict.h.
|
inline |
Report memory usage.
Definition at line 61 of file GA_AttributeDict.h.
|
inline |
Get access to the containing attribute set.
Definition at line 55 of file GA_AttributeDict.h.
|
inline |
Get access to the containing attribute set.
Definition at line 57 of file GA_AttributeDict.h.
|
inline |
Report a cache-count. This is bumped when attributes are created/destroyed (and hence renamed) Only unique to the GA_Detail that owns it, so combine with the GA_Detail::getUniqueId() (Name comes from OP_Node::getVersionParms which has a similar meaning)
Definition at line 88 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 370 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 376 of file GA_AttributeDict.h.
|
inline |
Definition at line 338 of file GA_AttributeDict.h.
|
friend |
Definition at line 546 of file GA_AttributeDict.h.
|
friend |
Definition at line 547 of file GA_AttributeDict.h.