GDT_TokenList Class Reference

#include <GDT_TokenList.h>

Inheritance diagram for GDT_TokenList:

GDT_PointList GDT_PrimitiveList GDT_VertexList

List of all members.

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 =0
virtual void zeroDeltas ()
virtual void clearDeltas ()
virtual void destroy ()
void setAttribDict (const GA_AttributeDict &dict, const GA_AttributeFilter &filter)
void refreshAttribDict (const GA_AttributeDict &dict, const GA_AttributeFilter &filter)
void beginAttributeChange (GA_Offset element)
void beginAttributeChange (const GA_Range &elements)
void endAttributeChange (const GA_AIFEditDeltaMap &map)
virtual unsigned int getElementCount (const GEO_Detail &gdp) const =0
virtual const GA_AttributeDictgetAttributeDict (const GEO_Detail &gdp) const =0
virtual bool hasChange () const
virtual bool legacyLoadAttribs (UT_IStream &is, uint size)
bool saveAttribs (UT_JSONWriter &w, const GDT_JSON &json) const
bool loadAttribs (UT_JSONParser &p, const GDT_JSON &json)
void renameAttribute (const UT_String &oldname, const UT_String &newname)

Protected Member Functions

void applyAttributeDeltas (GEO_Detail &gdp, const GA_AIFEditDeltaMap &map, bool inverse=false) const
void applyScaledAttributeDeltas (GEO_Detail &gdp, fpreal64 scale, const GA_AIFEditDeltaMap &, const UT_Int64Array *subset, bool inverse=false) const
void mergeAttributeDeltas (const GDT_TokenList &other, bool inverse=false)
int getBoundAttributeIndex (const UT_String &name) const
const GA_AttributegetBoundAttribute (int i) const
unsigned int appendAttribute (const UT_String &name, const UT_String &type, const UT_Options &creation_options, const GA_Defaults &defaults)
unsigned int appendAttribute (const GA_Attribute &attrib)
GDT_BaseAttribute * attribs (unsigned int i)
const GDT_BaseAttribute * attribs (unsigned int i) const
int numAttribs () const


Detailed Description

Definition at line 46 of file GDT_TokenList.h.


Constructor & Destructor Documentation

GDT_TokenList::GDT_TokenList (  ) 

GDT_TokenList::GDT_TokenList ( const GDT_TokenList other  ) 

virtual GDT_TokenList::~GDT_TokenList (  )  [pure virtual]


Member Function Documentation

unsigned int GDT_TokenList::appendAttribute ( const GA_Attribute attrib  )  [protected]

unsigned int GDT_TokenList::appendAttribute ( const UT_String name,
const UT_String type,
const UT_Options creation_options,
const GA_Defaults defaults 
) [protected]

void GDT_TokenList::applyAttributeDeltas ( GEO_Detail gdp,
const GA_AIFEditDeltaMap map,
bool  inverse = false 
) const [protected]

virtual void GDT_TokenList::applyDeltas ( GEO_Detail gdp,
bool  inverse = 0 
) const [pure virtual]

void GDT_TokenList::applyScaledAttributeDeltas ( GEO_Detail gdp,
fpreal64  scale,
const GA_AIFEditDeltaMap ,
const UT_Int64Array subset,
bool  inverse = false 
) const [protected]

const GDT_BaseAttribute* GDT_TokenList::attribs ( unsigned int  i  )  const [inline, protected]

Definition at line 155 of file GDT_TokenList.h.

GDT_BaseAttribute* GDT_TokenList::attribs ( unsigned int  i  )  [inline, protected]

Definition at line 154 of file GDT_TokenList.h.

void GDT_TokenList::beginAttributeChange ( const GA_Range elements  ) 

void GDT_TokenList::beginAttributeChange ( GA_Offset  element  ) 

virtual void GDT_TokenList::clearDeltas (  )  [virtual]

Reimplemented in GDT_PointList, and GDT_PrimitiveList.

virtual void GDT_TokenList::destroy (  )  [virtual]

void GDT_TokenList::endAttributeChange ( const GA_AIFEditDeltaMap map  ) 

virtual const GA_AttributeDict& GDT_TokenList::getAttributeDict ( const GEO_Detail gdp  )  const [pure virtual]

const GA_Attribute* GDT_TokenList::getBoundAttribute ( int  i  )  const [protected]

int GDT_TokenList::getBoundAttributeIndex ( const UT_String name  )  const [protected]

virtual unsigned int GDT_TokenList::getElementCount ( const GEO_Detail gdp  )  const [pure virtual]

virtual bool GDT_TokenList::hasChange (  )  const [virtual]

Reimplemented in GDT_PointList, and GDT_PrimitiveList.

virtual bool GDT_TokenList::legacyLoadAttribs ( UT_IStream is,
uint  size 
) [virtual]

Reimplemented in GDT_VertexList.

bool GDT_TokenList::loadAttribs ( UT_JSONParser p,
const GDT_JSON &  json 
)

void GDT_TokenList::mergeAttributeDeltas ( const GDT_TokenList other,
bool  inverse = false 
) [protected]

int GDT_TokenList::numAttribs (  )  const [inline, protected]

Definition at line 157 of file GDT_TokenList.h.

void GDT_TokenList::refreshAttribDict ( const GA_AttributeDict dict,
const GA_AttributeFilter filter 
)

void GDT_TokenList::renameAttribute ( const UT_String oldname,
const UT_String newname 
)

bool GDT_TokenList::saveAttribs ( UT_JSONWriter w,
const GDT_JSON &  json 
) const

void GDT_TokenList::setAttribDict ( const GA_AttributeDict dict,
const GA_AttributeFilter filter 
)

virtual void GDT_TokenList::zeroDeltas (  )  [virtual]

Reimplemented in GDT_PointList, and GDT_PrimitiveList.


The documentation for this class was generated from the following file:

Generated on Thu Jan 31 00:31:00 2013 for HDK by  doxygen 1.5.9