teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Namespaces | Macros | Typedefs | Functions
option.cpp File Reference
#include <fstream>
#include <unordered_map>
#include "option.h"
#include <memory>
#include <string.h>
#include "utils.h"

Namespaces

 teditor
 

Macros

#define CASE(t)   case t: return #t
 

Typedefs

typedef std::unordered_map< std::string, std::shared_ptr< Option > > teditor::Options
 

Functions

Options & teditor::options ()
 
void teditor::registerAllOptions ()
 
void teditor::parseRcFile (const std::string &rc)
 
bool teditor::parseArgs (int argc, char **argv, std::vector< FileInfo > &files)
 

Macro Definition Documentation

◆ CASE

#define CASE (   t)    case t: return #t