Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNArrayList< T > Class Template Reference

#include <MNArrayList.h>

Inheritance diagram for MNArrayList< T >:

Inheritance graph
[legend]
Collaboration diagram for MNArrayList< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef int Iterator

Public Member Functions

 MNArrayList ()
 MNArrayList (const MNArrayList< T > &orig)
 ~MNArrayList ()
T & operator() (int idx)
const T & operator() (int idx) const
MNArrayList< T > & operator= (const MNArrayList< T > &orig)
size_t size () const
T * array () const
void append (const Item &t)
bool empty () const
Iterator first ()
const T & inf (size_t it) const
const T & inf (Iterator it) const
Iterator next (Iterator &it)
void del (size_t it)
void del (Iterator &it)
void clear ()

Detailed Description

template<class T>
class MNArrayList< T >

A template for an extremely simple list implemented by a uni-dimensional growing array. Should only be used for primitive data types (char, int, long).


Member Typedef Documentation

template<class T>
typedef int MNArrayList< T >::Iterator
 


Constructor & Destructor Documentation

template<class T>
MNArrayList< T >::MNArrayList (   )  [inline]
 

template<class T>
MNArrayList< T >::MNArrayList (  const MNArrayList< T > &  orig  )  [inline]
 

template<class T>
MNArrayList< T >::~MNArrayList (   )  [inline]
 


Member Function Documentation

template<class T>
void MNArrayList< T >::append (  const Item &  t  )  [inline]
 

template<class T>
T* MNArrayList< T >::array (   )  const [inline]
 

template<class T>
void MNArrayList< T >::clear (   )  [inline]
 

template<class T>
void MNArrayList< T >::del (  Iterator &  it  )  [inline]
 

template<class T>
void MNArrayList< T >::del (  size_t  it  )  [inline]
 

template<class T>
bool MNArrayList< T >::empty (   )  const [inline]
 

template<class T>
Iterator MNArrayList< T >::first (   )  [inline]
 

template<class T>
const T& MNArrayList< T >::inf (  Iterator  it  )  const [inline]
 

template<class T>
const T& MNArrayList< T >::inf (  size_t  it  )  const [inline]
 

template<class T>
Iterator MNArrayList< T >::next (  Iterator &  it  )  [inline]
 

template<class T>
const T& MNArrayList< T >::operator() (  int  idx  )  const [inline]
 

template<class T>
T& MNArrayList< T >::operator() (  int  idx  )  [inline]
 

template<class T>
MNArrayList<T>& MNArrayList< T >::operator= (  const MNArrayList< T > &  orig  )  [inline]
 

template<class T>
size_t MNArrayList< T >::size (   )  const [inline]
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:57 2005 for Komssys by doxygen 1.3.8