8 #ifndef SCARAB_PARAM_BASE_IMPL_HH_ 9 #define SCARAB_PARAM_BASE_IMPL_HH_ 65 throw error() <<
"Param object is not a value";
71 throw error() <<
"Param object is not an array";
77 throw error() <<
"Param object is not a node";
83 throw error() <<
"Param object is not a value";
89 throw error() <<
"Param object is not an array";
95 throw error() <<
"Param object is not a node";
130 return std::string();
virtual bool is_node() const
param & operator=(const param &rhs)
virtual bool is_value() const
virtual std::string to_string() const
const param_value & operator()() const
Assumes that the parameter is a value, and returns a reference to itself.
const param & operator[](unsigned a_index) const
virtual bool is_null() const
std::unique_ptr< param > param_ptr_t
virtual param_ptr_t move_clone()
virtual param_ptr_t clone() const
virtual bool is_array() const