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

AssociationsOf Class Template Reference

#include <Associations.h>

Inheritance diagram for AssociationsOf::

ObjectOf List of all members.

Public Methods

 AssociationsOf ()
Val operator[] (const Key &k) const
AssocRef<Key,Val> operator[] (const Key &k)
Val valueOf (const Key &k) const
void bind (const Key &k, const Val &v)
void unbind (const Key &k)
Bool bound (const Key &k) const
ListOf<Key> keys () const
int cardinality () const

Private Types

typedef AssociationsRep<Key,
Val> 
Rep

Friends

class  AssociationsIteratorRep< Key, Val >
ostream& operator< (ostream &ostr, const AssociationsOf &A)
istream& operator> (istream &istr, AssociationsOf &A)

template<class Key, class Val> class AssociationsOf


Member Typedef Documentation

template<class Key, class Val>
typedef AssociationsRep<Key,Val> AssociationsOf<Key, Val>::Rep [private]
 

Definition at line 278 of file Associations.h.


Constructor & Destructor Documentation

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

Definition at line 228 of file Associations.h.


Member Function Documentation

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

Definition at line 233 of file Associations.h.

template<class Key, class Val>
AssocRef< Key, Val > AssociationsOf< Key, Val >::operator[] ( const Key & k ) [inline]
 

Definition at line 302 of file Associations.h.

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

Definition at line 238 of file Associations.h.

Referenced by AssocRef::operator Val(), and operator[]().

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

Definition at line 242 of file Associations.h.

Referenced by AssocRef::operator=().

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

Definition at line 245 of file Associations.h.

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

Definition at line 248 of file Associations.h.

Referenced by AssocRef::operator void *().

template<class Key, class Val>
ListOf< Key > AssociationsOf< Key, Val >::keys ( ) const [inline]
 

Definition at line 494 of file Associations.h.

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

Definition at line 256 of file Associations.h.


Friends And Related Function Documentation

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

Definition at line 280 of file Associations.h.

template<class Key, class Val>
ostream & operator< ( ostream & ostr,
const AssociationsOf<Key, Val> & A ) [friend]
 

Definition at line 264 of file Associations.h.

template<class Key, class Val>
istream & operator> ( istream & istr,
AssociationsOf<Key, Val> & A ) [friend]
 

Definition at line 270 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