Go to the documentation of this file.
32 #include <SimoxUtility/xml.h>
153 {
"int", {
"int32", {},
"The <int />-tag is deprecated. Please use <int32 /> instead."}},
155 {
"int64", {},
"The <long />-tag is deprecated. Please use <int64 /> instead."}},
157 {
"float32", {},
"The <float />-tag is deprecated. Please use <float32 /> instead."}},
159 {
"float64", {},
"The <double />-tag is deprecated. Please use <float64 /> instead."}},
162 {
"position", {
"matrix rows='3' cols='1' type='float32'", {},
""}},
163 {
"pose", {
"matrix rows='4' cols='4' type='float32'", {},
""}},
164 {
"orientation", {
"quaternion type='float32'", {},
""}},
167 {
"quaternionf", {
"quaternion type='float32'", {},
""}},
168 {
"quaterniond", {
"quaternion type='float64'", {},
""}},
169 {
"vector2f", {
"matrix rows='2' cols='1' type='float32'", {},
""}},
170 {
"vector2d", {
"matrix rows='2' cols='1' type='float64'", {},
""}},
171 {
"vector3f", {
"matrix rows='3' cols='1' type='float32'", {},
""}},
172 {
"vector3d", {
"matrix rows='3' cols='1' type='float64'", {},
""}},
173 {
"vector4f", {
"matrix rows='4' cols='1' type='float32'", {},
""}},
174 {
"vector4d", {
"matrix rows='4' cols='1' type='float64'", {},
""}},
175 {
"matrix2f", {
"matrix rows='2' cols='2' type='float32'", {},
""}},
176 {
"matrix2d", {
"matrix rows='2' cols='2' type='float64'", {},
""}},
177 {
"matrix3f", {
"matrix rows='3' cols='3' type='float32'", {},
""}},
178 {
"matrix3d", {
"matrix rows='3' cols='3' type='float64'", {},
""}},
179 {
"matrix4f", {
"matrix rows='4' cols='4' type='float32'", {},
""}},
180 {
"matrix4d", {
"matrix rows='4' cols='4' type='float64'", {},
""}},
185 {
"armarx::arondto::DateTime",
186 {
"RobotAPI",
"libraries/aron/common/aron/time.xml"},
189 {
"armarx::arondto::DateTime",
190 {
"RobotAPI",
"libraries/aron/common/aron/time.xml"},
193 {
"armarx::arondto::Duration",
194 {
"RobotAPI",
"libraries/aron/common/aron/time.xml"},
198 {
"armarx::armem::arondto::MemoryID",
199 {
"RobotAPI",
"libraries/armem/aron/MemoryID.xml"},
204 {
"armarx::arondto::FramedPosition",
205 {
"RobotAPI",
"libraries/aron/common/aron/framed.xml"},
207 {
"framedorientation",
208 {
"armarx::arondto::FramedOrientation",
209 {
"RobotAPI",
"libraries/aron/common/aron/framed.xml"},
212 {
"armarx::arondto::FramedPose",
213 {
"RobotAPI",
"libraries/aron/common/aron/framed.xml"},
231 const std::string& name);
237 const std::string& att,
238 const std::string& def);
bool HasAttribute(const RapidXmlReaderNode &node, const std::string &att)
const constexpr auto VALUE_ATTRIBUTE_NAME
bool CheckStrIsNumber(const std::string &)
const constexpr auto FLOAT_TAG
const constexpr auto INCLUDE_ATTRIBUTE_NAME
const constexpr auto RGB_SLUG
bool CheckStrIsNumberSeq(const std::string &)
const constexpr auto TUPLE_TAG
void EnforceTagNames(const RapidXmlReaderNode &node, const std::vector< std::string > &names)
const constexpr auto STRING_TAG
const constexpr auto WRITER_ATTRIBUTE_NAME
const constexpr auto CODE_INCLUDES_TAG
std::string GetAttributeWithDefault(const RapidXmlReaderNode &node, const std::string &att, const std::string &def)
const constexpr auto POINT_XYZRGB_SLUG
const constexpr auto NDARRAY_TAG
const constexpr auto CODE_ATTRIBUTE_NAME
const constexpr auto UINT_TAG
const constexpr auto POINT_XYZRGBA_SLUG
const constexpr auto ARON_INCLUDES_TAG
const constexpr auto ENUM_VALUE_TAG
const constexpr auto DOUBLE_TAG
void EnforceTagName(const RapidXmlReaderNode &node, const std::string &name)
const constexpr auto ANY_OBJECT_TAG
bool CheckStrIsFloat(const std::string &)
void EnforceStrIsInt(const std::string &)
std::pair< std::string, std::string > additionalAronDTOXMLIncludePackagePath
bool CheckStrIsBool(const std::string &)
void EnforceChildSize(const RapidXmlReaderNode &node, const size_t size)
bool HasTagName(const RapidXmlReaderNode &node, const std::string &name)
All constantes for the aron XML parser, in addition to some utility functions wrapping around the arm...
const constexpr auto POINT_XYZ_SLUG
const constexpr auto TEMPLATE_ATTRIBUTE_NAME
const constexpr auto TYPE_DEFINITION_TAG
const constexpr auto POINT_XYZHSV_SLUG
const constexpr auto CHAR_SLUG
const constexpr auto SYSTEM_INCLUDE_TAG
const constexpr auto INCLUDES_TAG
const constexpr auto INCLUDE_TAG
const constexpr auto PAIR_TAG
const constexpr auto PACKAGE_PATH_TAG
const constexpr auto ZEROS_SLUG
const constexpr auto ONES_SLUG
std::optional< RapidXmlReaderNode > GetFirstNodeWithTag(const RapidXmlReaderNode &node, const std::string &name)
const constexpr auto DOC_AUTHOR_ATTRIBUTE_NAME
void EnforceStrIsNumberSeq(const std::string &)
const constexpr auto METHOD_ATTRIBUTE_NAME
const constexpr auto UINT_SLUG
const constexpr auto COLS_ATTRIBUTE_NAME
const constexpr auto POINT_XYZL_SLUG
const constexpr auto ARGUMENT_TYPE_ATTRIBUTE_NAME
const constexpr auto DOUBLE_SLUG
const std::vector< std::string > WHATEVER_VALUES
const constexpr auto PATH_ATTRIBUTE_NAME
const constexpr auto MATRIX_TAG
const constexpr auto LONG_TAG
const constexpr auto INT_TAG
const constexpr auto FLOAT_SLUG
const constexpr auto QUATERNION_TAG
const constexpr auto USHORT_TAG
const constexpr auto PACKAGE_ATTRIBUTE_NAME
const constexpr auto DICT_TAG
const constexpr auto BOOL_TAG
const constexpr auto LONG_SLUG
const std::map< std::string, Replacement > REPLACEMENTS
const constexpr auto POINT_CLOUD_TAG
const constexpr auto UCHAR_TAG
std::string GetTagName(const RapidXmlReaderNode &node)
const constexpr auto EXTENDS_ATTRIBUTE_NAME
const constexpr auto TYPE_ATTRIBUTE_NAME
const constexpr auto POINT_XYZI_SLUG
const constexpr auto SHORT_SLUG
const constexpr auto SHARED_PTR_ATTRIBUTE_NAME
const constexpr auto OPTIONAL_ATTRIBUTE_NAME
const constexpr auto IMAGE_TAG
void EnforceStrIsFloat(const std::string &)
const constexpr auto ARON_ATTRIBUTE_NAME
const constexpr auto DEPTH_SLUG
void EnforceChildSizeGreaterEqual(const RapidXmlReaderNode &node, const size_t size)
std::string GetAttribute(const RapidXmlReaderNode &node, const std::string &att)
const simox::meta::IntEnumNames names
std::string deprecatedWarning
const constexpr auto DOC_BRIEF_ATTRIBUTE_NAME
void EnforceAttribute(const RapidXmlReaderNode &node, const std::string &att)
const constexpr auto NAME_ATTRIBUTE_NAME
const constexpr auto LIST_TAG
const constexpr auto UNIQUE_PTR_ATTRIBUTE_NAME
const constexpr auto INT_ENUM_TAG
void EnforceChildSizeSmallerEqual(const RapidXmlReaderNode &node, const size_t size)
const constexpr auto KEY_ATTRIBUTE_NAME
const constexpr auto USHORT_SLUG
const constexpr auto GENERATE_TYPES_TAG
const constexpr auto HEIGHT_ATTRIBUTE_NAME
const constexpr auto WIDTH_ATTRIBUTE_NAME
const constexpr auto INT_SLUG
std::string replacementTag
const constexpr auto DIMENSIONS_ATTRIBUTE_NAME
void EnforceStrIsBool(const std::string &)
const constexpr auto RETURN_ATTRIBUTE_NAME
bool CheckStrIsInt(const std::string &)
const constexpr auto SHORT_TAG
const constexpr auto READER_ATTRIBUTE_NAME
void EnforceChildSizeSmaller(const RapidXmlReaderNode &node, const size_t size)
const constexpr auto OBJECT_CHILD_TAG
const constexpr auto ULONG_TAG
const constexpr auto DEFAULT_ATTRIBUTE_NAME
const constexpr auto CHAR_TAG
const constexpr auto ULONG_SLUG
const constexpr auto RAW_PTR_ATTRIBUTE_NAME
const constexpr auto UCHAR_SLUG
void EnforceChildSizeGreater(const RapidXmlReaderNode &node, const size_t size)
void EnforceStrIsNumber(const std::string &)
const constexpr auto POINT_XYZRGBL_SLUG
const constexpr auto ROWS_ATTRIBUTE_NAME
const constexpr auto DOC_PARAM_ATTRIBUTE_NAME
const constexpr auto IDENTITY_SLUG
const constexpr auto OBJECT_TAG
const constexpr auto SHAPE_ATTRIBUTE_NAME
bool AttributeIsTrue(const RapidXmlReaderNode &node, const std::string &att)