#include <GDT_TokenList.h>

Public Member Functions | |
| GDT_TokenList () | |
| GDT_TokenList (const GDT_TokenList &other) | |
| virtual | ~GDT_TokenList ()=0 |
| virtual void | applyDeltas (GEO_Detail &gdp, bool inverse=0) const |
| virtual void | zeroDeltas () |
| virtual void | clearDeltas () |
| virtual void | destroy () |
| void | setAttribDict (const GB_AttributeDict &dict) |
| void | refreshAttribDict (const GB_AttributeDict &dict) |
| void | beginAttributeChange (const GB_AttributeData &data) |
| void | endAttributeChange (const GB_AttributeData &data, unsigned int index) |
| void | resizeSavedListData (int numelem) |
| void | beginListAttributeChange (const GB_AttributeData &data, unsigned int index) |
| void | endListAttributeChange (const GB_AttributeData &data, unsigned int index) |
| virtual unsigned int | getElementCount (const GEO_Detail &gdp) const =0 |
| virtual void | initIterate () const =0 |
| virtual GB_AttributeElem * | getNextAttributeElement (GEO_Detail &gdp) const =0 |
| virtual GB_AttributeElem * | getAttributeElement (GEO_Detail &gdp, unsigned int index) const =0 |
| virtual GB_AttributeDict & | getAttributeDict (GEO_Detail &gdp) const =0 |
| virtual GB_AttributeRef | appendGdpAttribute (GEO_Detail &gdp, const char *name, int size, GB_AttribType type, const void *defvalue) const =0 |
| virtual GB_AttributeRef | growGdpAttribute (GEO_Detail &gdp, const char *name, int oldsize, GB_AttribType type, unsigned int addedsize) const =0 |
| virtual bool | hasChange () const |
| virtual unsigned int | entries () const |
| virtual int | saveAttribs (ostream &os, int binary=0) const |
| virtual bool | loadAttribs (UT_JSONParser &p, const GDT_JSON &json) |
| virtual bool | legacyLoadAttribs (UT_IStream &is, uint size) |
| void | renameAttribute (const UT_String &oldname, const UT_String &newname) |
Protected Member Functions | |
| void | mergeAttributeDeltas (const GDT_TokenList &other, bool inverse=false) |
| virtual void | getAttributeElements (const GEO_Detail &beforegdp, const GEO_Detail &aftergdp, unsigned int before_elem_index, unsigned int after_elem_index, const GB_AttributeElem *&beforeelem, const GB_AttributeElem *&afterelem) const =0 |
| int | getAttributeIndex (const UT_String &name, GB_AttribType type) |
| int | getAttributeIndex (const UT_String &name, int size, GB_AttribType type) |
| unsigned int | appendAttribute (const UT_String &name, int attrib_size, GB_AttribType type, const void *defaults, unsigned int array_size) |
| unsigned int | appendAttribute (const GB_Attribute &attrib, unsigned int array_size) |
| GDT_BaseAttribute * | attribs (unsigned int i) |
| const GDT_BaseAttribute * | attribs (unsigned int i) const |
| int | numAttribs () const |
| GB_AttributeRef | getAttributeOffset (unsigned int i) |
Definition at line 38 of file GDT_TokenList.h.
| GDT_TokenList::GDT_TokenList | ( | ) |
| GDT_TokenList::GDT_TokenList | ( | const GDT_TokenList & | other | ) |
| virtual GDT_TokenList::~GDT_TokenList | ( | ) | [pure virtual] |
| unsigned int GDT_TokenList::appendAttribute | ( | const GB_Attribute & | attrib, | |
| unsigned int | array_size | |||
| ) | [protected] |
| unsigned int GDT_TokenList::appendAttribute | ( | const UT_String & | name, | |
| int | attrib_size, | |||
| GB_AttribType | type, | |||
| const void * | defaults, | |||
| unsigned int | array_size | |||
| ) | [protected] |
| virtual GB_AttributeRef GDT_TokenList::appendGdpAttribute | ( | GEO_Detail & | gdp, | |
| const char * | name, | |||
| int | size, | |||
| GB_AttribType | type, | |||
| const void * | defvalue | |||
| ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual void GDT_TokenList::applyDeltas | ( | GEO_Detail & | gdp, | |
| bool | inverse = 0 | |||
| ) | const [virtual] |
Reimplemented in GDT_PointList, and GDT_PrimitiveList.
| const GDT_BaseAttribute* GDT_TokenList::attribs | ( | unsigned int | i | ) | const [inline, protected] |
Definition at line 182 of file GDT_TokenList.h.
| GDT_BaseAttribute* GDT_TokenList::attribs | ( | unsigned int | i | ) | [inline, protected] |
Definition at line 181 of file GDT_TokenList.h.
| void GDT_TokenList::beginAttributeChange | ( | const GB_AttributeData & | data | ) |
| void GDT_TokenList::beginListAttributeChange | ( | const GB_AttributeData & | data, | |
| unsigned int | index | |||
| ) |
| virtual void GDT_TokenList::clearDeltas | ( | ) | [virtual] |
Reimplemented in GDT_PointList, and GDT_PrimitiveList.
| virtual void GDT_TokenList::destroy | ( | ) | [virtual] |
Reimplemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| void GDT_TokenList::endAttributeChange | ( | const GB_AttributeData & | data, | |
| unsigned int | index | |||
| ) |
| void GDT_TokenList::endListAttributeChange | ( | const GB_AttributeData & | data, | |
| unsigned int | index | |||
| ) |
| virtual unsigned int GDT_TokenList::entries | ( | ) | const [virtual] |
Reimplemented in GDT_PointList, and GDT_PrimitiveList.
| virtual GB_AttributeDict& GDT_TokenList::getAttributeDict | ( | GEO_Detail & | gdp | ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual GB_AttributeElem* GDT_TokenList::getAttributeElement | ( | GEO_Detail & | gdp, | |
| unsigned int | index | |||
| ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual void GDT_TokenList::getAttributeElements | ( | const GEO_Detail & | beforegdp, | |
| const GEO_Detail & | aftergdp, | |||
| unsigned int | before_elem_index, | |||
| unsigned int | after_elem_index, | |||
| const GB_AttributeElem *& | beforeelem, | |||
| const GB_AttributeElem *& | afterelem | |||
| ) | const [protected, pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| int GDT_TokenList::getAttributeIndex | ( | const UT_String & | name, | |
| int | size, | |||
| GB_AttribType | type | |||
| ) | [protected] |
| int GDT_TokenList::getAttributeIndex | ( | const UT_String & | name, | |
| GB_AttribType | type | |||
| ) | [protected] |
| GB_AttributeRef GDT_TokenList::getAttributeOffset | ( | unsigned int | i | ) | [inline, protected] |
Definition at line 185 of file GDT_TokenList.h.
| virtual unsigned int GDT_TokenList::getElementCount | ( | const GEO_Detail & | gdp | ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual GB_AttributeElem* GDT_TokenList::getNextAttributeElement | ( | GEO_Detail & | gdp | ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual GB_AttributeRef GDT_TokenList::growGdpAttribute | ( | GEO_Detail & | gdp, | |
| const char * | name, | |||
| int | oldsize, | |||
| GB_AttribType | type, | |||
| unsigned int | addedsize | |||
| ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual bool GDT_TokenList::hasChange | ( | ) | const [virtual] |
Reimplemented in GDT_PointList, and GDT_PrimitiveList.
| virtual void GDT_TokenList::initIterate | ( | ) | const [pure virtual] |
Implemented in GDT_PointList, GDT_PrimitiveList, and GDT_VertexList.
| virtual bool GDT_TokenList::legacyLoadAttribs | ( | UT_IStream & | is, | |
| uint | size | |||
| ) | [virtual] |
Reimplemented in GDT_VertexList.
| virtual bool GDT_TokenList::loadAttribs | ( | UT_JSONParser & | p, | |
| const GDT_JSON & | json | |||
| ) | [virtual] |
| void GDT_TokenList::mergeAttributeDeltas | ( | const GDT_TokenList & | other, | |
| bool | inverse = false | |||
| ) | [protected] |
| int GDT_TokenList::numAttribs | ( | ) | const [inline, protected] |
Definition at line 184 of file GDT_TokenList.h.
| void GDT_TokenList::refreshAttribDict | ( | const GB_AttributeDict & | dict | ) |
| void GDT_TokenList::resizeSavedListData | ( | int | numelem | ) |
| virtual int GDT_TokenList::saveAttribs | ( | ostream & | os, | |
| int | binary = 0 | |||
| ) | const [virtual] |
Reimplemented in GDT_VertexList.
| void GDT_TokenList::setAttribDict | ( | const GB_AttributeDict & | dict | ) |
| virtual void GDT_TokenList::zeroDeltas | ( | ) | [virtual] |
Reimplemented in GDT_PointList, and GDT_PrimitiveList.
1.5.9