GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions
HMesh::AttributeVector< ITEM, ITEMID > Class Template Reference

List of all members.

Public Member Functions

 AttributeVector (size_t _size=0, ITEM item=ITEM())
 Construct from optional size and item (size should be identical to number of entities in associated container.
const ITEM & get (ITEMID id) const
 Add an item.
ITEM & get (ITEMID id)
 reference to item given by ID
const ITEM & operator[] (ITEMID id) const
 const reference to item given by ID
ITEM & operator[] (ITEMID id)
 reference to item given by ID
void resize (size_t _size, ITEM item=ITEM())
 resize the vector (may be necessary if associated container size grows)
size_t size () const
 number of attribute items in vector
void clear ()
 clear the vector
void cleanup (const std::map< ITEMID, ITEMID > &map)
 clenup unused items from the vector, given by remap from associated container

template<typename ITEM, typename ITEMID>
class HMesh::AttributeVector< ITEM, ITEMID >


Member Function Documentation

template<typename ITEM , typename ITEMID>
const ITEM & HMesh::AttributeVector< ITEM, ITEMID >::get ( ITEMID  id) const [inline]

Add an item.

const reference to item given by ID


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations