optparse Namespace Reference


Classes

class  Option
class  OptionError
class  OptionParser
class  TypedOptionParser

Enumerations

enum  action_t { STORE_FALSE = 0, STORE_TRUE, STORE }
enum  type_t { STRING = 0, BOOL, INT, DOUBLE }


Enumeration Type Documentation

enum optparse::action_t

Action type. Use this type to determine what we're storing, naming convention is the same as the optparse python module. Even with STORE_FALSE and STORE_TRUE the values are going to be stored as strings, false is "0" true is "1" so you can just atoi() the value and use that for tests.

Enumerator:
STORE_FALSE 
STORE_TRUE 
STORE 

Definition at line 34 of file optparse.h.

enum optparse::type_t

Option argument type. Defines expected option argument type.

Enumerator:
STRING 
BOOL 
INT 
DOUBLE 

Definition at line 40 of file optparse.h.


Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7