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 346 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 351 of file GA_AttributeDict.h.
|
inline |
Definition at line 94 of file GA_AttributeDict.h.
|
inlinestatic |
Definition at line 332 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 119 of file GA_AttributeDict.h.
|
inline |
Definition at line 124 of file GA_AttributeDict.h.
|
inline |
Unordered (fastest) iteration
Definition at line 354 of file GA_AttributeDict.h.
|
inline |
Definition at line 103 of file GA_AttributeDict.h.
|
inline |
Definition at line 108 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 412 of file GA_AttributeDict.h.
|
inline |
Definition at line 437 of file GA_AttributeDict.h.
|
inline |
Definition at line 465 of file GA_AttributeDict.h.
|
inline |
Definition at line 375 of file GA_AttributeDict.h.
|
inline |
Definition at line 392 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 79 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 361 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 367 of file GA_AttributeDict.h.
|
inline |
Definition at line 329 of file GA_AttributeDict.h.
|
friend |
Definition at line 537 of file GA_AttributeDict.h.
|
friend |
Definition at line 538 of file GA_AttributeDict.h.