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

AbelianSGPresentationRep Struct Reference

#include <AbelianSGPresentation.h>

Inheritance diagram for AbelianSGPresentationRep::

AbelianGroupRep PureRep RefCounter List of all members.

Public Methods

 AbelianSGPresentationRep (const AbelianGroup &parent, const VectorOf< Word > &sgGens, const FPGroup &thePresentation, const DArray< Integer > &sgPGens, bool makeF)
AbelianSGPresentationRep* clone () const
Word fromSGPGensToSGGens (const Word &w) const
bool fromSGGensToSGPGens (const Word &w, Word &wInNew) const
void write (ostream &ostr) const
void read (istream &istr)

Private Methods

void makeFile ()
void makeFileOfPDGens ()
bool powerOfNewGenInTorsionPart (const Integer &inv, const Integer &b, const Integer &a, Integer &x) const
bool powerOfNewGenInFreePart (const Integer &b, const Integer &a, Integer &x) const

Private Attributes

DArray<Integer> theSGPGens
AbelianGroup theParent

Constructor & Destructor Documentation

AbelianSGPresentationRep::AbelianSGPresentationRep ( const AbelianGroup & parent,
const VectorOf< Word > & sgGens,
const FPGroup & thePresentation,
const DArray< Integer > & sgPGens,
bool makeF ) [inline]

Definition at line 37 of file AbelianSGPresentation.h.

Referenced by clone().

Member Function Documentation

AbelianSGPresentationRep * AbelianSGPresentationRep::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 AbelianGroupRep.

Definition at line 58 of file AbelianSGPresentation.h.

Word AbelianSGPresentationRep::fromSGPGensToSGGens ( const Word & w ) const

bool AbelianSGPresentationRep::fromSGGensToSGPGens ( const Word & w,
Word & wInNew ) const

void AbelianSGPresentationRep::write ( ostream & ostr ) const [inline, virtual]

Reimplemented from AbelianGroupRep.

Definition at line 79 of file AbelianSGPresentation.h.

void AbelianSGPresentationRep::read ( istream & istr ) [inline, virtual]

Reimplemented from AbelianGroupRep.

Definition at line 87 of file AbelianSGPresentation.h.

void AbelianSGPresentationRep::makeFile ( ) [private, virtual]

Reimplemented from AbelianGroupRep.

void AbelianSGPresentationRep::makeFileOfPDGens ( ) [private, virtual]

Reimplemented from AbelianGroupRep.

bool AbelianSGPresentationRep::powerOfNewGenInTorsionPart ( const Integer & inv,
const Integer & b,
const Integer & a,
Integer & x ) const [private]

bool AbelianSGPresentationRep::powerOfNewGenInFreePart ( const Integer & b,
const Integer & a,
Integer & x ) const [private]

Member Data Documentation

VectorOf<Word> AbelianSGPresentationRep::theSGGens [private]

Definition at line 97 of file AbelianSGPresentation.h.

DArray<Integer> AbelianSGPresentationRep::theSGPGens [private]

Definition at line 99 of file AbelianSGPresentation.h.

AbelianGroup AbelianSGPresentationRep::theParent [private]

Definition at line 102 of file AbelianSGPresentation.h.

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