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

Method Save

source/messmatch.cpp:270–282  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

268}
269//---------------------------------------------------------------------------
270void TMessMatch::Save(XMLElementEx * p)
271{
272 p->wb("not", bNot);
273 p->wi("prioritymask", PriorityMask);
274 p->wi("facilitymask", FacilityMask);
275 p->wb("matchcase", MatchCase);
276 p->wi("field1", Field1);
277 p->wb("contains1", Contains1);
278 p->ws("text1", Text1);
279 p->wi("field2", Field2);
280 p->wb("contains2", Contains2);
281 p->ws("text2", Text2);
282}
283//---------------------------------------------------------------------------
284void TMessMatch::Load(XMLElementEx * p)
285{

Callers

nothing calls this directly

Calls 8

ReportError2Function · 0.85
wbMethod · 0.80
wiMethod · 0.80
wsMethod · 0.80
InsertEndChildMethod · 0.80
NewDeclarationMethod · 0.80
NewElementMethod · 0.80
SaveFileMethod · 0.80

Tested by

no test coverage detected