Logo Search packages:      
Sourcecode: verbiste version File versions

verbiste::Command Class Reference

#include <Command.h>

Inherited by ConjugatorCommand, and DeconjugatorCommand.

List of all members.


Detailed Description

Abstract class representing a command-line tool.

A program based on this class will read words either from the command line (each argument is a word) or from the standard input (each line is a word). The results are written to the standard output. The Latin-1 (ISO-8859-1) character set is assumed.

Definition at line 45 of file Command.h.


Public Member Functions

 Command () throw (std::logic_error)
FrenchVerbDictionarygetFrenchVerbDictionary () throw (std::logic_error)
const FrenchVerbDictionarygetFrenchVerbDictionary () const throw (std::logic_error)
int run (int argc, char *argv[]) throw ()
virtual ~Command ()

Protected Member Functions

virtual void processInputWord (const std::string &inputWord)=0

Protected Attributes

FrenchVerbDictionaryfvd

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index