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

Method rd

sourcecommon/maxxml.cpp:67–73  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

65}
66//---------------------------------------------------------------------------
67double XMLElementEx::rd(const AnsiString name, double defval)
68{
69 double rv;
70 XMLElement * p = FirstChildElement(name.c_str());
71 if( p ) if( p->QueryDoubleText(&rv) == XML_SUCCESS ) return rv;
72 return defval;
73}
74//---------------------------------------------------------------------------
75bool XMLElementEx::rb(const AnsiString name, bool defval)
76{

Callers

nothing calls this directly

Calls 2

FirstChildElementFunction · 0.85
QueryDoubleTextMethod · 0.80

Tested by

no test coverage detected