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

Elt Class Reference

#include <Elt.h>

Inheritance diagram for Elt::

GenericObject BaseObjectOf ObjectOf List of all members.

Public Methods

 Elt ()
int operator== (const Elt &e) const
int operator!= (const Elt &e) const
Type actualType () const
int hash () const
Elt operator * (const Elt &e) const
Elt operator *= (const Elt &e)
Elt raiseToPower (Integer power) const
Elt inverse () const
Elt conjugateBy (const Elt &e) const
void debugPrint (ostream &o) const

Static Public Methods

Type type ()

Protected Methods

const EltReplook () const
EltRepenhance () const
EltRepchange ()
 Elt (EltRep *p)

Friends

Elt inverse (const Elt &e)
Elt commutator (const Elt &, const Elt &)
ostream& operator<< (ostream &, const Elt &)
ostream& operator< (ostream &ostr, const Elt &e)
istream& operator> (istream &istr, Elt &e)

Constructor & Destructor Documentation

Elt::Elt ( ) [inline]
 

Definition at line 83 of file Elt.h.

Referenced by conjugateBy(), inverse(), operator *(), and operator *=().

Elt::Elt ( EltRep * p ) [inline, protected]
 

Definition at line 188 of file Elt.h.


Member Function Documentation

int Elt::operator== ( const Elt & e ) const [inline]
 

Definition at line 94 of file Elt.h.

int Elt::operator!= ( const Elt & e ) const [inline]
 

Definition at line 98 of file Elt.h.

Type Elt::type ( ) [inline, static]
 

Returns unique type of the object.

This `type querying' member is provided solely as an example, since this class is pseudo-abstract (ie. its representation class is abstract) and no actual objects of this type will ever be created

Reimplemented from GenericObject.

Definition at line 106 of file Elt.h.

Type Elt::actualType ( ) const [inline]
 

Returns type of the object.

Reimplemented from GenericObject.

Definition at line 108 of file Elt.h.

int Elt::hash ( ) const [inline]
 

Definition at line 110 of file Elt.h.

Elt Elt::operator * ( const Elt & e ) const [inline]
 

Definition at line 118 of file Elt.h.

Elt Elt::operator *= ( const Elt & e ) [inline]
 

Definition at line 122 of file Elt.h.

Elt Elt::raiseToPower ( Integer power ) const
 

Elt Elt::inverse ( ) const [inline]
 

Definition at line 128 of file Elt.h.

Referenced by FPGroupRep::areEqual(), OneRelatorGroupRep::areEqual(), HNNExtensionRep::areEqual(), and inverse().

Elt Elt::conjugateBy ( const Elt & e ) const [inline]
 

Definition at line 136 of file Elt.h.

void Elt::debugPrint ( ostream & o ) const
 

const EltRep * Elt::look ( ) const [inline, protected]
 

Returns a constant pointer to its representation object For safe read-only access.

Reimplemented from ObjectOf.

Definition at line 178 of file Elt.h.

Referenced by conjugateBy(), operator *(), operator *=(), operator<(), and operator==().

EltRep * Elt::enhance ( ) const [inline, protected]
 

Returns a pointer to its representation object

Warning:
for altering an object without triggering cloning. Use to change theRep without altering semantics.

Reimplemented from ObjectOf.

Definition at line 181 of file Elt.h.

EltRep * Elt::change ( ) [inline, protected]
 

Returns a pointer to its representation object For safe read/write access.

Reimplemented from ObjectOf.

Definition at line 184 of file Elt.h.

Referenced by operator>().


Friends And Related Function Documentation

Elt inverse ( const Elt & e ) [friend]
 

Definition at line 132 of file Elt.h.

Elt commutator ( const Elt &,
const Elt & ) [friend]
 

ostream& operator<< ( ostream &,
const Elt & ) [friend]
 

ostream & operator< ( ostream & ostr,
const Elt & e ) [friend]
 

Definition at line 160 of file Elt.h.

istream & operator> ( istream & istr,
Elt & e ) [friend]
 

Definition at line 166 of file Elt.h.


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