armarx::aron::typereader::xml::util Namespace Reference

Functions

bool AttributeIsTrue (const RapidXmlReaderNode &node, const std::string &att)
 
bool CheckStrIsBool (const std::string &)
 
bool CheckStrIsFloat (const std::string &)
 
bool CheckStrIsInt (const std::string &)
 
bool CheckStrIsNumber (const std::string &)
 
bool CheckStrIsNumberSeq (const std::string &)
 
void EnforceAttribute (const RapidXmlReaderNode &node, const std::string &att)
 
void EnforceChildSize (const RapidXmlReaderNode &node, const size_t size)
 
void EnforceChildSizeGreater (const RapidXmlReaderNode &node, const size_t size)
 
void EnforceChildSizeGreaterEqual (const RapidXmlReaderNode &node, const size_t size)
 
void EnforceChildSizeSmaller (const RapidXmlReaderNode &node, const size_t size)
 
void EnforceChildSizeSmallerEqual (const RapidXmlReaderNode &node, const size_t size)
 
void EnforceStrIsBool (const std::string &)
 
void EnforceStrIsFloat (const std::string &)
 
void EnforceStrIsInt (const std::string &)
 
void EnforceStrIsNumber (const std::string &)
 
void EnforceStrIsNumberSeq (const std::string &)
 
void EnforceTagName (const RapidXmlReaderNode &node, const std::string &name)
 
void EnforceTagNames (const RapidXmlReaderNode &node, const std::vector< std::string > &names)
 
std::string GetAttribute (const RapidXmlReaderNode &node, const std::string &att)
 
std::string GetAttributeWithDefault (const RapidXmlReaderNode &node, const std::string &att, const std::string &def)
 
std::optional< RapidXmlReaderNodeGetFirstNodeWithTag (const RapidXmlReaderNode &node, const std::string &name)
 
std::string GetTagName (const RapidXmlReaderNode &node)
 
bool HasAttribute (const RapidXmlReaderNode &node, const std::string &att)
 
bool HasTagName (const RapidXmlReaderNode &node, const std::string &name)
 

Function Documentation

◆ AttributeIsTrue()

bool AttributeIsTrue ( const RapidXmlReaderNode node,
const std::string &  att 
)

Definition at line 199 of file Data.cpp.

+ Here is the call graph for this function:

◆ CheckStrIsBool()

bool CheckStrIsBool ( const std::string &  s)

Definition at line 124 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckStrIsFloat()

bool CheckStrIsFloat ( const std::string &  s)

Definition at line 57 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckStrIsInt()

bool CheckStrIsInt ( const std::string &  s)

Definition at line 33 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckStrIsNumber()

bool CheckStrIsNumber ( const std::string &  s)

Definition at line 81 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckStrIsNumberSeq()

bool CheckStrIsNumberSeq ( const std::string &  s)

Definition at line 97 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnforceAttribute()

void EnforceAttribute ( const RapidXmlReaderNode node,
const std::string &  att 
)

Definition at line 162 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnforceChildSize()

void EnforceChildSize ( const RapidXmlReaderNode node,
const size_t  size 
)

Definition at line 279 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceChildSizeGreater()

void EnforceChildSizeGreater ( const RapidXmlReaderNode node,
const size_t  size 
)

Definition at line 307 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceChildSizeGreaterEqual()

void EnforceChildSizeGreaterEqual ( const RapidXmlReaderNode node,
const size_t  size 
)

Definition at line 293 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceChildSizeSmaller()

void EnforceChildSizeSmaller ( const RapidXmlReaderNode node,
const size_t  size 
)

Definition at line 251 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceChildSizeSmallerEqual()

void EnforceChildSizeSmallerEqual ( const RapidXmlReaderNode node,
const size_t  size 
)

Definition at line 265 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceStrIsBool()

void EnforceStrIsBool ( const std::string &  s)

Definition at line 138 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceStrIsFloat()

void EnforceStrIsFloat ( const std::string &  s)

Definition at line 71 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceStrIsInt()

void EnforceStrIsInt ( const std::string &  s)

Definition at line 47 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceStrIsNumber()

void EnforceStrIsNumber ( const std::string &  s)

Definition at line 87 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceStrIsNumberSeq()

void EnforceStrIsNumberSeq ( const std::string &  s)

Definition at line 111 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceTagName()

void EnforceTagName ( const RapidXmlReaderNode node,
const std::string &  name 
)

Definition at line 219 of file Data.cpp.

+ Here is the call graph for this function:

◆ EnforceTagNames()

void EnforceTagNames ( const RapidXmlReaderNode node,
const std::vector< std::string > &  names 
)

Definition at line 229 of file Data.cpp.

+ Here is the call graph for this function:

◆ GetAttribute()

std::string GetAttribute ( const RapidXmlReaderNode node,
const std::string &  att 
)

Definition at line 180 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAttributeWithDefault()

std::string GetAttributeWithDefault ( const RapidXmlReaderNode node,
const std::string &  att,
const std::string &  def 
)

Definition at line 187 of file Data.cpp.

+ Here is the call graph for this function:

◆ GetFirstNodeWithTag()

std::optional< RapidXmlReaderNode > GetFirstNodeWithTag ( const RapidXmlReaderNode node,
const std::string &  name 
)

Definition at line 148 of file Data.cpp.

+ Here is the call graph for this function:

◆ GetTagName()

std::string GetTagName ( const RapidXmlReaderNode node)

Definition at line 245 of file Data.cpp.

+ Here is the call graph for this function:

◆ HasAttribute()

bool HasAttribute ( const RapidXmlReaderNode node,
const std::string &  att 
)

Definition at line 174 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasTagName()

bool HasTagName ( const RapidXmlReaderNode node,
const std::string &  name 
)

Definition at line 213 of file Data.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: