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

Method ri

sourcecommon/maxxml.cpp:59–65  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

57}
58//---------------------------------------------------------------------------
59int XMLElementEx::ri(const AnsiString name, int defval)
60{
61 int rv;
62 XMLElement * p = FirstChildElement(name.c_str());
63 if( p ) if( p->QueryIntText(&rv) == XML_SUCCESS ) return rv;
64 return defval;
65}
66//---------------------------------------------------------------------------
67double XMLElementEx::rd(const AnsiString name, double defval)
68{

Callers 6

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

Calls 2

FirstChildElementFunction · 0.85
QueryIntTextMethod · 0.80

Tested by

no test coverage detected