#include <GB_AttributeTable.h>

Public Member Functions | |
| GB_AttributeTable () | |
| ~GB_AttributeTable () | |
| int | append (const char *n, int s, GB_AttribType type, GB_AttribTypeInfo type_info, const void *defValue) |
| int | appendClone (const GB_Attribute *src) |
| void | destroy (const char *name, int size, GB_AttribType type) |
| void | destroy (const char *name, GB_AttribType type) |
| void | clearAndDestroy (void) |
| void | changeDataSize (int s) |
| int | grow (const char *n, int oldsize, GB_AttribType type, unsigned int addedsize) |
| int | shrink (const char *n, int oldsize, GB_AttribType type, unsigned int removedsize, int remove_offset) |
| void SYS_DEPRECATED * | getAttribData (int n) const |
| template<typename T > | |
| T * | castAttribData (int n) |
| template<typename T > | |
| const T * | castAttribData (int n) const |
| void | sortAs (const GB_AttributeDict &) |
| int | save (ostream &os, int binary) const |
| bool | load (UT_IStream &is) |
| const GB_AttributeData & | getAttrib () const |
| GB_AttributeData & | getAttrib () |
Definition at line 28 of file GB_AttributeTable.h.
| GB_AttributeTable::GB_AttributeTable | ( | ) | [inline] |
Definition at line 31 of file GB_AttributeTable.h.
| GB_AttributeTable::~GB_AttributeTable | ( | ) |
| int GB_AttributeTable::append | ( | const char * | n, | |
| int | s, | |||
| GB_AttribType | type, | |||
| GB_AttribTypeInfo | type_info, | |||
| const void * | defValue | |||
| ) |
| int GB_AttributeTable::appendClone | ( | const GB_Attribute * | src | ) |
| const T* GB_AttributeTable::castAttribData | ( | int | n | ) | const [inline] |
Definition at line 71 of file GB_AttributeTable.h.
| T* GB_AttributeTable::castAttribData | ( | int | n | ) | [inline] |
| void GB_AttributeTable::changeDataSize | ( | int | s | ) | [inline] |
Definition at line 49 of file GB_AttributeTable.h.
| void GB_AttributeTable::clearAndDestroy | ( | void | ) | [inline] |
| void GB_AttributeTable::destroy | ( | const char * | name, | |
| GB_AttribType | type | |||
| ) |
| void GB_AttributeTable::destroy | ( | const char * | name, | |
| int | size, | |||
| GB_AttribType | type | |||
| ) |
| GB_AttributeData& GB_AttributeTable::getAttrib | ( | ) | [inline] |
Definition at line 93 of file GB_AttributeTable.h.
| const GB_AttributeData& GB_AttributeTable::getAttrib | ( | ) | const [inline] |
Definition at line 92 of file GB_AttributeTable.h.
| void SYS_DEPRECATED* GB_AttributeTable::getAttribData | ( | int | n | ) | const [inline] |
Definition at line 64 of file GB_AttributeTable.h.
| int GB_AttributeTable::grow | ( | const char * | n, | |
| int | oldsize, | |||
| GB_AttribType | type, | |||
| unsigned int | addedsize | |||
| ) |
| bool GB_AttributeTable::load | ( | UT_IStream & | is | ) | [inline] |
Definition at line 85 of file GB_AttributeTable.h.
| int GB_AttributeTable::save | ( | ostream & | os, | |
| int | binary | |||
| ) | const [inline] |
Definition at line 81 of file GB_AttributeTable.h.
| int GB_AttributeTable::shrink | ( | const char * | n, | |
| int | oldsize, | |||
| GB_AttribType | type, | |||
| unsigned int | removedsize, | |||
| int | remove_offset | |||
| ) |
| void GB_AttributeTable::sortAs | ( | const GB_AttributeDict & | ) | [inline, virtual] |
Sort the attributes into a specific order. Basically used for making two details mergable. Attributes will be added if they don't already exist. At the conclusion, the attribute list will be identical to the table...
Implements GB_AttributeDict.
Definition at line 77 of file GB_AttributeTable.h.
1.5.9