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

EltRep Struct Reference

#include <EltRep.h>

Inheritance diagram for EltRep::

GenericRep PureRep RefCounter EltIdentityRep WordRep List of all members.

Public Methods

virtual ~EltRep ()
virtual Type actualType () const
PureRepclone () const=0
virtual Bool operator== (const EltRep &) const=0
virtual int hash () const=0
virtual EltRep* operator * (const EltRep &) const=0
virtual EltRep* inverse () const=0
virtual EltRep* conjugateBy (const EltRep *ep) const
virtual EltRep* commutatorWith (const EltRep *ep) const
virtual void printOn (ostream &) const
virtual void debugPrint (ostream &) const
virtual void write (ostream &ostr) const
virtual void read (istream &istr)

Static Public Methods

Type type ()

Static Public Attributes

const Type theEltType

Private Methods

EltRep& operator= (const EltRep &)

Constructor & Destructor Documentation

EltRep::~EltRep ( ) [inline, virtual]
 

Definition at line 35 of file EltRep.h.


Member Function Documentation

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

Returns unique object type.

Every representation class derived from this should carry a similarly defined type member

Reimplemented from GenericRep.

Reimplemented in EltIdentityRep, and WordRep.

Definition at line 43 of file EltRep.h.

Referenced by Elt::type().

Type EltRep::actualType ( ) const [inline, virtual]
 

Returns objects type.

This member serves as the root of all type querying members in this type scheme every representation class derived from this should override this member similarly to return the actual type of the class

Reimplemented from GenericRep.

Reimplemented in EltIdentityRep, and WordRep.

Definition at line 45 of file EltRep.h.

Referenced by Elt::actualType().

PureRep* EltRep::clone ( ) const [pure virtual]
 

Returns a pointer to a copy of the GenericRep object.

Reimplemented from GenericRep.

Reimplemented in EltIdentityRep, and WordRep.

virtual Bool EltRep::operator== ( const EltRep & ) const [pure virtual]
 

Reimplemented in EltIdentityRep, and WordRep.

virtual int EltRep::hash ( ) const [pure virtual]
 

Reimplemented in EltIdentityRep, and WordRep.

Referenced by Elt::hash().

virtual EltRep* EltRep::operator * ( const EltRep & a ) const [pure virtual]
 

Reimplemented in EltIdentityRep, and WordRep.

virtual EltRep* EltRep::inverse ( ) const [pure virtual]
 

Reimplemented in EltIdentityRep, and WordRep.

Referenced by conjugateBy().

EltRep * EltRep::conjugateBy ( const EltRep * ep ) const [inline, virtual]
 

Reimplemented in WordRep.

Definition at line 62 of file EltRep.h.

Referenced by commutatorWith().

EltRep * EltRep::commutatorWith ( const EltRep * ep ) const [inline, virtual]
 

Reimplemented in WordRep.

Definition at line 71 of file EltRep.h.

virtual void EltRep::printOn ( ostream & ) const [virtual]
 

Reimplemented in WordRep.

virtual void EltRep::debugPrint ( ostream & ) const [virtual]
 

Reimplemented in WordRep.

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

Reimplemented in WordRep.

Definition at line 91 of file EltRep.h.

Referenced by Elt::operator<().

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

Reimplemented in WordRep.

Definition at line 93 of file EltRep.h.

Referenced by Elt::operator>().

EltRep& EltRep::operator= ( const EltRep & ) [private]
 


Member Data Documentation

const Type EltRep::theEltType [static]
 

Definition at line 41 of file EltRep.h.


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