DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
okssystem
include
okssystem
Environment.hpp
Go to the documentation of this file.
1
// DUNE DAQ modification notice:
2
// This file has been modified from the original ATLAS system source for the DUNE DAQ project.
3
// Fork baseline commit: system-00-00-20 (2020-09-25).
4
// Renamed since fork: yes (from system/Environment.h to include/okssystem/Environment.hpp).
5
6
/*
7
* Environment.h
8
* OksSystem
9
*
10
* Created by Matthias Wiesmann on 11.01.05.
11
* Copyright 2005 CERN. All rights reserved.
12
*
13
*/
14
15
#ifndef OKSSYSTEM_ENVIRONMENT
16
#define OKSSYSTEM_ENVIRONMENT
17
18
#include <map>
19
#include <string>
20
21
namespace
OksSystem
{
22
28
29
struct
Environment
30
{
31
static
std::string
get
(
const
std::string& key);
32
static
void
set
(
const
std::string& key,
const
std::string& value);
33
static
void
set
(
const
std::map<std::string, std::string>& values);
34
};
// Environment
35
}
// OksSystem
36
37
#endif
OksSystem
Definition
Descriptor.hpp:22
OksSystem::Environment
Wrapper for environnement variable manipulation.
Definition
Environment.hpp:30
OksSystem::Environment::get
static std::string get(const std::string &key)
get a environnement variable
Definition
Environment.cpp:59
OksSystem::Environment::set
static void set(const std::string &key, const std::string &value)
sets an environnement variable
Definition
Environment.cpp:29
Generated on
for DUNE-DAQ by
1.18.0