DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
21namespace OksSystem {
22
28
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
Wrapper for environnement variable manipulation.
static std::string get(const std::string &key)
get a environnement variable
static void set(const std::string &key, const std::string &value)
sets an environnement variable