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

Method rs

sourcecommon/maxxml.cpp:38–46  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

36}
37//---------------------------------------------------------------------------
38String XMLElementEx::rs(const AnsiString name, String defval)
39{
40 XMLElement * p = FirstChildElement(name.c_str());
41 if( p )
42 {
43 return ConvertAfterLoad(AnsiString(p->GetText()));
44 }
45 return defval;
46}
47//---------------------------------------------------------------------------
48void XMLElementEx::rs(const AnsiString name, TStrings * val)
49{

Callers 6

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

Calls 5

FirstChildElementFunction · 0.85
GetTextMethod · 0.80
NextSiblingElementMethod · 0.80
ClearMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected