LinguisticDefinition::Formatter Class Reference

A formatter handles input and output to external data sources. More...

#include <Formatter.h>

Inheritance diagram for LinguisticDefinition::Formatter:

LinguisticDefinition::LingDefFormatter LinguisticDefinition::LingFeaturesFormatter LinguisticDefinition::PatternFormatter LinguisticDefinition::XmlLingDefFormatter LinguisticDefinition::XmlLingFeaturesFormatter LinguisticDefinition::SentencePatternFormatter LinguisticDefinition::WordPatternFormatter LinguisticDefinition::XmlWordPatternFormatter List of all members.

Public Member Functions

 Formatter ()

Detailed Description

A formatter handles input and output to external data sources.

A LingDef object may for example be created from an XML file, or a LingFeatures object from a serialized string representation.

Formatters have no special relationship with the objects that they create/populate. Anything a formatter can do, you can do "manually" with the public member functions of that object.

This way, the structure is separated from the representation. It is also easier to add new formats, and select a subset of the functionality.

Definition at line 19 of file Formatter.h.


Constructor & Destructor Documentation

Formatter::Formatter (  ) 

Definition at line 9 of file Formatter.cc.


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 14:03:15 2006 for LinguisticDefinition by  doxygen 1.4.7