Grok 20.3.2
grk::EnvVarManager Class Reference

#include <EnvVarManager.h>

Static Public Member Functions

static std::optional< std::string > get (const char *name)
static bool test_bool (const char *name, bool default_value=false)
static long get_int (const char *name, long default_value=0)
static std::string get_string (const char *name, const std::string &default_value="")

Member Function Documentation

◆ get()

std::optional< std::string > grk::EnvVarManager::get ( const char * name)
inlinestatic

Referenced by get_int(), get_string(), and test_bool().

◆ get_int()

long grk::EnvVarManager::get_int ( const char * name,
long default_value = 0 )
inlinestatic

References get().

◆ get_string()

std::string grk::EnvVarManager::get_string ( const char * name,
const std::string & default_value = "" )
inlinestatic

References get().

◆ test_bool()

bool grk::EnvVarManager::test_bool ( const char * name,
bool default_value = false )
inlinestatic

References get().


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