49 std::map<Value, std::string> map;
51 for (
auto &oppositePair : opposite) {
52 map.emplace(oppositePair.second, oppositePair.first);
63 const auto enumValue =
value.getValue();
65 return Json::Value(
true);
67 return Json::Value(
false);
double value
The value of the point.
OptionalBool : Tri-state bool.
static std::map< Value, std::string > enumToStrMap()
static std::map< std::string, Value > strToEmumMap()
bool operator==(const OptionalBool &other) const
bool operator!=(const OptionalBool &other) const
static const std::string StrUnset
static const std::string StrFalse
static const std::string StrTrue
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
MANTID_KERNEL_DLL std::istream & operator>>(std::istream &, Interpolation &)
Reads in parameter value.
MANTID_KERNEL_DLL::Json::Value encodeAsJson(const OptionalBool &)
Encode an OptionalBool as a Json::Value.
T operator()(const Json::Value &)