Developer documentation
Version 3.0.3-105-gd3941f44
MR::File::Config Class Reference

#include "file/config.h"

Static Public Member Functions

static void init ()
static void set (const std::string &key, const std::string &value)
static std::string get (const std::string &key)
static std::string get (const std::string &key, const std::string &default_value)
static bool get_bool (const std::string &key, bool default_value)
static int get_int (const std::string &key, int default_value)
static float get_float (const std::string &key, float default_value)
static void get_RGB (const std::string &key, float *ret, float default_R, float default_G, float default_B)

Detailed Description

Definition at line 28 of file config.h.

Member Function Documentation

◆ get() [1/2]

static std::string MR::File::Config::get ( const std::string &  key)

Definition at line 36 of file config.h.

◆ get() [2/2]

static std::string MR::File::Config::get ( const std::string &  key,
const std::string &  default_value 

Definition at line 40 of file config.h.

◆ get_bool()

static bool MR::File::Config::get_bool ( const std::string &  key,
bool  default_value 

◆ get_float()

static float MR::File::Config::get_float ( const std::string &  key,
float  default_value 

◆ get_int()

static int MR::File::Config::get_int ( const std::string &  key,
int  default_value 

◆ get_RGB()

static void MR::File::Config::get_RGB ( const std::string &  key,
float *  ret,
float  default_R,
float  default_G,
float  default_B 

◆ init()

static void MR::File::Config::init ( )

◆ set()

static void MR::File::Config::set ( const std::string &  key,
const std::string &  value 

Definition at line 33 of file config.h.

The documentation for this class was generated from the following file: