Elements
5.10
A C++ base framework for the Euclid Software.
ElementsKernel
ElementsKernel
Configuration.h
Go to the documentation of this file.
1
34
#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_CONFIGURATION_H_
35
#define ELEMENTSKERNEL_ELEMENTSKERNEL_CONFIGURATION_H_
36
37
#include <string>
// for string
38
#include <vector>
// for vector
39
#include <boost/filesystem/path.hpp>
// for path
40
41
#include "
ElementsKernel/Export.h
"
// ELEMENTS_API
42
43
namespace
Elements
{
44
45
ELEMENTS_API
std::string
getConfigurationVariableName
();
46
47
template
<
typename
T>
48
ELEMENTS_API
boost::filesystem::path
getConfigurationPath
(
const
T& file_name,
bool
raise_exception =
true
);
49
50
// Instantiation of the most expected types
51
extern
template
52
ELEMENTS_API
boost::filesystem::path
getConfigurationPath
(
const
boost::filesystem::path
& file_name,
53
bool
raise_exception);
54
extern
template
55
ELEMENTS_API
boost::filesystem::path
getConfigurationPath
(
const
std::string
& file_name,
56
bool
raise_exception);
57
58
ELEMENTS_API
std::vector<boost::filesystem::path>
getConfigurationLocations
(
bool
exist_only =
false
);
59
60
}
// namespace Elements
61
62
#include "
ElementsKernel/_impl/Configuration.icpp
"
63
64
#endif // ELEMENTSKERNEL_ELEMENTSKERNEL_CONFIGURATION_H_
65
Export.h
defines the macros to be used for explicit export of the symbols
std::string
STL class.
std::vector
STL class.
ElementsServices::DataSync::path
boost::filesystem::path path
Definition:
DataSyncUtils.h:38
Elements::getConfigurationPath
ELEMENTS_API boost::filesystem::path getConfigurationPath(const T &file_name, bool raise_exception=true)
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
Elements::getConfigurationVariableName
ELEMENTS_API std::string getConfigurationVariableName()
Definition:
Configuration.cpp:43
Elements::getConfigurationLocations
ELEMENTS_API std::vector< boost::filesystem::path > getConfigurationLocations(bool exist_only=false)
Definition:
Configuration.cpp:51
Configuration.icpp
Elements
Definition:
ClassExample.h:38
Generated by
1.8.18