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

Method Load

source/fdb.cpp:322–335  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

320}
321//---------------------------------------------------------------------------
322void TStorageFile::Load(XMLElementEx * p)
323{
324 file = p->rs("file");
325 number = p->ri("number");
326
327 rotation_type = p->ri("rtype", 0);
328 rotation_size = p->ri("rsize", 10);
329 rotation_mult = p->ri("rmult", 1);
330 rotation_moment = p->ri("rmoment", 1);
331 rotation_hour = p->ri("rhour", 0);
332 rotation_renaming = p->ri("rrenaming", 0);
333 rotation_name = p->rs("rname");
334 rotation_count = p->ri("rcount", 10);
335}
336//---------------------------------------------------------------------------
337String TStorageFile::RotationLogFormatFileName(void)
338{

Callers

nothing calls this directly

Calls 4

rsMethod · 0.80
riMethod · 0.80
FirstChildElementMethod · 0.80
NextSiblingElementMethod · 0.80

Tested by

no test coverage detected