Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions

SgPointArray< T > Class Template Reference

An array of SG_MAXPOINT values of type T, indexed by SgPoint. More...

#include <SgPointArray.h>

Inheritance diagram for SgPointArray< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SgPointArray ()
 Constructor; values are initialized by default value.
 SgPointArray (const T &value)
 Constructor; values are initialized by init value.
 SgPointArray (const SgPointArray &pointArray)
 Constructor; initialized as copy of other point array.
T & operator[] (int index)
const T & operator[] (int index) const
SgArrayoperator*= (T val)
void Fill (const T &val)

Detailed Description

template<class T>
class SgPointArray< T >

An array of SG_MAXPOINT values of type T, indexed by SgPoint.

Also enforces that all elements are initialized in the constructor, either with T(0), if T can be constructed in such a way or be providing an initialization value.

Definition at line 22 of file SgPointArray.h.


Constructor & Destructor Documentation

template<class T >
SgPointArray< T >::SgPointArray (  ) 

Constructor; values are initialized by default value.

Definition at line 37 of file SgPointArray.h.

template<class T>
SgPointArray< T >::SgPointArray ( const T &  value  ) 

Constructor; values are initialized by init value.

Definition at line 42 of file SgPointArray.h.

template<class T>
SgPointArray< T >::SgPointArray ( const SgPointArray< T > &  pointArray  ) 

Constructor; initialized as copy of other point array.

Definition at line 48 of file SgPointArray.h.


Member Function Documentation

void SgArray< T, SIZE >::Fill ( const T &  val  )  [inherited]
SgArray& SgArray< T, SIZE >::operator*= ( val  )  [inherited]
T& SgArray< T, SIZE >::operator[] ( int  index  )  [inherited]
const T& SgArray< T, SIZE >::operator[] ( int  index  )  const [inherited]

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


Sun Mar 13 2011 Doxygen 1.7.1