Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Configuration.cpp File Reference
#include "ElementsKernel/Configuration.h"
#include <algorithm>
#include <map>
#include <string>
#include <vector>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include "ElementsKernel/Path.h"
#include "ElementsKernel/System.h"
Include dependency graph for Configuration.cpp:

Go to the source code of this file.

Namespaces

namespace  Elements
namespace  Elements::Kernel
namespace  Elements::Kernel::Configuration

Functions

ELEMENTS_API std::string Elements::Kernel::getConfigurationVariableName ()
 retrieve the variable name used for the configuration file lookup
template ELEMENTS_API Path::Item Elements::Kernel::getConfigurationPath (const Path::Item &file_name, bool raise_exception)
template ELEMENTS_API Path::Item Elements::Kernel::getConfigurationPath (const std::string &file_name, bool raise_exception)
ELEMENTS_API std::vector< Path::ItemElements::Kernel::getConfigurationLocations (bool exist_only=false)
ELEMENTS_API std::string Elements::Kernel::Configuration::getVariableName ()
 alias for the getAuxiliaryVariableName function
template ELEMENTS_API Path::Item Elements::Kernel::Configuration::getPath (const Path::Item &file_name, bool raise_exception)
template ELEMENTS_API Path::Item Elements::Kernel::Configuration::getPath (const std::string &file_name, bool raise_exception)
ELEMENTS_API std::vector< Path::ItemElements::Kernel::Configuration::getLocations (bool exist_only=false)
 alias for the getConfigurationLocations function

Detailed Description

Date
Feb 8, 2017
Author
Hubert Degaudenzi

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file Configuration.cpp.