Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Namespaces | Macros | Functions
conf.cpp File Reference
#include <derecho/conf/conf.hpp>
#include <cstdlib>
#include <sys/stat.h>
#include <unistd.h>
#include <spdlog/sinks/stdout_color_sinks.h>
Include dependency graph for conf.cpp:

Go to the source code of this file.

Classes

struct  derecho::Conf
 The single configuration file for derecho. More...
 

Namespaces

 derecho
 

Macros

#define CONF_UNINITIALIZED   (0)
 
#define CONF_INITIALIZING   (1)
 
#define CONF_INITIALIZED   (2)
 
#define MAKE_LONG_OPT_ENTRY(x)   { x, required_argument, 0, 0 }
 

Functions

const std::string & derecho::getConfString (const std::string &key)
 
const int32_t derecho::getConfInt32 (const std::string &key)
 
const uint32_t derecho::getConfUInt32 (const std::string &key)
 
const int16_t derecho::getConfInt16 (const std::string &key)
 
const uint16_t derecho::getConfUInt16 (const std::string &key)
 
const int64_t derecho::getConfInt64 (const std::string &key)
 
const uint64_t derecho::getConfUInt64 (const std::string &key)
 
const float derecho::getConfFloat (const std::string &key)
 
const double derecho::getConfDouble (const std::string &key)
 
const bool derecho::getConfBoolean (const std::string &key)
 
const bool derecho::hasCustomizedConfKey (const std::string &key)
 

Macro Definition Documentation

◆ CONF_INITIALIZED

#define CONF_INITIALIZED   (2)

Definition at line 27 of file conf.cpp.

◆ CONF_INITIALIZING

#define CONF_INITIALIZING   (1)

Definition at line 26 of file conf.cpp.

◆ CONF_UNINITIALIZED

#define CONF_UNINITIALIZED   (0)

Definition at line 25 of file conf.cpp.

◆ MAKE_LONG_OPT_ENTRY

#define MAKE_LONG_OPT_ENTRY (   x)    { x, required_argument, 0, 0 }

Definition at line 29 of file conf.cpp.