| teditor
    1.8.0@@fee5e94
    Terminal based editor written in C++ | 
Class to define an option used in the editor. More...
#include <option.h>
| Public Types | |
| enum | Type { Boolean, Integer, Real, String, Char } | 
| Public Member Functions | |
| Option (const std::string &n, const std::string &v, const std::string &hm, Type t) | |
| Define a new option.  More... | |
| bool | getBool () const | 
| int | getInt () const | 
| float | getReal () const | 
| std::string | getStr () const | 
| char | getChar () const | 
| Static Public Member Functions | |
| static void | add (const std::string &n, const std::string &v, const std::string &hm, Type t) | 
| Define a new option.  More... | |
| static void | set (const std::string &n, const std::string &val) | 
| static Option & | get (const std::string &n) | 
| static void | dumpAll (const std::string &outfile) | 
| static void | printOpts () | 
Class to define an option used in the editor.
| 
 | inline | 
Define a new option.
| n | name of the option | 
| v | default value | 
| hm | help message for this option | 
| t | type of option | 
| 
 | static | 
Define a new option.
| n | name of the option | 
| v | default value | 
| hm | help message for this option | 
| t | type of option | 
| 
 | static | 
dumps all options into the rcfile
| 
 | static | 
gets the named option
| 
 | static | 
prints all options to stdout in form of help message
| 
 | static | 
sets value for the given option
 1.8.17
 1.8.17