Blender  V2.59
Public Member Functions
HalfArray< T > Class Template Reference

List of all members.

Public Member Functions

 HalfArray ()
 ~HalfArray ()
void resize (unsigned int size)
T & operator() (unsigned int x, unsigned int y)
void erase_column (unsigned int x)
void delete_column (unsigned int x)
void erase_row (unsigned int y)

Detailed Description

template<typename T>
class HalfArray< T >

A Half array is a square 2d array where cell(x, y) is undefined if x < y.

Definition at line 177 of file SG_Tree.cpp.


Constructor & Destructor Documentation

template<typename T>
HalfArray< T >::HalfArray ( ) [inline]

Definition at line 181 of file SG_Tree.cpp.

template<typename T>
HalfArray< T >::~HalfArray ( ) [inline]

Definition at line 182 of file SG_Tree.cpp.


Member Function Documentation

template<typename T>
void HalfArray< T >::delete_column ( unsigned int  x) [inline]

Definition at line 205 of file SG_Tree.cpp.

Referenced by SG_TreeFactory::MakeTreeUp().

template<typename T>
void HalfArray< T >::erase_column ( unsigned int  x) [inline]

Definition at line 199 of file SG_Tree.cpp.

template<typename T>
void HalfArray< T >::erase_row ( unsigned int  y) [inline]

Definition at line 214 of file SG_Tree.cpp.

Referenced by SG_TreeFactory::MakeTreeUp().

template<typename T>
T& HalfArray< T >::operator() ( unsigned int  x,
unsigned int  y 
) [inline]

Definition at line 193 of file SG_Tree.cpp.

References assert.

template<typename T>
void HalfArray< T >::resize ( unsigned int  size) [inline]

Definition at line 184 of file SG_Tree.cpp.

References i, and size().

Referenced by SG_TreeFactory::MakeTreeUp().


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