Go to the documentation of this file.
17 #include <SimoxUtility/algorithm/string/string_tools.h>
36 const std::string key =
data->getPath().getLastElement();
48 const std::string key =
data->getPath().getLastElement();
60 const std::string key =
data->getPath().getLastElement();
72 const std::string key =
data->getPath().getLastElement();
86 const std::string key =
data->getPath().getLastElement();
96 const std::string key =
data->getPath().getLastElement();
106 const std::string key =
data->getPath().getLastElement();
116 const std::string key =
data->getPath().getLastElement();
126 const std::string key =
data->getPath().getLastElement();
136 const std::string key =
data->getPath().getLastElement();
158 const std::string key =
data->getPath().getLastElement();
168 const std::string key =
data->getPath().getLastElement();
178 const std::string key =
data->getPath().getLastElement();
188 const std::string key =
data->getPath().getLastElement();
199 template <
class DataNavigatorT,
class TypeNavigatorT>
200 bool addValueRow(
const std::string& key,
const DataNavigatorT&
data,
const TypeNavigatorT& type)
202 if (
items.size() > 0)
205 items.top()->addChild(item);
208 item->setData(
columnType, Qt::UserRole,
int(type.getDescriptor()));
213 font.setFamily(
"Consolas");
214 font.setStyleHint(QFont::Monospace);
215 font.setFixedPitch(
true);
216 font.setPointSize(10);
223 template <
class DataNavigatorT,
class TypeNavigatorT>
224 QTreeWidgetItem*
makeItem(
const std::string& key,
const DataNavigatorT&
data,
const TypeNavigatorT& type)
const
226 std::stringstream ss;
235 std::stringstream es;
237 ss << simox::alg::replace_all(es.str(),
"\n",
" | ");
243 template <
class DataNavigatorT,
class TypeNavigatorT>
bool addValueRow(const std::string &key, const DataNavigatorT &data, const TypeNavigatorT &type)
void streamOrientationText(const aron::data::NDArray &data, const aron::type::Matrix &type, std::stringstream &ss) const
void visitDouble(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
A base class for aron exceptions.
std::stack< QTreeWidgetItem * > items
std::shared_ptr< Variant > VariantPtr
void visitListOnExit(const aron::data::VariantPtr &, const aron::type::VariantPtr &) override
std::string sanitizeTypeName(const std::string &typeName)
void visitFloat(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitListOnEnter(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
void visitBool(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitString(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitPointCloud(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitInt(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitTupleOnExit(const aron::data::VariantPtr &, const aron::type::VariantPtr &) override
static PointerType DynamicCastAndCheck(const VariantPtr &n)
void visitImage(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void streamValueText(Navigator &n, std::stringstream &ss) const
void streamPoseText(const aron::data::NDArray &data, const aron::type::Matrix &type, std::stringstream &ss) const
std::shared_ptr< Variant > VariantPtr
QTreeWidgetItem * makeItem(const std::string &key, const DataNavigatorT &data, const TypeNavigatorT &type) const
void visitObjectOnEnter(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitQuaternion(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitObjectOnExit(const aron::data::VariantPtr &, const aron::type::VariantPtr &) override
void streamPositionText(const aron::data::NDArray &data, const aron::type::Matrix &type, std::stringstream &ss) const
void visitDictOnExit(const aron::data::VariantPtr &, const aron::type::VariantPtr &) override
bool _visitEnter(const std::string &key, const std::string &type, size_t numChildren)
QStringList makeValueRowStrings(const std::string &key, const std::string &value, const std::string &typeName) const
void visitDictOnEnter(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
QStringList serializePath(const aron::Path &path)
static std::shared_ptr< Bool > DynamicCastAndCheck(const VariantPtr &n)
void visitMatrix(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void visitLong(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override
void streamValueText(const DataNavigatorT &data, const TypeNavigatorT &type, std::stringstream &ss) const
void visitTupleOnEnter(const aron::data::VariantPtr &data, const aron::type::VariantPtr &type) override