8 #define SCARAB_API_EXPORTS 12 using std::stringstream;
32 for(
unsigned ind = 0; ind <
f_contents.size(); ++ind )
42 for(
unsigned ind = 0; ind <
f_contents.size(); ++ind )
44 f_contents[ind] = orig.f_contents[ ind ]->move_clone();
58 for(
unsigned ind = 0; ind < rhs.
f_contents.size(); ++ind )
70 for(
unsigned ind = 0; ind < rhs.f_contents.size(); ++ind )
72 f_contents[ind] = rhs.f_contents[ ind ]->move_clone();
80 if( ! a_subset.
is_array() )
return false;
83 contents::const_iterator t_this_it =
f_contents.begin();
84 contents::const_iterator t_that_it = t_subset_array.
f_contents.begin();
85 while( t_that_it != t_subset_array.
f_contents.end() )
87 if( ! (*t_this_it)->has_subset( **t_that_it ) )
return false;
100 out <<
'\n' << indentation <<
"[\n";
101 param::s_indent_level++;
104 out << indentation <<
" " << **it <<
'\n';
106 param::s_indent_level--;
107 out << indentation <<
"]\n";
param & operator=(const param &rhs)
virtual bool has_subset(const param &a_subset) const
param_array & operator=(const param_array &rhs)
virtual std::string to_string() const
static unsigned s_indent_level
SCARAB_API std::ostream & operator<<(std::ostream &out, const param_array &a_value)
virtual bool is_array() const
void resize(unsigned a_size)