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 <string>
19
#include <map>
20
21
namespace
OksSystem
{
22
28
29
struct
Environment
{
30
static
std::string
get
(
const
std::string &key);
31
static
void
set
(
const
std::string &key,
const
std::string & value);
32
static
void
set
(
const
std::map<std::string,std::string> & values);
33
} ;
// Environment
34
}
// OksSystem
35
36
#endif
37
OksSystem
Definition
Descriptor.hpp:22
OksSystem::Environment
Wrapper for environnement variable manipulation.
Definition
Environment.hpp:29
OksSystem::Environment::get
static std::string get(const std::string &key)
get a environnement variable
Definition
Environment.cpp:54
OksSystem::Environment::set
static void set(const std::string &key, const std::string &value)
sets an environnement variable
Definition
Environment.cpp:28
Generated on
for DUNE-DAQ by
1.17.0