Class UDict.

Inherits PatriciaTree

A Dict that takes UString keys.

UDict::UDict()

Creates an empty dictionary.

Reimplements PatriciaTree::PatriciaTree().

bool UDict::contains( const UString & s ) const

Returns true if an object identified by s exists in the dictionary, and false otherwise.

T * UDict::find( const UString & s ) const

Looks for the object identified by s in the dictionary, and returns a pointer to it (or 0 if no such object was found).

void UDict::insert( const UString & s, T* r )

Inserts the object r into the dictionary, identified by the UString s.

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.