Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Macros | Typedefs
GetPot.hpp File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <string.h>
#include <cmath>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <cstddef>
Include dependency graph for GetPot.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringOrCharP
 
class  GetPot
 
struct  GetPot::variable
 

Macros

#define GETPOT_SETTING_THROW_EXCEPTION_ON_DEFAULT   false
 
#define GETPOT_SETTING_DEFAULT_TRUE_STRING_LIST   "true True TRUE yes Yes YES"
 
#define GETPOT_SETTING_DEFAULT_FALSE_STRING_LIST   "false False FALSE no No NO"
 
#define GETPOT_STR_FILE   "File"
 
#define GETPOT_STR_FILE_NOT_FOUND(FILE)   std::string("File \"") + FILE + "\" not found."
 
#define GETPOT_STR_REACHED_END_OF_CONSTRAINT   std::string("Unexpected end of constraint string reached")
 
#define GETPOT_STR_MISSING_VARIABLE   "missing variable"
 
#define GETPOT_STR_VARIABLE   "variable"
 
#define GETPOT_STR_VALUE   "for the value (read in configuration file)"
 
#define GETPOT_STR_WITH_TYPE   "of type"
 
#define GETPOT_STR_IN_SECTION   "in section"
 
#define GETPOT_STR_CANNOT_CONVERT_TO(X, TYPE)   std::string("Cannot convert '") + X + "' to type " + (TYPE) + "."
 
#define GETPOT_STR_DOES_NOT_SATISFY_CONSTRAINT   "does not fulfill the constraint"
 
#define GETPOT_STR_DOES_NOT_CONTAIN_ELEMENT   "does not contain element"
 
#define GETPOT_STR_TRUE_FALSE_UNDEFINED   "GetPot: no strings defined for meaning of 'true' and 'false'."
 

Typedefs

typedef std::vector< std::string > STRING_VECTOR
 

Macro Definition Documentation

◆ GETPOT_SETTING_DEFAULT_FALSE_STRING_LIST

#define GETPOT_SETTING_DEFAULT_FALSE_STRING_LIST   "false False FALSE no No NO"

Definition at line 38 of file GetPot.hpp.

◆ GETPOT_SETTING_DEFAULT_TRUE_STRING_LIST

#define GETPOT_SETTING_DEFAULT_TRUE_STRING_LIST   "true True TRUE yes Yes YES"

Definition at line 35 of file GetPot.hpp.

◆ GETPOT_SETTING_THROW_EXCEPTION_ON_DEFAULT

#define GETPOT_SETTING_THROW_EXCEPTION_ON_DEFAULT   false

Definition at line 32 of file GetPot.hpp.

◆ GETPOT_STR_CANNOT_CONVERT_TO

#define GETPOT_STR_CANNOT_CONVERT_TO (   X,
  TYPE 
)    std::string("Cannot convert '") + X + "' to type " + (TYPE) + "."

Definition at line 58 of file GetPot.hpp.

◆ GETPOT_STR_DOES_NOT_CONTAIN_ELEMENT

#define GETPOT_STR_DOES_NOT_CONTAIN_ELEMENT   "does not contain element"

Definition at line 60 of file GetPot.hpp.

◆ GETPOT_STR_DOES_NOT_SATISFY_CONSTRAINT

#define GETPOT_STR_DOES_NOT_SATISFY_CONSTRAINT   "does not fulfill the constraint"

Definition at line 59 of file GetPot.hpp.

◆ GETPOT_STR_FILE

#define GETPOT_STR_FILE   "File"

Definition at line 50 of file GetPot.hpp.

◆ GETPOT_STR_FILE_NOT_FOUND

#define GETPOT_STR_FILE_NOT_FOUND (   FILE)    std::string("File \"") + FILE + "\" not found."

Definition at line 51 of file GetPot.hpp.

◆ GETPOT_STR_IN_SECTION

#define GETPOT_STR_IN_SECTION   "in section"

Definition at line 57 of file GetPot.hpp.

◆ GETPOT_STR_MISSING_VARIABLE

#define GETPOT_STR_MISSING_VARIABLE   "missing variable"

Definition at line 53 of file GetPot.hpp.

◆ GETPOT_STR_REACHED_END_OF_CONSTRAINT

#define GETPOT_STR_REACHED_END_OF_CONSTRAINT   std::string("Unexpected end of constraint string reached")

Definition at line 52 of file GetPot.hpp.

◆ GETPOT_STR_TRUE_FALSE_UNDEFINED

#define GETPOT_STR_TRUE_FALSE_UNDEFINED   "GetPot: no strings defined for meaning of 'true' and 'false'."

Definition at line 61 of file GetPot.hpp.

◆ GETPOT_STR_VALUE

#define GETPOT_STR_VALUE   "for the value (read in configuration file)"

Definition at line 55 of file GetPot.hpp.

◆ GETPOT_STR_VARIABLE

#define GETPOT_STR_VARIABLE   "variable"

Definition at line 54 of file GetPot.hpp.

◆ GETPOT_STR_WITH_TYPE

#define GETPOT_STR_WITH_TYPE   "of type"

Definition at line 56 of file GetPot.hpp.

Typedef Documentation

◆ STRING_VECTOR

typedef std::vector<std::string> STRING_VECTOR

Definition at line 91 of file GetPot.hpp.