130 std::map<string, string, std::less<>> dprops;
131 std::map<string, string, std::less<>> cprops;
132 std::map<string, string, std::less<>> aprops;
133 Define_citer di = _def_list.begin();
134 Define_citer de = _def_list.end();
135 for (; di != de; di++) {
136 string def_name = (*di).first;
140 dprops[
"name"] = def_name;
141 info.begin_tag(
"definition", &dprops);
143 auto ci = def->first_container();
144 auto ce = def->end_container();
145 for (; ci != ce; ci++) {
148 string sym = (*ci)->get_symbolic_name();
149 cprops[
"name"] = sym;
152 string real = (*ci)->get_real_name();
154 string type = (*ci)->get_container_type();
155 cprops[
"type"] = type;
157 string con = (*ci)->get_constraint();
159 cprops[
"constraint"] = con;
162 string attrs = (*ci)->get_attributes();
163 if (!attrs.empty()) {
164 cprops[
"attributes"] = attrs;
167 info.add_tag(
"container", real, &cprops);
170 if (!def->get_agg_handler().empty()) {
172 aprops[
"handler"] = def->get_agg_handler();
173 info.add_tag(
"aggregation", def->get_agg_cmd(), &aprops);
176 info.end_tag(
"definition");
189 strm << BESIndent::LMarg <<
"BESDefinitionStorageVolatile::dump - (" << (
void *)
this <<
")" << endl;
191 strm << BESIndent::LMarg <<
"name: " <<
get_name() << endl;
192 if (_def_list.size()) {
193 strm << BESIndent::LMarg <<
"definitions:" << endl;
195 Define_citer di = _def_list.begin();
196 Define_citer de = _def_list.end();
197 for (; di != de; di++) {
198 (*di).second->dump(strm);
200 BESIndent::UnIndent();
203 strm << BESIndent::LMarg <<
"definitions: none" << endl;
205 BESIndent::UnIndent();