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

Method Load

source/messhl.cpp:35–47  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

33}
34//---------------------------------------------------------------------------
35bool TMessHighlight::Load(XMLElementEx * p)
36{
37 bool rv = true;
38 bEnable = p->rb("enable", true);
39 const XMLElement * e;
40 e = p->FirstChildElement(szMatchNode);
41 if( e ) Match.Load((XMLElementEx *)e);
42 else rv = false;
43 e = p->FirstChildElement(szStyleNode);
44 if( e ) Style.Load((XMLElementEx *)e);
45 else rv = false;
46 return rv;
47}
48//---------------------------------------------------------------------------
49//---------------------------------------------------------------------------
50//---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 7

ReportError2Function · 0.85
rbMethod · 0.80
FirstChildElementMethod · 0.80
rsMethod · 0.80
NextSiblingElementMethod · 0.80
LoadFileMethod · 0.80
NameMethod · 0.80

Tested by

no test coverage detected