Go to the documentation of this file.
26 bool _visitEnter(
const std::string& key,
const std::string& type,
size_t numChildren);
29 template <
class Navigator>
35 items.top()->addChild(
43 const std::string&
value,
44 const std::string& typeName)
const
47 cols.insert(
columnKey, QString::fromStdString(key));
49 cols.insert(
columnType, QString::fromStdString(typeName));
53 template <
class Navigator>
57 std::stringstream
value;
62 template <
class Navigator>
76 std::stack<QTreeWidgetItem*>
items;
std::stack< QTreeWidgetItem * > items
QStringList makeValueRowStrings(const std::string &key, Navigator &n, const std::string &typeName) const
constexpr auto n() noexcept
void streamValueText(Navigator &n, std::stringstream &ss) const
std::shared_ptr< Value > value()
Brief description of class Navigator.
bool _visitEnter(const std::string &key, const std::string &type, size_t numChildren)
std::stack< QTreeWidgetItem * > rootItems
virtual ~TreeDataVisitorBase()
void setColumns(int key, int value, int type)
QStringList makeValueRowStrings(const std::string &key, const std::string &value, const std::string &typeName) const
bool addValueRow(const std::string &key, Navigator &n, const std::string &typeName)