8 #define SCARAB_API_EXPORTS 12 using std::stringstream;
30 for(
unsigned ind = 0; ind <
f_contents.size(); ++ind )
40 for(
unsigned ind = 0; ind <
f_contents.size(); ++ind )
42 f_contents[ind] = orig.f_contents[ ind ]->move_clone();
56 for(
unsigned ind = 0; ind < rhs.
f_contents.size(); ++ind )
68 for(
unsigned ind = 0; ind < rhs.f_contents.size(); ++ind )
70 f_contents[ind] = rhs.f_contents[ ind ]->move_clone();
78 if( ! a_subset.
is_array() )
return false;
81 contents::const_iterator t_this_it =
f_contents.begin();
82 contents::const_iterator t_that_it = t_subset_array.
f_contents.begin();
83 while( t_that_it != t_subset_array.
f_contents.end() )
85 if( ! (*t_this_it)->has_subset( **t_that_it ) )
return false;
98 out <<
'\n' << indentation <<
"[\n";
99 param::s_indent_level++;
102 out << indentation <<
" " << **it <<
'\n';
104 param::s_indent_level--;
105 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)