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

SetOf Class Template Reference

#include <Set.h>

Inheritance diagram for SetOf::

ObjectOf List of all members.

Public Types

typedef T SetElementType

Public Methods

 SetOf (int size=1)
 SetOf (const T &t)
Bool operator== (const SetOf &S) const
Bool operator!= (const SetOf &S) const
Bool operator< (const SetOf &S) const
Bool operator<= (const SetOf &S) const
Bool operator> (const SetOf &S) const
Bool operator>= (const SetOf &S) const
Bool operator>= (const T &e) const
SetOf operator & (const SetOf &S) const
SetOf operator &= (const SetOf &S)
SetOf operator| (const SetOf &S) const
SetOf operator|= (const SetOf &S)
SetOf operator|= (const T &e)
SetOf operator- (const SetOf &S) const
SetOf operator-= (const SetOf &S)
SetOf operator-= (const T &e)
SetOf operator^ (const SetOf &S) const
int cardinality () const
Bool equalTo (const SetOf &S) const
Bool contains (const T &e) const
Bool contains (const SetOf &S) const
Bool properlyContains (const SetOf &S) const
void adjoinElement (const T &e)
void removeElement (const T &e)
void shrinkToIntersectionWith (const SetOf &S)
void adjoinElements (const SetOf &S)
void removeElements (const SetOf &S)
void removeAllElements ()
void rehash ()

Protected Types

typedef SetData<T> Rep

Friends

class  SetIteratorData< T >
ostream& operator<< (ostream &ostr, const SetOf &S)
ostream& operator< (ostream &ostr, const SetOf &S)
istream& operator> (istream &istr, SetOf &S)

template<class T> class SetOf


Member Typedef Documentation

template<class T>
typedef T SetOf<T>::SetElementType
 

Definition at line 412 of file Set.h.

template<class T>
typedef SetData<T> SetOf<T>::Rep [protected]
 

Definition at line 576 of file Set.h.


Constructor & Destructor Documentation

template<class T>
SetOf<T>::SetOf<T> ( int size = 1 ) [inline]
 

Definition at line 414 of file Set.h.

template<class T>
SetOf<T>::SetOf<T> ( const T & t ) [inline]
 

Definition at line 421 of file Set.h.


Member Function Documentation

template<class T>
Bool SetOf<T>::operator== ( const SetOf<T> & S ) const [inline]
 

Definition at line 429 of file Set.h.

template<class T>
Bool SetOf<T>::operator!= ( const SetOf<T> & S ) const [inline]
 

Definition at line 433 of file Set.h.

template<class T>
Bool SetOf<T>::operator< ( const SetOf<T> & S ) const [inline]
 

Definition at line 437 of file Set.h.

template<class T>
Bool SetOf<T>::operator<= ( const SetOf<T> & S ) const [inline]
 

Definition at line 441 of file Set.h.

template<class T>
Bool SetOf<T>::operator> ( const SetOf<T> & S ) const [inline]
 

Definition at line 445 of file Set.h.

template<class T>
Bool SetOf<T>::operator>= ( const SetOf<T> & S ) const [inline]
 

Definition at line 449 of file Set.h.

template<class T>
Bool SetOf<T>::operator>= ( const T & e ) const [inline]
 

Definition at line 453 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator & ( const SetOf<T> & S ) const [inline]
 

Definition at line 457 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator &= ( const SetOf<T> & S ) [inline]
 

Definition at line 461 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator| ( const SetOf<T> & S ) const [inline]
 

Definition at line 466 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator|= ( const SetOf<T> & S ) [inline]
 

Definition at line 470 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator|= ( const T & e ) [inline]
 

Definition at line 475 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator- ( const SetOf<T> & S ) const [inline]
 

Definition at line 480 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator-= ( const SetOf<T> & S ) [inline]
 

Definition at line 484 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator-= ( const T & e ) [inline]
 

Definition at line 489 of file Set.h.

template<class T>
SetOf<T> SetOf<T>::operator^ ( const SetOf<T> & S ) const [inline]
 

Definition at line 494 of file Set.h.

template<class T>
int SetOf<T>::cardinality ( ) const [inline]
 

Definition at line 500 of file Set.h.

Referenced by GeneratorOfRandomSolutions::getCurrentThreshold(), GroupFastChecks::hasTrivialPresentation(), makeVectorOf(), makeVectorPtrOf(), GroupFastChecks::numOfRelsLessNumOfGens(), properlyContains(), setIntersection(), and setUnion().

template<class T>
Bool SetOf<T>::equalTo ( const SetOf<T> & S ) const [inline]
 

Definition at line 502 of file Set.h.

Referenced by operator!=(), and operator==().

template<class T>
Bool SetOf<T>::contains ( const T & e ) const [inline]
 

Definition at line 507 of file Set.h.

Referenced by SingularEndo::imageOf(), SingularEndo::isSpecializationOf(), SingularEndo::makeEndomorphism(), operator<<(), operator<=(), operator>=(), properlyContains(), setIntersection(), setMinus(), and setSymmetricDifference().

template<class T>
Bool SetOf<T>::contains ( const SetOf<T> & S ) const
 

template<class T>
Bool SetOf<T>::properlyContains ( const SetOf<T> & S ) const [inline]
 

Definition at line 513 of file Set.h.

Referenced by operator<(), and operator>().

template<class T>
void SetOf<T>::adjoinElement ( const T & e ) [inline]
 

Definition at line 518 of file Set.h.

Referenced by makeSetOf(), operator|=(), setIntersection(), setMinus(), setSymmetricDifference(), and setUnion().

template<class T>
void SetOf<T>::removeElement ( const T & e ) [inline]
 

Definition at line 521 of file Set.h.

Referenced by operator-=().

template<class T>
void SetOf<T>::shrinkToIntersectionWith ( const SetOf<T> & S )
 

Referenced by operator &=().

template<class T>
void SetOf<T>::adjoinElements ( const SetOf<T> & S )
 

Referenced by operator|=().

template<class T>
void SetOf<T>::removeElements ( const SetOf<T> & S )
 

Referenced by operator-=().

template<class T>
void SetOf<T>::removeAllElements ( ) [inline]
 

Definition at line 534 of file Set.h.

template<class T>
void SetOf<T>::rehash ( ) [inline]
 

Definition at line 537 of file Set.h.


Friends And Related Function Documentation

template<class T>
friend class SetIteratorData< T > [friend]
 

Definition at line 578 of file Set.h.

template<class T>
ostream & operator<< ( ostream & ostr,
const SetOf<T> & S ) [friend]
 

Definition at line 542 of file Set.h.

template<class T>
ostream & operator< ( ostream & ostr,
const SetOf<T> & S ) [friend]
 

Definition at line 554 of file Set.h.

template<class T>
istream & operator> ( istream & istr,
SetOf<T> & S ) [friend]
 

Definition at line 560 of file Set.h.


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