8 #define SCARAB_API_EXPORTS 12 using std::stringstream;
30 for(
unsigned ind = 0; ind <
f_contents.size(); ++ind )
45 for(
unsigned ind = 0; ind < rhs.
f_contents.size(); ++ind )
54 if( ! a_subset.
is_array() )
return false;
57 contents::const_iterator t_this_it =
f_contents.begin();
58 contents::const_iterator t_that_it = t_subset_array.
f_contents.begin();
59 while( t_that_it != t_subset_array.
f_contents.end() )
61 if( ! (*t_this_it)->has_subset( **t_that_it ) )
return false;
71 for(
unsigned ind = a_size; ind < curr_size; ++ind )
85 out <<
'\n' << indentation <<
"[\n";
86 param::s_indent_level++;
89 out << indentation <<
" " << **it <<
'\n';
91 param::s_indent_level--;
92 out << indentation <<
"]\n";
virtual bool has_subset(const param &a_subset) const
param_array & operator=(const param_array &rhs)
virtual std::string to_string() const
virtual param * clone() const
static unsigned s_indent_level
SCARAB_API std::ostream & operator<<(std::ostream &out, const param_array &a_value)
void assign(unsigned a_index, const param &a_value)
virtual bool is_array() const
void resize(unsigned a_size)