Add words in Dictionary:
void Dictionary::add( Object& objectToAdd )
{
if( !objectToAdd.isAssociation() )
ClassLib_error( __ENOTASSOC );
else
Set::add( objectToAdd );
}
Association& Dictionary::lookup( const Object& toLookUp ) const
{
Association toFind( (Object&)toLookUp, NOOBJECT );
toFind.ownsElements(0);
Association& found = (Association&)findMember( toFind );
return found;
}