Mantid
Loading...
Searching...
No Matches
PropertyManagerFactory.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include <boost/python/dict.hpp>
10#include <memory>
11
12namespace Mantid {
13namespace Kernel {
14class PropertyManager;
15}
16namespace PythonInterface {
17namespace Registry {
18
20std::shared_ptr<Kernel::PropertyManager> createPropertyManager(const boost::python::dict &mapping);
21} // namespace Registry
22} // namespace PythonInterface
23} // namespace Mantid
MANTID_KERNEL_DLL PropertyManager_sptr createPropertyManager(const Json::Value &keyValues)
Attempt to create a PropertyManager from the Json::Value.
Helper class which provides the Collimation Length for SANS instruments.