Nebula
Toggle main menu visibility
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
//------------------------------------------------------------------------------
14
namespace
Posix
15
{
16
class
PosixEnvironment
17
{
18
public
:
20
static
bool
Exists
(
const
Util::String
& envVarName);
22
static
Util::String
Read
(
const
Util::String
& envVarName);
23
};
24
25
}
// namespace Posix
26
//------------------------------------------------------------------------------
27
Posix::PosixEnvironment
Provides read-access to environment variables.
Definition
posixenvironment.h:17
Posix::PosixEnvironment::Exists
static bool Exists(const Util::String &envVarName)
return true if env-variable exists
Definition
posixenvironment.cc:16
Posix::PosixEnvironment::Read
static Util::String Read(const Util::String &envVarName)
get value of existing env-variable
Definition
posixenvironment.cc:25
Posix
Posix implemention of a read-many write-few lock.
Definition
posixsysfunc.cc:21
string.h
Util.String
Nebula's universal string class.
Definition
String.cs:8
types.h
code
foundation
system
posix
posixenvironment.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.