Elements  5.12.0
A C++ base framework for the Euclid Software.
Auxiliary.h
Go to the documentation of this file.
1 
34 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_AUXILIARY_H_
35 #define ELEMENTSKERNEL_ELEMENTSKERNEL_AUXILIARY_H_
36 
37 #include <string> // for string
38 #include <vector> // for vector
39 
40 #include "ElementsKernel/Path.h" // for Path::Item
41 #include "ElementsKernel/Export.h" // ELEMENTS_API
42 
43 namespace Elements {
44 
46 
47 template <typename T>
48 ELEMENTS_API Path::Item getAuxiliaryPath(const T& file_name, bool raise_exception = true);
49 
50 // instantiation of the most expected types
51 extern template
53  bool raise_exception);
54 extern template
56  bool raise_exception);
57 
59 
60 
65 } // namespace Elements
66 
67 #define ELEMENTSKERNEL_ELEMENTSKERNEL_AUXILIARY_IMPL_
69 #undef ELEMENTSKERNEL_ELEMENTSKERNEL_AUXILIARY_IMPL_
70 
71 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_AUXILIARY_H_
72 
defines the macros to be used for explicit export of the symbols
provide functions to retrieve resources pointed by environment variables
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74
boost::filesystem::path Item
Definition: Path.h:61
ELEMENTS_API std::vector< Path::Item > getAuxiliaryLocations(bool exist_only=false)
Definition: Auxiliary.cpp:48
ELEMENTS_API Path::Item getAuxiliaryPath(const T &file_name, bool raise_exception=true)
ELEMENTS_API std::string getAuxiliaryVariableName()
Definition: Auxiliary.cpp:40