tlp::Array(3) class for array encapsulation

SYNOPSIS


#include <Array.h>

Inherited by tlp::Vector.

Public Member Functions


Obj operator[] (const unsigned int i) const

Obj & operator[] (const unsigned int i)

Public Attributes


Obj array [SIZE]

Detailed Description

template<typename Obj, unsigned int SIZE> struct tlp::Array< Obj, SIZE >

class for array encapsulation

Enables to create an Array of Obj with a limited size. Out of bound accesses are only checked in debug mode.

Author:

: David Auber [email protected]

Version:

0.0.1 24/01/2003

Member Function Documentation

template<typename Obj, unsigned int SIZE> Obj& tlp::Array< Obj, SIZE >::operator[] (const unsigned int i) [inline]

template<typename Obj, unsigned int SIZE> Obj tlp::Array< Obj, SIZE >::operator[] (const unsigned int i) const [inline]

Member Data Documentation

template<typename Obj, unsigned int SIZE> Obj tlp::Array< Obj, SIZE >::array[SIZE]

Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.