Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointArray< T > Class Template Reference

#include <SgPointArray.h>

Inheritance diagram for SgPointArray< T >:

Inheritance graph
[legend]
List of all members.

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 24 of file SgPointArray.h.

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 *= (Tval)
void Fill (const T &val)


Constructor & Destructor Documentation

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

Constructor; values are initialized by default value.

Definition at line 39 of file SgPointArray.h.

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

Constructor; values are initialized by init value.

Definition at line 44 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 50 of file SgPointArray.h.


Member Function Documentation

void SgArray< T , SIZE >::Fill ( const T &  val  )  [inherited]

SgArray& SgArray< T , SIZE >::operator *= ( T   val  )  [inherited]

const T & SgArray< T , SIZE >::operator[] ( int  index  )  const [inherited]

T & SgArray< T , SIZE >::operator[] ( int  index  )  [inherited]


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


17 Jun 2010 Doxygen 1.4.7