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

AssociationsRep Class Template Reference

#include <Associations.h>

Inheritance diagram for AssociationsRep::

RefCounter List of all members.

Public Methods

 AssociationsRep ()
 AssociationsRep (const AssociationsRep &ar)
 ~AssociationsRep ()
AssociationsRep* clone () const
void unbind (const Key &k)
void bind (const Key &k, const Val &v)
Val val (const Key &k) const
Bool bound (const Key &k) const
int cardinality () const
void write (ostream &ostr) const
void read (istream &istr)

Private Types

typedef Cell< Association<
Key,Val> > 
CellType

Private Methods

 AssociationsRep (CellType *L)
CellTypeseek (const Key &k) const

Private Attributes

CellTypetheList
int theCardinality

Friends

class  AssociationsIteratorRep< Key, Val >

template<class Key, class Val> class AssociationsRep


Member Typedef Documentation

template<class Key, class Val>
typedef Cell< Association<Key,Val> > AssociationsRep<Key, Val>::CellType [private]
 

Definition at line 196 of file Associations.h.

Referenced by AssociationsRep(), and bind().


Constructor & Destructor Documentation

template<class Key, class Val>
AssociationsRep<Key, Val>::AssociationsRep<Key, Val> ( ) [inline]
 

Definition at line 100 of file Associations.h.

Referenced by clone().

template<class Key, class Val>
AssociationsRep<Key, Val>::AssociationsRep<Key, Val> ( const AssociationsRep<Key, Val> & ar ) [inline]
 

Definition at line 102 of file Associations.h.

template<class Key, class Val>
AssociationsRep<Key, Val>::~AssociationsRep<Key, Val> ( ) [inline]
 

Definition at line 123 of file Associations.h.

template<class Key, class Val>
AssociationsRep<Key, Val>::AssociationsRep<Key, Val> ( CellType * L ) [inline, private]
 

Definition at line 200 of file Associations.h.


Member Function Documentation

template<class Key, class Val>
AssociationsRep<Key, Val> * AssociationsRep<Key, Val>::clone ( ) const [inline]
 

Definition at line 131 of file Associations.h.

template<class Key, class Val>
void AssociationsRep<Key, Val>::unbind ( const Key & k ) [inline]
 

Definition at line 133 of file Associations.h.

template<class Key, class Val>
void AssociationsRep<Key, Val>::bind ( const Key & k,
const Val & v ) [inline]
 

Definition at line 154 of file Associations.h.

template<class Key, class Val>
Val AssociationsRep<Key, Val>::val ( const Key & k ) const [inline]
 

Definition at line 169 of file Associations.h.

template<class Key, class Val>
Bool AssociationsRep<Key, Val>::bound ( const Key & k ) const [inline]
 

Definition at line 178 of file Associations.h.

template<class Key, class Val>
int AssociationsRep<Key, Val>::cardinality ( ) const [inline]
 

Definition at line 180 of file Associations.h.

template<class Key, class Val>
void AssociationsRep<Key, Val>::write ( ostream & ostr ) const
 

template<class Key, class Val>
void AssociationsRep<Key, Val>::read ( istream & istr )
 

template<class Key, class Val>
CellType * AssociationsRep<Key, Val>::seek ( const Key & k ) const [inline, private]
 

Definition at line 202 of file Associations.h.

Referenced by bind(), bound(), and val().


Friends And Related Function Documentation

template<class Key, class Val>
friend class AssociationsIteratorRep< Key, Val > [friend]
 

Definition at line 198 of file Associations.h.


Member Data Documentation

template<class Key, class Val>
CellType* AssociationsRep<Key, Val>::theList [private]
 

Definition at line 213 of file Associations.h.

template<class Key, class Val>
int AssociationsRep<Key, Val>::theCardinality [private]
 

Definition at line 214 of file Associations.h.


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