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 325 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 329 of file GA_AttributeDict.h.
|
inline |
Definition at line 92 of file GA_AttributeDict.h.
|
inlinestatic |
Definition at line 311 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 115 of file GA_AttributeDict.h.
|
inline |
Definition at line 119 of file GA_AttributeDict.h.
|
inline |
Unordered (fastest) iteration
Definition at line 331 of file GA_AttributeDict.h.
|
inline |
Definition at line 101 of file GA_AttributeDict.h.
|
inline |
Definition at line 105 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 387 of file GA_AttributeDict.h.
|
inline |
Definition at line 412 of file GA_AttributeDict.h.
|
inline |
Definition at line 440 of file GA_AttributeDict.h.
|
inline |
Definition at line 350 of file GA_AttributeDict.h.
|
inline |
Definition at line 367 of file GA_AttributeDict.h.
|
inline |
Report memory usage.
Definition at line 59 of file GA_AttributeDict.h.
|
inline |
Get access to the containing attribute set.
Definition at line 54 of file GA_AttributeDict.h.
|
inline |
Get access to the containing attribute set.
Definition at line 55 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 77 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 337 of file GA_AttributeDict.h.
|
inline |
Ordered iteration. This traverses attributes in a fixed order
Definition at line 342 of file GA_AttributeDict.h.
|
inline |
Definition at line 308 of file GA_AttributeDict.h.
|
friend |
Definition at line 508 of file GA_AttributeDict.h.
|
friend |
Definition at line 509 of file GA_AttributeDict.h.