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

VectorOf Class Template Reference

#include <Vector.h>

Inheritance diagram for VectorOf::

ObjectOf List of all members.

Public Methods

 VectorOf (int len=0)
 VectorOf (int len, bool e)
 VectorOf (int len, const VectorOf &v)
 VectorOf (int len, bool e, const VectorOf &v)
int operator== (const VectorOf &v) const
int operator!= (const VectorOf &v) const
operator[] (int i) const
T& operator[] (int i)
val (int i) const
T& ref (int i)
const T& constref (int i) const
int length () const
int hash () const
int indexOf (const T &t) const
void append (const T &t)
void prepend (const T &t)
void shrink (int newLength)
void shrink (int start, int newLength)

Private Types

typedef VectorRep< T > Tvr
typedef ObjectOf< TvrRep

Friends

ostream& operator<< (ostream &o, const VectorOf &v)
ostream& operator (ostream &ostr, const VectorOf &v)
istream& operator> (istream &istr, VectorOf &v)

template<class T> class VectorOf


Member Typedef Documentation

template<class T>
typedef VectorRep< T > VectorOf<T>::Tvr [private]
 

Definition at line 350 of file Vector.h.

template<class T>
typedef ObjectOf< Tvr > VectorOf<T>::Rep [private]
 

Definition at line 351 of file Vector.h.


Constructor & Destructor Documentation

template<class T>
VectorOf<T>::VectorOf<T> ( int len = 0 ) [inline]
 

Definition at line 357 of file Vector.h.

template<class T>
VectorOf<T>::VectorOf<T> ( int len,
bool e ) [inline]
 

Definition at line 359 of file Vector.h.

template<class T>
VectorOf<T>::VectorOf<T> ( int len,
const VectorOf<T> & v ) [inline]
 

Definition at line 363 of file Vector.h.

template<class T>
VectorOf<T>::VectorOf<T> ( int len,
bool e,
const VectorOf<T> & v ) [inline]
 

Definition at line 371 of file Vector.h.


Member Function Documentation

template<class T>
int VectorOf<T>::operator== ( const VectorOf<T> & v ) const [inline]
 

Definition at line 377 of file Vector.h.

template<class T>
int VectorOf<T>::operator!= ( const VectorOf<T> & v ) const [inline]
 

Definition at line 386 of file Vector.h.

template<class T>
T VectorOf<T>::operator[] ( int i ) const [inline]
 

Definition at line 388 of file Vector.h.

template<class T>
T & VectorOf<T>::operator[] ( int i ) [inline]
 

Definition at line 390 of file Vector.h.

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

Definition at line 394 of file Vector.h.

Referenced by BasicCommutators::commutatorIsBasic(), BasicCommutators::generatorsCommute(), BasicCommutators::leftIndexOf(), BasicCommutators::numberOfWeight(), BasicCommutators::rightIndexOf(), BasicCommutators::theFirstOfWeight(), and BasicCommutators::weightOf().

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

Definition at line 395 of file Vector.h.

template<class T>
const T & VectorOf<T>::constref ( int i ) const [inline]
 

Definition at line 396 of file Vector.h.

Referenced by CosetRelationsSet::operator<<(), and CosetRelationsSet::relationsOf().

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

Definition at line 400 of file Vector.h.

Referenced by APwithOneRelatorRep::APwithOneRelatorRep(), CommutatorIterator::CommutatorIterator(), Map::Map(), MatrixRow::MatrixRow(), WordData::WordData(), SymmetricRelators::cardinality(), concatenate(), FGGroupRep::consistent(), cyclicallyPermute(), excludeFrom(), MSCGroup::getRelators(), WtLexRep::historyBound(), WtShortLexRep::historyBound(), indexOf(), HNNExtensionRep::lengthOf(), AmalgProductOfFreeGroupsRep::lengthOf(), makeListOf(), makeSetOf(), CommutatorIterator::next(), AbelianWordRep::numberOfGenerators(), operator<<(), MatrixRow::operator=(), WhiteheadExperiment::run(), CosetEnumerator::schreierRepresentatives(), Map::setGeneratingImages(), and PermutationRepresentation::setRepresentatives().

template<class T>
int VectorOf<T>::hash ( ) const [inline]
 

Definition at line 402 of file Vector.h.

template<class T>
int VectorOf<T>::indexOf ( const T & t ) const [inline]
 

Definition at line 406 of file Vector.h.

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

Definition at line 413 of file Vector.h.

Referenced by WordOrderRep::WordOrderRep(), WtLexRep::WtLexRep(), WtShortLexRep::WtShortLexRep(), WtLexRep::balancedEquationFromRelator(), WtShortLexRep::balancedEquationFromRelator(), and ShortLexRep::balancedEquationFromRelator().

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

Definition at line 416 of file Vector.h.

template<class T>
void VectorOf<T>::shrink ( int newLength ) [inline]
 

Definition at line 419 of file Vector.h.

Referenced by excludeFrom().

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

Definition at line 420 of file Vector.h.


Friends And Related Function Documentation

template<class T>
ostream & operator<< ( ostream & o,
const VectorOf<T> & v ) [friend]
 

Definition at line 427 of file Vector.h.

template<class T>
ostream& operator ( ostream & ostr,
const VectorOf<T> & v ) [friend]
 

template<class T>
istream& operator> ( istream & istr,
VectorOf<T> & v ) [friend]
 

Definition at line 339 of file Vector.h.


The documentation for this class 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