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

Letter Struct Reference

#include <Letter.h>

List of all members.

Public Methods

 Letter ()
 Letter (Generator g, int pow=1)
 Letter (int g, int pow=1)
void collectWith (Generator g)
 operator Word () const
void printOn (ostream &os) const
void invert ()
int shortLexIndex () const

Public Attributes

Generator gen
int power


ostream& operator< (ostream &os, const Letter &let)
istream& operator> (istream &is, Letter &let)

Constructor & Destructor Documentation

Letter::Letter ( ) [inline]

Definition at line 30 of file Letter.h.

Letter::Letter ( Generator g,
int pow = 1 ) [inline]

Definition at line 33 of file Letter.h.

Letter::Letter ( int g,
int pow = 1 ) [inline]

Definition at line 44 of file Letter.h.

Member Function Documentation

void Letter::collectWith ( Generator g ) [inline]

Definition at line 56 of file Letter.h.

Letter::operator Word ( ) const [inline]

Definition at line 67 of file Letter.h.

void Letter::printOn ( ostream & os ) const [inline]

Definition at line 84 of file Letter.h.

Referenced by operator<<().

void Letter::invert ( ) [inline]

Definition at line 89 of file Letter.h.

int Letter::shortLexIndex ( ) const [inline]

Definition at line 92 of file Letter.h.

Friends And Related Function Documentation

ostream & operator< ( ostream & os,
const Letter & let ) [friend]

Definition at line 99 of file Letter.h.

istream & operator> ( istream & is,
Letter & let ) [friend]

Definition at line 104 of file Letter.h.

Member Data Documentation

Generator Letter::gen

Definition at line 110 of file Letter.h.

int Letter::power

Definition at line 111 of file Letter.h.

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