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

Method Clear

source/messmatch.cpp:24–38  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

22}
23//---------------------------------------------------------------------------
24void TMessMatch::Clear(void)
25{
26 bNot = false;
27 PriorityMask = PriorityMaskAll; // any Priority (match all)
28 FacilityMask = FacilityMaskAll; // any Facility (match all)
29
30 Field1 = 0;
31 Contains1 = true;
32 Text1->Text = "";
33 Field2 = 0;
34 Contains2 = true;
35 Text2->Text = "";
36
37 MatchCase = true;
38}
39//---------------------------------------------------------------------------
40bool TMessMatch::Match(TSyslogMessage * p)
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected