eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
EnvHelpers.hpp
Go to the documentation of this file.
1
/*
2
** This file is part of eOn.
3
**
4
** SPDX-License-Identifier: BSD-3-Clause
5
**
6
** Copyright (c) 2010--present, eOn Development Team
7
** All rights reserved.
8
**
9
** Repo:
10
** https://github.com/TheochemUI/eOn
11
*/
12
#pragma once
13
#include <string>
14
15
namespace
eonc
{
16
17
namespace
helpers
{
18
[[nodiscard]] std::string
get_value_from_env_or_param
(
19
const
char
*env_variable,
const
std::string ¶m_value,
20
const
std::string &default_value =
""
,
21
const
std::string &warning_message =
""
,
const
bool
is_mandatory =
false
);
22
}
23
24
}
// namespace eonc
eonc::helpers
Definition
EnvHelpers.cc:5
eonc::helpers::get_value_from_env_or_param
std::string get_value_from_env_or_param(const char *env_variable, const std::string ¶m_value, const std::string &default_value, const std::string &warning_message, const bool is_mandatory)
Definition
EnvHelpers.cc:7
eonc
RAII resource manager for the ARTn C library with global synchronization.
Definition
ARTnSaddleSearch.cpp:19
include
eon
EnvHelpers.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf