Files
ortools-clone/docs/cpp/classoperations__research_1_1_solver_logger.html
Mizux Seiha 3b81c981c2 Update doc
2022-03-04 00:19:15 +01:00

320 lines
15 KiB
HTML

<!-- HTML header for doxygen 1.8.18-->
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: SolverLogger</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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" />
<link href="styleSheet.tmp.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 style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="orLogo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OR-Tools
&#160;<span id="projectnumber">9.3</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'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&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classoperations__research_1_1_solver_logger.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classoperations__research_1_1_solver_logger-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">SolverLogger</div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="util_2logging_8h_source.html#l00033">33</a> of file <a class="el" href="util_2logging_8h_source.html">util/logging.h</a>.</p>
</div><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:ad4238e7273d93a1d0a2272d46660c254"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#ad4238e7273d93a1d0a2272d46660c254">EnableLogging</a> (bool enable)</td></tr>
<tr class="separator:ad4238e7273d93a1d0a2272d46660c254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9492cb97f5ec0ecbce0b5ef1b085738b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#a9492cb97f5ec0ecbce0b5ef1b085738b">LoggingIsEnabled</a> () const</td></tr>
<tr class="separator:a9492cb97f5ec0ecbce0b5ef1b085738b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a035277f8488770078b1171cae4636b8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#a035277f8488770078b1171cae4636b8e">SetLogToStdOut</a> (bool enable)</td></tr>
<tr class="separator:a035277f8488770078b1171cae4636b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab39c6534b88d91087a44512efe0ee5e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#ab39c6534b88d91087a44512efe0ee5e5">AddInfoLoggingCallback</a> (std::function&lt; void(const std::string &amp;<a class="el" href="trace_8cc.html#a36bd74109f547f7f8198faf5a12d2879">message</a>)&gt; <a class="el" href="gurobi__interface_8cc.html#a6627a3800ac768bb5528ef54c9cace36">callback</a>)</td></tr>
<tr class="separator:ab39c6534b88d91087a44512efe0ee5e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630f306104f78bce3e29b523331a3465"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#a630f306104f78bce3e29b523331a3465">ClearInfoLoggingCallbacks</a> ()</td></tr>
<tr class="separator:a630f306104f78bce3e29b523331a3465"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f768f31381e2c76157646fa2eec940b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#a2f768f31381e2c76157646fa2eec940b">NumInfoLoggingCallbacks</a> () const</td></tr>
<tr class="separator:a2f768f31381e2c76157646fa2eec940b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4241703540f7e339d45a97cd128fab8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classoperations__research_1_1_solver_logger.html#a4241703540f7e339d45a97cd128fab8b">LogInfo</a> (const char *source_filename, int source_line, const std::string &amp;<a class="el" href="trace_8cc.html#a36bd74109f547f7f8198faf5a12d2879">message</a>)</td></tr>
<tr class="separator:a4241703540f7e339d45a97cd128fab8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab39c6534b88d91087a44512efe0ee5e5" name="ab39c6534b88d91087a44512efe0ee5e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab39c6534b88d91087a44512efe0ee5e5">&#9670;&nbsp;</a></span>AddInfoLoggingCallback()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void AddInfoLoggingCallback </td>
<td>(</td>
<td class="paramtype">std::function&lt; void(const std::string &amp;<a class="el" href="trace_8cc.html#a36bd74109f547f7f8198faf5a12d2879">message</a>)&gt;&#160;</td>
<td class="paramname"><em>callback</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="util_2logging_8cc_source.html#l00023">23</a> of file <a class="el" href="util_2logging_8cc_source.html">util/logging.cc</a>.</p>
</div>
</div>
<a id="a630f306104f78bce3e29b523331a3465" name="a630f306104f78bce3e29b523331a3465"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a630f306104f78bce3e29b523331a3465">&#9670;&nbsp;</a></span>ClearInfoLoggingCallbacks()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ClearInfoLoggingCallbacks </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="util_2logging_8cc_source.html#l00028">28</a> of file <a class="el" href="util_2logging_8cc_source.html">util/logging.cc</a>.</p>
</div>
</div>
<a id="ad4238e7273d93a1d0a2272d46660c254" name="ad4238e7273d93a1d0a2272d46660c254"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4238e7273d93a1d0a2272d46660c254">&#9670;&nbsp;</a></span>EnableLogging()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void EnableLogging </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>enable</em></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 class="definition">Definition at line <a class="el" href="util_2logging_8h_source.html#l00039">39</a> of file <a class="el" href="util_2logging_8h_source.html">util/logging.h</a>.</p>
</div>
</div>
<a id="a9492cb97f5ec0ecbce0b5ef1b085738b" name="a9492cb97f5ec0ecbce0b5ef1b085738b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9492cb97f5ec0ecbce0b5ef1b085738b">&#9670;&nbsp;</a></span>LoggingIsEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool LoggingIsEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 class="definition">Definition at line <a class="el" href="util_2logging_8h_source.html#l00042">42</a> of file <a class="el" href="util_2logging_8h_source.html">util/logging.h</a>.</p>
</div>
</div>
<a id="a4241703540f7e339d45a97cd128fab8b" name="a4241703540f7e339d45a97cd128fab8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4241703540f7e339d45a97cd128fab8b">&#9670;&nbsp;</a></span>LogInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void LogInfo </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>source_filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>source_line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>message</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="util_2logging_8cc_source.html#l00030">30</a> of file <a class="el" href="util_2logging_8cc_source.html">util/logging.cc</a>.</p>
</div>
</div>
<a id="a2f768f31381e2c76157646fa2eec940b" name="a2f768f31381e2c76157646fa2eec940b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f768f31381e2c76157646fa2eec940b">&#9670;&nbsp;</a></span>NumInfoLoggingCallbacks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int NumInfoLoggingCallbacks </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 class="definition">Definition at line <a class="el" href="util_2logging_8h_source.html#l00057">57</a> of file <a class="el" href="util_2logging_8h_source.html">util/logging.h</a>.</p>
</div>
</div>
<a id="a035277f8488770078b1171cae4636b8e" name="a035277f8488770078b1171cae4636b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a035277f8488770078b1171cae4636b8e">&#9670;&nbsp;</a></span>SetLogToStdOut()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SetLogToStdOut </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>enable</em></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 class="definition">Definition at line <a class="el" href="util_2logging_8h_source.html#l00045">45</a> of file <a class="el" href="util_2logging_8h_source.html">util/logging.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="util_2logging_8h_source.html">util/logging.h</a></li>
<li><a class="el" href="util_2logging_8cc_source.html">util/logging.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceoperations__research.html">operations_research</a></li><li class="navelem"><a class="el" href="classoperations__research_1_1_solver_logger.html">SolverLogger</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.3 </li>
</ul>
</div>
</body>
</html>