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

VectorPtrRep Struct Template Reference

#include <VectorPtr.h>

Inheritance diagram for VectorPtrRep::

RefCounter List of all members.

Public Methods

 VectorPtrRep (const VectorPtrRep &vr)
 VectorPtrRep (int l)
 VectorPtrRep (int l, bool e)
 ~VectorPtrRep ()
VectorPtrRep* clone ()
int length () const
bool isValid (int i) const
void set (int i, const T &t)
T& ref (int i)
val (int i) const
VectorItemRef<T> operator[] (int i)
void append (const T &t)
void prepend (const T &t)
void shrink (int start, int newlen)

Private Methods

VectorPtrRep& operator= (const VectorPtrRep &)

Private Attributes

bool fastExpansion
unsigned int first
unsigned int last
unsigned int len
T** vec

template<class T> struct VectorPtrRep


Constructor & Destructor Documentation

template<class T>
VectorPtrRep<T>::VectorPtrRep<T> ( const VectorPtrRep<T> & vr ) [inline]
 

Definition at line 99 of file VectorPtr.h.

Referenced by clone().

template<class T>
VectorPtrRep<T>::VectorPtrRep<T> ( int l ) [inline]
 

Definition at line 122 of file VectorPtr.h.

template<class T>
VectorPtrRep<T>::VectorPtrRep<T> ( int l,
bool e ) [inline]
 

Definition at line 136 of file VectorPtr.h.

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

Definition at line 150 of file VectorPtr.h.


Member Function Documentation

template<class T>
VectorPtrRep<T> * VectorPtrRep<T>::clone ( ) [inline]
 

Definition at line 158 of file VectorPtr.h.

Referenced by ObjectOf::change().

template<class T>
int VectorPtrRep<T>::length ( ) const [inline]
 

Definition at line 160 of file VectorPtr.h.

Referenced by VectorOf::operator==(), VectorPtrOf::operator==(), and operator[]().

template<class T>
bool VectorPtrRep<T>::isValid ( int i ) const [inline]
 

Definition at line 162 of file VectorPtr.h.

Referenced by VectorPtrOf::operator<<(), VectorPtrOf::operator==(), operator[](), ref(), and val().

template<class T>
void VectorPtrRep<T>::set ( int i,
const T & t ) [inline]
 

Definition at line 171 of file VectorPtr.h.

template<class T>
T & VectorPtrRep<T>::ref ( int i ) [inline]
 

Definition at line 189 of file VectorPtr.h.

Referenced by Genref::operator=().

template<class T>
T VectorPtrRep<T>::val ( int i ) const [inline]
 

Definition at line 201 of file VectorPtr.h.

Referenced by Genref::operator Generator(), VectorOf::operator==(), VectorPtrOf::operator==(), and Genref::operator==().

template<class T>
VectorItemRef< T > VectorPtrRep<T>::operator[]<T> ( int i ) [inline]
 

Definition at line 212 of file VectorPtr.h.

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

Definition at line 223 of file VectorPtr.h.

template<class T>
void VectorPtrRep<T>::prepend ( const T & t ) [inline]
 

Definition at line 251 of file VectorPtr.h.

template<class T>
void VectorPtrRep<T>::shrink ( int start,
int newlen ) [inline]
 

Definition at line 279 of file VectorPtr.h.

template<class T>
VectorPtrRep<T>& VectorPtrRep<T>::operator= ( const VectorPtrRep<T> & ) [private]
 


Member Data Documentation

template<class T>
bool VectorPtrRep<T>::fastExpansion [private]
 

Definition at line 317 of file VectorPtr.h.

template<class T>
unsigned int VectorPtrRep<T>::first [private]
 

Definition at line 318 of file VectorPtr.h.

template<class T>
unsigned int VectorPtrRep<T>::last [private]
 

Definition at line 319 of file VectorPtr.h.

template<class T>
unsigned int VectorPtrRep<T>::len [private]
 

Definition at line 320 of file VectorPtr.h.

template<class T>
T** VectorPtrRep<T>::vec [private]
 

Definition at line 322 of file VectorPtr.h.


The documentation for this struct was generated from the following file:
Generated at Tue Jun 19 09:50:10 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001