9#include "MantidDataHandling/DllConfig.h"
14#include <unordered_map>
18namespace DataHandling {
29 using ContainerIndex = std::unordered_map<std::string, Geometry::Container_const_sptr>;
35 inline const std::string &
name()
const {
return m_name; }
37 inline size_t ncans()
const {
return m_cans.size(); }
39 inline size_t ncomponents()
const {
return m_components.size(); }
Defines the properties of a named SampleEnvironment setup.
std::vector< Geometry::IObject_const_sptr > ComponentList
ComponentList m_components
std::unordered_map< std::string, Geometry::Container_const_sptr > ContainerIndex
size_t ncomponents() const
const std::string & name() const
std::unique_ptr< SampleEnvironmentSpec > SampleEnvironmentSpec_uptr
unique_ptr to a SampleEnvironmentSpec
std::unique_ptr< const SampleEnvironmentSpec > SampleEnvironmentSpec_const_uptr
unique_ptr to a const SampleEnvironmentSpec
std::shared_ptr< const Container > Container_const_sptr
Typdef for a shared pointer to a const object.
std::unique_ptr< SampleEnvironment > SampleEnvironment_uptr
std::shared_ptr< const IObject > IObject_const_sptr
Typdef for a shared pointer to a const object.
Helper class which provides the Collimation Length for SANS instruments.