Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
BoostOptionalToAlgorithmProperty.h File Reference
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/DllConfig.h"
#include "MantidGeometry/Instrument.h"
#include <boost/lexical_cast.hpp>
#include <boost/optional.hpp>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::API
 

Functions

template<typename T >
Mantid::API::checkForMandatoryInstrumentDefault (Mantid::API::Algorithm *const alg, const std::string &propName, const Mantid::Geometry::Instrument_const_sptr &instrument, const std::string &idf_name)
 BoostOptionalToAlgorithmProperty : Checks for default values of an algorithm property if the user has not supplied the value. More...
 
template<>
MANTID_API_DLL std::string Mantid::API::checkForMandatoryInstrumentDefault (Mantid::API::Algorithm *const alg, const std::string &propName, const Mantid::Geometry::Instrument_const_sptr &instrument, const std::string &idf_name)
 Specializations for std::string. More...
 
template<typename T >
boost::optional< T > Mantid::API::checkForOptionalInstrumentDefault (Mantid::API::Algorithm *const alg, const std::string &propName, const Mantid::Geometry::Instrument_const_sptr &instrument, const std::string &idf_name)
 Checks for the default values of an optional algorithm property associated with an instrument component. More...
 
template<>
MANTID_API_DLL boost::optional< std::string > Mantid::API::checkForOptionalInstrumentDefault (Mantid::API::Algorithm *const alg, const std::string &propName, const Mantid::Geometry::Instrument_const_sptr &instrument, const std::string &idf_name)