Go to the documentation of this file.
33 const std::string& type,
36 QTreeWidgetItem* item =
nullptr;
45 cols.insert(
columnKey, QString::fromStdString(key));
46 cols.insert(
columnValue, QString::number(numChildren) +
" items");
47 cols.insert(
columnType, QString::fromStdString(type));
48 item =
new QTreeWidgetItem(cols);
58 QTreeWidgetItem* item =
items.top();
60 item->setExpanded(
true);
63 items.top()->addChild(item);
std::stack< QTreeWidgetItem * > items
std::vector< int > getShape() const
static std::string DimensionsToString(const std::vector< int > &dimensions)
Return dimensions in a readable string such as "(2, 3, 4)".
void streamValueText(Navigator &n, std::stringstream &ss) const
std::shared_ptr< Value > value()
bool _visitEnter(const std::string &key, const std::string &type, size_t numChildren)
std::stack< QTreeWidgetItem * > rootItems
#define ARMARX_CHECK_POSITIVE(number)
This macro evaluates whether number is positive (> 0) and if it turns out to be false it will throw a...
virtual ~TreeDataVisitorBase()
void setColumns(int key, int value, int type)