MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / rb

Method rb

sourcecommon/maxxml.cpp:75–81  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

73}
74//---------------------------------------------------------------------------
75bool XMLElementEx::rb(const AnsiString name, bool defval)
76{
77 bool rv;
78 XMLElement * p = FirstChildElement(name.c_str());
79 if( p ) if( p->QueryBoolText(&rv) == XML_SUCCESS ) return rv;
80 return defval;
81}
82//---------------------------------------------------------------------------
83void XMLElementEx::ws(const AnsiString name, String val)
84{

Callers 5

LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80
LoadMethod · 0.80

Calls 2

FirstChildElementFunction · 0.85
QueryBoolTextMethod · 0.80

Tested by

no test coverage detected