16 const Types::Core::DateAndTime &validToDate,
const std::string &filename,
17 const std::string &xmlText,
const std::string &defaultView,
18 const std::string &defaultAxis,
19 const std::shared_ptr<const ComponentInfo> &physicalComponentInfo,
20 const std::shared_ptr<const DetectorInfo> &physicalDetectorInfo)
21 : m_validFromDate(validFromDate), m_validToDate(validToDate), m_filename(filename), m_xmlText(xmlText),
22 m_defaultView(defaultView), m_defaultAxis(defaultAxis), m_physicalComponentInfo(physicalComponentInfo),
23 m_physicalDetectorInfo(physicalDetectorInfo) {}
41 throw std::runtime_error(
"Cannot return reference to NULL physical ComponentInfo");
48 throw std::runtime_error(
"Cannot return reference to NULL physical DetectorInfo");
ComponentInfo : Provides a component centric view on to the instrument.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....