8 #ifndef SCARAB_PARAM_BASE_IMPL_HH_ 9 #define SCARAB_PARAM_BASE_IMPL_HH_ 23 return new param( *
this );
49 throw error() <<
"Param object is not a value";
55 throw error() <<
"Param object is not an array";
61 throw error() <<
"Param object is not a node";
67 throw error() <<
"Param object is not a value";
73 throw error() <<
"Param object is not an array";
79 throw error() <<
"Param object is not a node";
114 return std::string();
virtual bool is_node() const
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
virtual bool is_array() const
virtual param * clone() const