GEO_PrimAttribDict Class Reference

Attribute dictionary for primitives. More...

#include <GEO_AttribDict.h>

Inheritance diagram for GEO_PrimAttribDict:

GB_AttributeDict UT_LinkList

List of all members.

Public Member Functions

 GEO_PrimAttribDict (GEO_PrimList &primList)
virtual ~GEO_PrimAttribDict ()
virtual void sortAs (const GB_AttributeDict &table)
int append (const char *n, int s, GB_AttribType type, const void *defValue)
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)
 same as destroy but use relaxed search ignoring size comparison
int grow (const char *n, int oldsize, GB_AttribType type, unsigned int addedsize)
void fillPrimitive (GEO_Primitive &pr) const
 fill pr's attr list
void destroyIndex (const char *name, const char *label)
void cleanIndex (const char *name)
 cleaning will remove all unused indices
void collapseIndex ()
 Collapses all index attribs.
void resetIndex ()
 Clears all index attribs.

Friends

template<typename T >
void geoCopyAttribDict (T *me, const GB_AttributeDict &src)


Detailed Description

Attribute dictionary for primitives.

Definition at line 136 of file GEO_AttribDict.h.


Constructor & Destructor Documentation

GEO_PrimAttribDict::GEO_PrimAttribDict ( GEO_PrimList primList  ) 

virtual GEO_PrimAttribDict::~GEO_PrimAttribDict (  )  [virtual]


Member Function Documentation

int GEO_PrimAttribDict::append ( const char *  n,
int  s,
GB_AttribType  type,
GB_AttribTypeInfo  type_info,
const void *  defValue 
)

int GEO_PrimAttribDict::append ( const char *  n,
int  s,
GB_AttribType  type,
const void *  defValue 
)

int GEO_PrimAttribDict::appendClone ( const GB_Attribute src  ) 

void GEO_PrimAttribDict::cleanIndex ( const char *  name  ) 

cleaning will remove all unused indices

void GEO_PrimAttribDict::collapseIndex (  ) 

Collapses all index attribs.

void GEO_PrimAttribDict::destroy ( const char *  name,
GB_AttribType  type 
)

same as destroy but use relaxed search ignoring size comparison

void GEO_PrimAttribDict::destroy ( const char *  name,
int  size,
GB_AttribType  type 
)

void GEO_PrimAttribDict::destroyIndex ( const char *  name,
const char *  label 
)

void GEO_PrimAttribDict::fillPrimitive ( GEO_Primitive pr  )  const

fill pr's attr list

int GEO_PrimAttribDict::grow ( const char *  n,
int  oldsize,
GB_AttribType  type,
unsigned int  addedsize 
)

void GEO_PrimAttribDict::resetIndex (  ) 

Clears all index attribs.

virtual void GEO_PrimAttribDict::sortAs ( const GB_AttributeDict  )  [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.


Friends And Related Function Documentation

template<typename T >
void geoCopyAttribDict ( T *  me,
const GB_AttributeDict src 
) [friend]


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

Generated on Thu May 24 00:09:38 2012 for HDK by  doxygen 1.5.9