Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PsnAbstractArray< T > Class Template Reference

abstract definition of a simple vector More...

#include <PsnArray.h>

Inheritance diagram for PsnAbstractArray< T >:

Inheritance graph
[legend]
List of all members.

Public Methods

 PsnAbstractArray (size_t taille)
virtual ~PsnAbstractArray ()
virtual T & operator[] (int i)=0
virtual const T & operator[] (int i) const=0
virtual void printDebuggingInformation (unsigned int numberToShow)

Detailed Description

template<typename T>
class PsnAbstractArray< T >

abstract definition of a simple vector

Definition at line 26 of file PsnArray.h.


Constructor & Destructor Documentation

template<typename T>
PsnAbstractArray< T >::PsnAbstractArray size_t    taille [inline]
 

Definition at line 28 of file PsnArray.h.

00028 {};

template<typename T>
virtual PsnAbstractArray< T >::~PsnAbstractArray   [inline, virtual]
 

Definition at line 29 of file PsnArray.h.

00029 {} ;


Member Function Documentation

template<typename T>
virtual const T& PsnAbstractArray< T >::operator[] int    i const [pure virtual]
 

Implemented in PsnArray< T >, and PsnMomeArray< T >.

template<typename T>
virtual T& PsnAbstractArray< T >::operator[] int    i [pure virtual]
 

Implemented in PsnArray< T >, and PsnMomeArray< T >.

template<typename T>
void PsnAbstractArray< T >::printDebuggingInformation unsigned int    numberToShow [virtual]
 

Definition at line 36 of file PsnArray.h.

00036                                                                                 {   
00037    unsigned int i;
00038    cerr <<"  PsnAbstractArray<"<<typeid(T).name()<<">::printDebuggingInformation ("<<numberToShow<<")"<<endl<<"\t";
00039    for (i = 0 ; i < numberToShow ; i++) {
00040       cerr << &( (*this) [i]) << " \t" ;
00041    }
00042    cerr  << endl << "\t" ;
00043    for (i = 0 ; i < numberToShow ; i++) {
00044       cerr << (*this)[i].valeur << " "<< (*this)[i].dateValeur<< " \t" ;
00045    }
00046    cerr << endl;
00047 }


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

Documentation generated on Mon Nov 25 15:25:51 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001