27 Group(
const std::string& label = {});
43 const std::string key = n->getPath().size() > 0 ? n->getPath().getLastElement() :
"";
54 const std::string key = n->getPath().getLastElement();
63 bool visitEnter(
const std::string& key,
const std::string& type,
size_t size);
69 const std::string key = b->getPath().getLastElement();
75 const std::string key = d->getPath().getLastElement();
81 const std::string key = f->getPath().getLastElement();
87 const std::string key = i->getPath().getLastElement();
93 const std::string key = l->getPath().getLastElement();
100 const std::string key =
string->getPath().getLastElement();
101 this->addValueLabel(key, *
s,
"string");
107 const std::string key = array->getPath().getLastElement();
114 << (unknown ? unknown->getFullName() :
"nullptr");
119 template <
class DataT>
120 void addValueLabel(
const std::string& key, DataT& n,
const std::string& typeName)
122 checkGroupsNotEmpty();
125 .add(
Label(key), {g.nextRow, 0})
126 .add(
Label(
"(" + typeName +
")"), {g.nextRow, 1})
127 .add(
Label(
"= " + getValueText(n)), {g.nextRow, 2})
132 template <
class DataT>
133 std::string getValueText(DataT& n)
135 std::stringstream ss;
136 streamValueText(n, ss);
140 template <
class DataT>
141 void streamValueText(DataT& n, std::stringstream& ss)
146 void streamValueText(aron::data::NDArray& n, std::stringstream& ss);
148 void checkGroupsNotEmpty()
const;