zorba::PropertiesBase

#include <zorba/properties_base.h>

Protected Attributes

std::vector< std::string >

thePositionalArgs

Public Functions

std::string

check_args()

void

copy_args(const char **argv)

const char **

get_all_options() const =0

const std::vector< std::string > &

getPositionalArgs() const

void

init_val(const char *str, T &val, unsigned delta=0)

ZORBA_DLL_PUBLIC void

init_val(const char *str, std::string &val, unsigned delta)

ZORBA_DLL_PUBLIC void

init_val(const char *str, std::vector< std::string > &val, unsigned delta)

std::string

load_all(const char *cfgFilename, const std::string &env_pfx, int argc, const char **argv)

std::string

load_argv(int argc, const char **argv)=0

std::string

load_env(const std::string &env_pfx)

std::string

load_env(const std::string &env_pfx, const char **options)

std::string

load_file(const char *fname)

~PropertiesBase()

Protected Attributes

thePositionalArgs

std::vector< std::string > thePositionalArgs

Public Functions

check_args

std::string check_args()

copy_args

void copy_args(const char **argv)

get_all_options

const char ** get_all_options() const =0

getPositionalArgs

const std::vector< std::string > & getPositionalArgs() const

init_val

void init_val(const char *str, T &val, unsigned delta=0)

init_val

ZORBA_DLL_PUBLIC void init_val(const char *str, std::string &val, unsigned delta)

init_val

ZORBA_DLL_PUBLIC void init_val(const char *str, std::vector< std::string > &val, unsigned delta)

load_all

std::string load_all(const char *cfgFilename, const std::string &env_pfx, int argc, const char **argv)

load_argv

std::string load_argv(int argc, const char **argv)=0

load_env

std::string load_env(const std::string &env_pfx)

load_env

std::string load_env(const std::string &env_pfx, const char **options)

load_file

std::string load_file(const char *fname)

~PropertiesBase

 ~PropertiesBase()