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

AbelianWordRep Class Reference

#include <AbelianWord.h>

Inheritance diagram for AbelianWordRep::

PureRep RefCounter List of all members.

Public Methods

 AbelianWordRep ()
 AbelianWordRep (int numOfGens, const Word &w)
 AbelianWordRep (const VectorOf< Integer > &v)
bool operator== (const AbelianWordRep &w) const
Integer operator[] (int i) const
Integer& operator[] (int i)
AbelianWordRep* operator * (const AbelianWordRep &aw) const
int numberOfGenerators () const
VectorOf<Integer> getPowers () const
Word getWord () const
Integer fullLength () const
AbelianWordRep inverse () const
bool isTrivial () const
void printOn (ostream &) const
void write (ostream &ostr) const
void read (istream &istr)
AbelianWordRep* clone () const

Private Attributes

VectorOf<Integer> thePowers

Constructor & Destructor Documentation

AbelianWordRep::AbelianWordRep ( ) [inline]
 

Definition at line 47 of file AbelianWord.h.

Referenced by clone().

AbelianWordRep::AbelianWordRep ( int numOfGens,
const Word & w )
 

AbelianWordRep::AbelianWordRep ( const VectorOf< Integer > & v ) [inline]
 

Definition at line 51 of file AbelianWord.h.


Member Function Documentation

bool AbelianWordRep::operator== ( const AbelianWordRep & w ) const
 

Integer AbelianWordRep::operator[] ( int i ) const
 

Integer& AbelianWordRep::operator[] ( int i )
 

AbelianWordRep* AbelianWordRep::operator * ( const AbelianWordRep & aw ) const
 

int AbelianWordRep::numberOfGenerators ( ) const [inline]
 

Definition at line 74 of file AbelianWord.h.

VectorOf< Integer > AbelianWordRep::getPowers<Integer> ( ) const [inline]
 

Definition at line 76 of file AbelianWord.h.

Word AbelianWordRep::getWord ( ) const
 

Integer AbelianWordRep::fullLength ( ) const
 

AbelianWordRep AbelianWordRep::inverse ( ) const
 

bool AbelianWordRep::isTrivial ( ) const
 

void AbelianWordRep::printOn ( ostream & ) const
 

void AbelianWordRep::write ( ostream & ostr ) const
 

void AbelianWordRep::read ( istream & istr )
 

AbelianWordRep * AbelianWordRep::clone ( ) const [inline, virtual]
 

Returns a pointer to a copy of the object. Should be implemented as a member which gives a new `deep-copy' by each representation derived from this; normally, by making it new CopyConstrutor(*this) with CopyConstructor doing `deep-copy' (`' because it is enough for the copy constructor to do logical deep copy).

Reimplemented from PureRep.

Definition at line 115 of file AbelianWord.h.


Member Data Documentation

VectorOf<Integer> AbelianWordRep::thePowers [private]
 

Definition at line 127 of file AbelianWord.h.


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