Compounds | |
| class | Parse::CommandLineParser |
| class | Parse::DelegateToSubParser |
| class | Parse::GeneratedListParser |
| class | Parse::GeneratedVectorParser |
| class | Parse::ListParser |
| class | Parse::NaturalListParser |
| class | Parse::NaturalParser |
| class | Parse::NaturalVectorParser |
| class | Parse::OptionWasRead |
| class | Parse::Parseable |
| class | Parse::ParseAction |
| class | Parse::Parser |
| class | Parse::ParserGenerator |
| class | Parse::ReadAndCheck |
| class | Parse::ReadAndMult |
| class | Parse::ReadOrDefault |
| class | Parse::SimpleParser |
| class | Parse::StdRead |
| class | Parse::VectorParser |
The Parse module implements a Command pattern (Design Patterns: Elements of Reusable Object Oriented Software p233) ParseAction are the command objects, while Parser is invoker, and the ifstream& passed to the Parser constructor is the reciever. References passed to the ParseAction constructors are set to values from the ifstream based on the behavior of the Parser (that decides what values to modify) and the ParseAction, which decide how to modify the value.
1.2.12 written by Dimitri van Heesch,
© 1997-2001