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

Method Load

source/messprocessing.cpp:96–111  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

94}
95//---------------------------------------------------------------------------
96void TMessProcess::Load(XMLElementEx * p)
97{
98 bIgnore = p->rb("ignore");
99 bAlarm = p->rb("alarm");
100 AlarmMess = p->rs("alarmmess");
101 bSound = p->rb("sound");
102 SoundFile = p->rs("soundfile", "alarm.wav");
103 PlayCount = p->ri("playcount");
104 bSendMail = p->rb("sendmail");
105 Recipient = p->rs("recipient");
106 bRunProg = p->rb("runprog");
107 ProgFile = p->rs("progfile");
108 bProgHide = p->rb("proghide");
109 bSaveToFile = p->rb("savetofile");
110 SaveFile = p->ri("savefile", -1);
111}
112//---------------------------------------------------------------------------
113//---------------------------------------------------------------------------
114//---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected