22 using boost::property_tree::ptree;
27 : m_name(name), m_preferences(preferences)
31 Exploration::Exploration(
const ptree& pt)
37 : m_name(other.m_name), m_preferences(other.m_preferences)
44 m_name = other.m_name;
45 m_preferences = other.m_preferences;
54 pt.put(
"name", m_name);
55 pt.put_child(
"preferences", m_preferences);
59 void Exploration::ReadPtree(
const ptree& pt)
61 m_name = pt.get<std::string>(
"name");
62 m_preferences = pt.get_child(
"preferences");
Interface for Exploration.
Exploration(const std::string &name, const boost::property_tree::ptree &preferences)
Constructor.
virtual boost::property_tree::ptree ToPtree() const
Convert the exploration to a ptree.
Exploration & operator=(const Exploration &other)
Assignment operator.
Namespace for SimPT parameter explorer package.
Class describing a generic exploration.