EnrichedArray< StructArraytype > Class Template Reference

#include <TinyVector.H>

List of all members.

Public Types

typedef StructArraytype::Datatype Datatype
typedef StructArraytype::Sizetype Sizetype

Public Member Functions

 EnrichedArray (Datatype *const _v, const Sizetype myCapacity, const Sizetype _size=0)
void set_size (const Sizetype new_size)
Sizetype size (void) const
bool empty (void) const
Sizetype capacity (void) const
Sizetype max_size (void) const
const Datatypeoperator[] (const Sizetype pos) const
Datatypeoperator[] (const Sizetype pos)


Detailed Description

template<typename StructArraytype>
class EnrichedArray< StructArraytype >

Definition at line 80 of file TinyVector.H.


Member Typedef Documentation

template<typename StructArraytype>
typedef StructArraytype::Datatype EnrichedArray< StructArraytype >::Datatype

Definition at line 84 of file TinyVector.H.

template<typename StructArraytype>
typedef StructArraytype::Sizetype EnrichedArray< StructArraytype >::Sizetype

Definition at line 85 of file TinyVector.H.


Constructor & Destructor Documentation

template<typename StructArraytype>
EnrichedArray< StructArraytype >::EnrichedArray ( Datatype *const   _v,
const Sizetype  myCapacity,
const Sizetype  _size = 0 
) [inline]

Definition at line 87 of file TinyVector.H.


Member Function Documentation

template<typename StructArraytype>
void EnrichedArray< StructArraytype >::set_size ( const Sizetype  new_size  )  [inline]

Definition at line 91 of file TinyVector.H.

template<typename StructArraytype>
Sizetype EnrichedArray< StructArraytype >::size ( void   )  const [inline]

Definition at line 104 of file TinyVector.H.

template<typename StructArraytype>
bool EnrichedArray< StructArraytype >::empty ( void   )  const [inline]

Definition at line 105 of file TinyVector.H.

template<typename StructArraytype>
Sizetype EnrichedArray< StructArraytype >::capacity ( void   )  const [inline]

Definition at line 106 of file TinyVector.H.

template<typename StructArraytype>
Sizetype EnrichedArray< StructArraytype >::max_size ( void   )  const [inline]

Definition at line 108 of file TinyVector.H.

template<typename StructArraytype>
const Datatype& EnrichedArray< StructArraytype >::operator[] ( const Sizetype  pos  )  const [inline]

Definition at line 111 of file TinyVector.H.

template<typename StructArraytype>
Datatype& EnrichedArray< StructArraytype >::operator[] ( const Sizetype  pos  )  [inline]

Definition at line 112 of file TinyVector.H.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:31:49 2007 for Qsieve by  doxygen 1.5.4