2024-02-16 21:59:07 +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" / >
< meta name = "generator" content = "Doxygen 1.10.0" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > LogDoctor: QueryWrapper 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 >
< script type = "text/javascript" src = "clipboard.js" > < / script >
< script type = "text/javascript" src = "cookie.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" >
2024-05-07 19:49:56 +02:00
< div id = "projectname" > LogDoctor< span id = "projectnumber" >   4.01< / span >
2024-02-16 21:59:07 +01:00
< / div >
< div id = "projectbrief" > Parse Apache2/Nginx/IIS logs and view dinamically generated statistics< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
< 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');
$(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 = "#pub-methods" > Public Member Functions< / a > |
< a href = "classQueryWrapper-members.html" > List of all members< / a > < / div >
< div class = "headertitle" > < div class = "title" > QueryWrapper Class Reference< span class = "mlabels" > < span class = "mlabel" > final< / span > < / span > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a class = "el" href = "classQueryWrapper.html" title = "QueryWrapper." > QueryWrapper< / a > .
< a href = "#details" > More...< / a > < / p >
< p > < code > #include < database.h> < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-methods" name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a312022fbdf046f2ad0aa8275fb86a681" id = "r_a312022fbdf046f2ad0aa8275fb86a681" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a312022fbdf046f2ad0aa8275fb86a681" name = "a312022fbdf046f2ad0aa8275fb86a681" > < / a >
QSqlQuery *  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator-> < / b > () noexcept< / td > < / tr >
< tr class = "memdesc:a312022fbdf046f2ad0aa8275fb86a681" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns a pointer to the underlying QSqlQuery instance. < br / > < / td > < / tr >
< tr class = "separator:a312022fbdf046f2ad0aa8275fb86a681" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a70470621ad3d09fdd03b6e34739e906c" id = "r_a70470621ad3d09fdd03b6e34739e906c" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a70470621ad3d09fdd03b6e34739e906c" name = "a70470621ad3d09fdd03b6e34739e906c" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator< < < / b > (const char *text) noexcept< / td > < / tr >
< tr class = "memdesc:a70470621ad3d09fdd03b6e34739e906c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Appends the given text to the internal statement. < br / > < / td > < / tr >
< tr class = "separator:a70470621ad3d09fdd03b6e34739e906c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0db067a19a382998bcdd7c68802640fe" id = "r_a0db067a19a382998bcdd7c68802640fe" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a0db067a19a382998bcdd7c68802640fe" name = "a0db067a19a382998bcdd7c68802640fe" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator< < < / b > (const QString & text) noexcept< / td > < / tr >
< tr class = "memdesc:a0db067a19a382998bcdd7c68802640fe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Appends the given text to the internal statement. < br / > < / td > < / tr >
< tr class = "separator:a0db067a19a382998bcdd7c68802640fe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-05-07 19:49:56 +02:00
< tr class = "memitem:ac6c26508de8bd4b5c6895e51a7c7b6b1" id = "r_ac6c26508de8bd4b5c6895e51a7c7b6b1" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ac6c26508de8bd4b5c6895e51a7c7b6b1" name = "ac6c26508de8bd4b5c6895e51a7c7b6b1" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator< < < / b > (const QStringView text) noexcept< / td > < / tr >
< tr class = "memdesc:ac6c26508de8bd4b5c6895e51a7c7b6b1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Appends the given text to the internal statement. < br / > < / td > < / tr >
< tr class = "separator:ac6c26508de8bd4b5c6895e51a7c7b6b1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-02-16 21:59:07 +01:00
< tr class = "memitem:aec4dfb7a80d9aec36558c0fe4fa1b965" id = "r_aec4dfb7a80d9aec36558c0fe4fa1b965" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#aec4dfb7a80d9aec36558c0fe4fa1b965" > operator()< / a > ()< / td > < / tr >
< tr class = "memdesc:aec4dfb7a80d9aec36558c0fe4fa1b965" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Executes the query using the internal statement. < br / > < / td > < / tr >
< tr class = "separator:aec4dfb7a80d9aec36558c0fe4fa1b965" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a85cc8b57bcab826daa43259430459ea9" id = "r_a85cc8b57bcab826daa43259430459ea9" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a85cc8b57bcab826daa43259430459ea9" > operator()< / a > (const QString & text)< / td > < / tr >
< tr class = "memdesc:a85cc8b57bcab826daa43259430459ea9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Executes the query using the given statement. < br / > < / td > < / tr >
< tr class = "separator:a85cc8b57bcab826daa43259430459ea9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9f10f5f05acc82ea4136143a2655df9d" id = "r_a9f10f5f05acc82ea4136143a2655df9d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a9f10f5f05acc82ea4136143a2655df9d" name = "a9f10f5f05acc82ea4136143a2655df9d" > < / a >
QVariant  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator[]< / b > (const int idx) const noexcept< / td > < / tr >
< tr class = "memdesc:a9f10f5f05acc82ea4136143a2655df9d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the query value at the given index of the current record. < br / > < / td > < / tr >
< tr class = "separator:a9f10f5f05acc82ea4136143a2655df9d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac40628a1ff95c84f77625af40aa6d49e" id = "r_ac40628a1ff95c84f77625af40aa6d49e" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#ac40628a1ff95c84f77625af40aa6d49e" > size< / a > ()< / td > < / tr >
< tr class = "memdesc:ac40628a1ff95c84f77625af40aa6d49e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the number of records in the query result. < br / > < / td > < / tr >
< tr class = "separator:ac40628a1ff95c84f77625af40aa6d49e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa6335147eadf1fb2b360f7337c98d0f9" id = "r_aa6335147eadf1fb2b360f7337c98d0f9" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa6335147eadf1fb2b360f7337c98d0f9" name = "aa6335147eadf1fb2b360f7337c98d0f9" > < / a >
const QString &   < / td > < td class = "memItemRight" valign = "bottom" > < b > dbName< / b > () const noexcept< / td > < / tr >
< tr class = "memdesc:aa6335147eadf1fb2b360f7337c98d0f9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the name of the associated database. < br / > < / td > < / tr >
< tr class = "separator:aa6335147eadf1fb2b360f7337c98d0f9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > < a class = "el" href = "classQueryWrapper.html" title = "QueryWrapper." > QueryWrapper< / a > . < / p >
< p > A wrapper around a QSqlQuery, associated with a database < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "aec4dfb7a80d9aec36558c0fe4fa1b965" name = "aec4dfb7a80d9aec36558c0fe4fa1b965" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aec4dfb7a80d9aec36558c0fe4fa1b965" > ◆   < / a > < / span > operator()() < span class = "overload" > [1/2]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void QueryWrapper::operator() < / td >
< td > (< / td >
< td class = "paramname" > < span class = "paramname" > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Executes the query using the internal statement. < / p >
< p > Throws in case of failure < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classVoidException.html" title = "VoidException." > VoidException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a85cc8b57bcab826daa43259430459ea9" name = "a85cc8b57bcab826daa43259430459ea9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a85cc8b57bcab826daa43259430459ea9" > ◆   < / a > < / span > operator()() < span class = "overload" > [2/2]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void QueryWrapper::operator() < / td >
< td > (< / td >
< td class = "paramtype" > const QString & < / td > < td class = "paramname" > < span class = "paramname" > < em > text< / em > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Executes the query using the given statement. < / p >
< p > Throws in case of failure < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classVoidException.html" title = "VoidException." > VoidException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "ac40628a1ff95c84f77625af40aa6d49e" name = "ac40628a1ff95c84f77625af40aa6d49e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac40628a1ff95c84f77625af40aa6d49e" > ◆   < / a > < / span > size()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > size_t QueryWrapper::size < / td >
< td > (< / td >
< td class = "paramname" > < span class = "paramname" > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Returns the number of records in the query result. < / p >
< p > Throws if the query cannot be restored at the initial position < / p > < dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > < a class = "el" href = "classDatabaseException.html" title = "DatabaseException." > DatabaseException< / a > < / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > logdoctor/modules/database/< b > database.h< / b > < / li >
< li > logdoctor/modules/database/< b > database.cpp< / b > < / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.10.0
< / small > < / address >
< / body >
< / html >