#include <options.h>
Public Types | |
| typedef int | OptionValue | 
| A type for handling the values of the options. | |
| enum | OptionName {  Verbose, Model, Encoding, PrintGrammar, PrintModels, LastOption }  | 
| An enum of possible option names. More... | |
| enum | {  None = -1, No, Yes, SimpleModel, AdaptiveModel }  | 
| Some predefined values of the options. More... | |
Static Public Methods | |
| void | setOption (OptionName name, OptionValue value) | 
| Set the value of the option. More... | |
| OptionValue | getOption (OptionName name) | 
| Get the value of the option. More... | |
| void | resetOptions (void) | 
| Reset all options. More... | |
Definition at line 37 of file options.h.
      
  | 
  
| 
 Some predefined values of the options. 
  | 
  
      
  | 
  
      
  | 
  
| 
 Get the value of the option. 
 
 
 
 Definition at line 99 of file options.h. References OptionName, and OptionValue. Referenced by XmlCodec::decode, ExaltCodec::decode, XmlCodec::encode, ExaltCodec::encode, XmlCodec::encodePush, XmlCodec::initializePushCoder, KYGrammar::~KYGrammar, XmlAdaptiveModel::~XmlAdaptiveModel, XmlParser::~XmlParser, and XmlSimpleModel::~XmlSimpleModel.  | 
  
      
  | 
  
| 
 Reset all options. 
 The values of the options are all set to None. Definition at line 106 of file options.h. References LastOption, and None. Referenced by main.  | 
  
      
  | 
  ||||||||||||
| 
 Set the value of the option. 
 
 
 Definition at line 90 of file options.h. References OptionName, and OptionValue. Referenced by main.  | 
  
1.2.14 written by Dimitri van Heesch,
 © 1997-2002