The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Functions | |
bool | mha_hasenv (const std::string &envvar) |
Checks if environment variable exists. More... | |
std::string | mha_getenv (const std::string &envvar) |
Get value of environment variable. More... | |
void | mha_delenv (const std::string &envvar) |
Deletes environment variable from process environment if it exists. More... | |
int | mha_setenv (const std::string &envvar, const std::string &value) |
Set value of environment variable. More... | |
std::list< std::string > | mha_library_paths () |
std::list< std::string > | list_dir (const std::string &path, const std::string &pattern) |
bool mha_hasenv | ( | const std::string & | envvar | ) |
Checks if environment variable exists.
envvar | Name of environment variable to check |
std::string mha_getenv | ( | const std::string & | envvar | ) |
Get value of environment variable.
envvar | Name of environment variable to retrieve |
void mha_delenv | ( | const std::string & | envvar | ) |
Deletes environment variable from process environment if it exists.
envvar | Name of environment variable to delete |
int mha_setenv | ( | const std::string & | envvar, |
const std::string & | value | ||
) |
Set value of environment variable.
envvar | Name of environment variable to set |
value | New content for environment variable |
std::list<std::string> mha_library_paths | ( | ) |
std::list<std::string> list_dir | ( | const std::string & | path, |
const std::string & | pattern | ||
) |