2023-01-27 15:37:29 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
2023-02-11 20:23:44 +01:00
< meta name = "generator" content = "Doxygen 1.9.6" / >
2023-01-27 15:37:29 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > LogDoctor: CraplogWorker Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectlogo" > < img alt = "Logo" src = "dox_logo.png" / > < / td >
< td id = "projectalign" >
2023-02-12 23:33:34 +01:00
< div id = "projectname" > LogDoctor< span id = "projectnumber" >   2.04< / span >
2023-01-27 15:37:29 +01:00
< / div >
2023-02-12 23:33:34 +01:00
< div id = "projectbrief" > Parse Apache2/Nginx/IIS logs and view dinamically generated statistics< / div >
2023-01-27 15:37:29 +01:00
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2023-02-11 20:23:44 +01:00
<!-- Generated by Doxygen 1.9.6 -->
2023-01-27 15:37:29 +01:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pri-methods" > Private Member Functions< / a > |
< a href = "#pri-attribs" > Private Attributes< / a > |
< a href = "classCraplogWorker-members.html" > List of all members< / a > < / div >
< div class = "headertitle" > < div class = "title" > CraplogWorker Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
Inheritance diagram for CraplogWorker:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classCraplogWorker.png" alt = "" / >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pri-methods" name = "pri-methods" > < / a >
Private Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a7d0b061d0741296686c42ff57e79fbd7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classCraplogWorker.html#a7d0b061d0741296686c42ff57e79fbd7" > joinLogLines< / a > ()< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:a7d0b061d0741296686c42ff57e79fbd7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the selected files and append the resulting lines to the list. < br / > < / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "separator:a7d0b061d0741296686c42ff57e79fbd7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a48074625a7ace173ecd9930f70ba4074" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classCraplogWorker.html#a48074625a7ace173ecd9930f70ba4074" > parseLogLines< / a > ()< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:a48074625a7ace173ecd9930f70ba4074" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Parses the lines in the list and stores their data in the data collection. < br / > < / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "separator:a48074625a7ace173ecd9930f70ba4074" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa6cde022ef19fb50d92fa930a57badce" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classCraplogWorker.html#aa6cde022ef19fb50d92fa930a57badce" > storeLogLines< / a > ()< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:aa6cde022ef19fb50d92fa930a57badce" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Handles the process of storing data in the database. < br / > < / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "separator:aa6cde022ef19fb50d92fa930a57badce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1f252780be333cf4aa0c06a47c36febb" > < td class = "memItemLeft" align = "right" valign = "top" > const bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classCraplogWorker.html#a1f252780be333cf4aa0c06a47c36febb" > storeData< / a > (QSqlDatabase & db)< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:a1f252780be333cf4aa0c06a47c36febb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Stores the data collection in the logs Collection database. < br / > < / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "separator:a1f252780be333cf4aa0c06a47c36febb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pri-attribs" name = "pri-attribs" > < / a >
Private Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a71c7c7af6e03a6c45822a950278af947" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a71c7c7af6e03a6c45822a950278af947" name = "a71c7c7af6e03a6c45822a950278af947" > < / a >
2023-04-11 23:26:35 +02:00
const unsigned  < / td > < td class = "memItemRight" valign = "bottom" > < b > APACHE_ID< / b > { 11 }< / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "memdesc:a71c7c7af6e03a6c45822a950278af947" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > ID of the Apache2 Web Server. < br / > < / td > < / tr >
< tr class = "separator:a71c7c7af6e03a6c45822a950278af947" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0d1ba8afc05f440488a48627e7eaba6d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0d1ba8afc05f440488a48627e7eaba6d" name = "a0d1ba8afc05f440488a48627e7eaba6d" > < / a >
2023-04-11 23:26:35 +02:00
const unsigned  < / td > < td class = "memItemRight" valign = "bottom" > < b > NGINX_ID< / b > { 12 }< / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "memdesc:a0d1ba8afc05f440488a48627e7eaba6d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > ID of the Nginx Web Server. < br / > < / td > < / tr >
< tr class = "separator:a0d1ba8afc05f440488a48627e7eaba6d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a85b4e605a089142d722badceacc4e49d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a85b4e605a089142d722badceacc4e49d" name = "a85b4e605a089142d722badceacc4e49d" > < / a >
2023-04-11 23:26:35 +02:00
const unsigned  < / td > < td class = "memItemRight" valign = "bottom" > < b > IIS_ID< / b > { 13 }< / td > < / tr >
2023-01-27 15:37:29 +01:00
< tr class = "memdesc:a85b4e605a089142d722badceacc4e49d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > ID of the IIS Web Server. < br / > < / td > < / tr >
< tr class = "separator:a85b4e605a089142d722badceacc4e49d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a7d0b061d0741296686c42ff57e79fbd7" name = "a7d0b061d0741296686c42ff57e79fbd7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7d0b061d0741296686c42ff57e79fbd7" > ◆   < / a > < / span > joinLogLines()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void CraplogWorker::joinLogLines < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Reads the selected files and append the resulting lines to the list. < / p >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classGenericException.html" title = "GenericException." > GenericException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a48074625a7ace173ecd9930f70ba4074" name = "a48074625a7ace173ecd9930f70ba4074" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a48074625a7ace173ecd9930f70ba4074" > ◆   < / a > < / span > parseLogLines()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void CraplogWorker::parseLogLines < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Parses the lines in the list and stores their data in the data collection. < / p >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classLogParserException.html" title = "LogParserException." > LogParserException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a1f252780be333cf4aa0c06a47c36febb" name = "a1f252780be333cf4aa0c06a47c36febb" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1f252780be333cf4aa0c06a47c36febb" > ◆   < / a > < / span > storeData()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const bool CraplogWorker::storeData < / td >
< td > (< / td >
< td class = "paramtype" > QSqlDatabase &   < / td >
< td class = "paramname" > < em > db< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Stores the data collection in the logs Collection database. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > db< / td > < td > A database instance, already initizlized < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Whether the operation has been successful or not < / dd > < / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classWebServerException.html" title = "WebServerException." > WebServerException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "aa6cde022ef19fb50d92fa930a57badce" name = "aa6cde022ef19fb50d92fa930a57badce" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa6cde022ef19fb50d92fa930a57badce" > ◆   < / a > < / span > storeLogLines()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void CraplogWorker::storeLogLines < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Handles the process of storing data in the database. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "classCraplogWorker.html#a1f252780be333cf4aa0c06a47c36febb" title = "Stores the data collection in the logs Collection database." > storeData()< / a > < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > logdoctor/modules/craplog/modules/worker.h< / li >
< li > logdoctor/modules/craplog/modules/worker.cpp< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2023-02-11 20:23:44 +01:00
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.6
2023-01-27 15:37:29 +01:00
< / small > < / address >
< / body >
< / html >