#include <ArmarXCore/core/rapidxml/wrapper/RapidXmlReader.h>
|
bool | attribute_as_bool (const char *attrName, const std::string &trueValue, const std::string &falseValue) const |
|
float | attribute_as_float (const char *attrName) const |
|
bool | attribute_as_optional_bool (const char *name, const std::string &trueValue, const std::string &falseValue, bool defaultValue) const |
|
uint32_t | attribute_as_uint (const char *attrName) const |
|
std::string | attribute_value (const char *attrName) const |
|
std::string | attribute_value_or_default (const char *attrName, const std::string &defaultValue) const |
|
RapidXmlReaderNode | first_node (const char *name=nullptr) const |
|
std::string | first_node_value (const char *nodeName=nullptr) const |
|
std::string | first_node_value_or_default (const char *name, const std::string &defaultValue) const |
|
RapidXmlReaderNode | first_node_with_attr_value (const char *tagName, const char *attrName, const char *attrValue) const |
|
std::vector< std::pair< std::string, std::string > > | get_all_attributes () const |
|
rapidxml::xml_node * | get_node_ptr () const |
| get_node_ptr only for legacy code. More...
|
|
std::vector< std::string > | getChildPaths () const |
|
std::string | getParentPath () const |
|
std::string | getPath () const |
|
bool | has_attribute (const char *attrName) const |
|
bool | has_attribute_with_value (const char *attrName, const char *attrValue) const |
|
bool | has_node (const char *nodeName) const |
|
bool | is_valid () const |
|
std::string | name () const |
|
RapidXmlReaderNode | next_sibling (const char *name=nullptr) const |
|
void | nodes (const char *name, std::vector< RapidXmlReaderNode > &vec) const |
|
std::vector< RapidXmlReaderNode > | nodes (const char *name1, const char *name2) const |
|
std::vector< RapidXmlReaderNode > | nodes (const char *name1, const char *name2, const char *name3) const |
|
void | nodes (const char *name1, const char *name2, std::vector< RapidXmlReaderNode > &vec) const |
|
std::vector< RapidXmlReaderNode > | nodes (const char *name=nullptr) const |
|
RapidXmlReaderNode | parent_node () const |
|
std::string | toString () const |
|
rapidxml::node_type | type () |
|
std::string | value () const |
|
float | value_as_float () const |
|
int16_t | value_as_int16 () const |
|
int32_t | value_as_int32 () const |
|
uint16_t | value_as_uint16 () const |
|
uint32_t | value_as_uint32 () const |
|
Definition at line 68 of file RapidXmlReader.h.
◆ attribute_as_bool()
bool attribute_as_bool |
( |
const char * |
attrName, |
|
|
const std::string & |
trueValue, |
|
|
const std::string & |
falseValue |
|
) |
| const |
|
inline |
◆ attribute_as_float()
float attribute_as_float |
( |
const char * |
attrName | ) |
const |
|
inline |
◆ attribute_as_optional_bool()
bool attribute_as_optional_bool |
( |
const char * |
name, |
|
|
const std::string & |
trueValue, |
|
|
const std::string & |
falseValue, |
|
|
bool |
defaultValue |
|
) |
| const |
|
inline |
◆ attribute_as_uint()
uint32_t attribute_as_uint |
( |
const char * |
attrName | ) |
const |
|
inline |
◆ attribute_value()
std::string attribute_value |
( |
const char * |
attrName | ) |
const |
|
inline |
◆ attribute_value_or_default()
std::string attribute_value_or_default |
( |
const char * |
attrName, |
|
|
const std::string & |
defaultValue |
|
) |
| const |
|
inline |
◆ first_node()
◆ first_node_value()
std::string first_node_value |
( |
const char * |
nodeName = nullptr | ) |
const |
|
inline |
◆ first_node_value_or_default()
std::string first_node_value_or_default |
( |
const char * |
name, |
|
|
const std::string & |
defaultValue |
|
) |
| const |
|
inline |
◆ first_node_with_attr_value()
RapidXmlReaderNode first_node_with_attr_value |
( |
const char * |
tagName, |
|
|
const char * |
attrName, |
|
|
const char * |
attrValue |
|
) |
| const |
|
inline |
◆ get_all_attributes()
std::vector<std::pair<std::string, std::string> > get_all_attributes |
( |
| ) |
const |
|
inline |
◆ get_node_ptr()
get_node_ptr only for legacy code.
- Returns
- internal pointer
Definition at line 128 of file RapidXmlReader.h.
◆ getChildPaths()
std::vector<std::string> getChildPaths |
( |
| ) |
const |
|
inline |
◆ getParentPath()
std::string getParentPath |
( |
| ) |
const |
|
inline |
◆ getPath()
std::string getPath |
( |
| ) |
const |
|
inline |
◆ has_attribute()
bool has_attribute |
( |
const char * |
attrName | ) |
const |
|
inline |
◆ has_attribute_with_value()
bool has_attribute_with_value |
( |
const char * |
attrName, |
|
|
const char * |
attrValue |
|
) |
| const |
|
inline |
◆ has_node()
bool has_node |
( |
const char * |
nodeName | ) |
const |
|
inline |
◆ is_valid()
◆ name()
std::string name |
( |
| ) |
const |
|
inline |
◆ next_sibling()
◆ nodes() [1/5]
◆ nodes() [2/5]
◆ nodes() [3/5]
std::vector<RapidXmlReaderNode> nodes |
( |
const char * |
name1, |
|
|
const char * |
name2, |
|
|
const char * |
name3 |
|
) |
| const |
|
inline |
◆ nodes() [4/5]
void nodes |
( |
const char * |
name1, |
|
|
const char * |
name2, |
|
|
std::vector< RapidXmlReaderNode > & |
vec |
|
) |
| const |
|
inline |
◆ nodes() [5/5]
◆ NullNode()
◆ parent_node()
◆ toString()
std::string toString |
( |
| ) |
const |
|
inline |
◆ type()
◆ value()
std::string value |
( |
| ) |
const |
|
inline |
◆ value_as_float()
float value_as_float |
( |
| ) |
const |
|
inline |
◆ value_as_int16()
int16_t value_as_int16 |
( |
| ) |
const |
|
inline |
◆ value_as_int32()
int32_t value_as_int32 |
( |
| ) |
const |
|
inline |
◆ value_as_uint16()
uint16_t value_as_uint16 |
( |
| ) |
const |
|
inline |
◆ value_as_uint32()
uint32_t value_as_uint32 |
( |
| ) |
const |
|
inline |
◆ RapidXmlReader
The documentation for this class was generated from the following file: