Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Dictionary Class Template Reference

A Dictionary Class. More...

#include <Dictionary.h>

Inheritance diagram for Dictionary:

Inheritance graph
[legend]
Collaboration diagram for Dictionary:

Collaboration graph
[legend]
List of all members.

Public Methods

Serializable
virtual void Read (istream &is)
 Read and load a dictionary from a stream.

virtual string ToString () const
 convert to a string (an xml file).


Detailed Description

template<class Word, class Definition, class WordList = vector<Word>, class DefList = vector<Definition>> class Dictionary

A Dictionary Class.

A class that is derived from a FIFOMap. It is Serializable. It can read and write xml files that represent a dictionary. The template options are for the Word (key) datatype, the Definition (value) datatype, the container datatype (usually STL based, such as vector or list) for the Words and the container datatype for the Definitions.


The documentation for this class was generated from the following file:
Generated at Wed May 2 00:24:42 2001 for API by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001