Mantid
|
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/Matrix.h"
#include "PropertyManager_fwd.h"
#include <json/value.h>
#include <memory>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | Mantid |
Helper class which provides the Collimation Length for SANS instruments. | |
namespace | Mantid::Kernel |
namespace | Mantid::Kernel::pwvjdetail |
Functions | |
MANTID_KERNEL_DLL PropertyManager_sptr | Mantid::Kernel::createPropertyManager (const Json::Value &keyValues) |
Attempt to create a PropertyManager from the Json::Value. More... | |
template<typename Type > | |
Type | Mantid::Kernel::decode (const Json::Value &value) |
Attempt to decode the given Json::Value as the given Type. More... | |
MANTID_KERNEL_DLL std::unique_ptr< Property > | Mantid::Kernel::decodeAsProperty (const std::string &name, const Json::Value &value) |
Attempt to create a Property of the most appropriate type from a string name and Json value object. More... | |
template<typename ValueType > | |
Json::Value | Mantid::Kernel::encodeAsJson (const Kernel::Matrix< ValueType > &) |
Encode a Matrix as a Json::Value. More... | |
template<typename ValueType > | |
Json::Value | Mantid::Kernel::encodeAsJson (const std::shared_ptr< ValueType > &) |
Encode a shared_ptr by dereferencing a it and encoding its value. More... | |
template<> | |
Json::Value | Mantid::Kernel::encodeAsJson (const std::vector< bool > &vectorValue) |
Specialization to encode a std::vector<bool> value as a Json::Value arrayValue type. More... | |
template<typename ValueType > | |
Json::Value | Mantid::Kernel::encodeAsJson (const std::vector< ValueType > &vectorValue) |
Encode a std::vector value as a Json::Value arrayValue type. More... | |
template<typename ValueType > | |
Json::Value | Mantid::Kernel::encodeAsJson (const ValueType &value) |
Encode a single value as a Json::Value. More... | |