Nebula
Loading...
Searching...
No Matches
posixenvironment.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
10#include "core/types.h"
11#include "util/string.h"
12
13//------------------------------------------------------------------------------
14namespace Posix
15{
17{
18public:
20 static bool Exists(const Util::String& envVarName);
22 static Util::String Read(const Util::String& envVarName);
23};
24
25} // namespace Posix
26//------------------------------------------------------------------------------
27
Provides read-access to environment variables.
Definition posixenvironment.h:17
static bool Exists(const Util::String &envVarName)
return true if env-variable exists
Definition posixenvironment.cc:16
static Util::String Read(const Util::String &envVarName)
get value of existing env-variable
Definition posixenvironment.cc:25
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21
Nebula's universal string class.
Definition string.h:50