2021-04-27 23:00:03 +02:00
<!-- 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" / >
2021-09-20 15:57:27 +02:00
< meta name = "generator" content = "Doxygen 1.8.15" / >
2021-04-27 23:00:03 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: callback_validator.cc File 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 = "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 >
2021-09-20 15:57:27 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */< / script >
2021-04-27 23:00:03 +02:00
< 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
2021-09-20 15:57:27 +02:00
  < span id = "projectnumber" > 9.1< / span >
2021-04-27 23:00:03 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-09-20 15:57:27 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2021-04-27 23:00:03 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2021-04-27 23:00:03 +02:00
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
$(document).ready(function(){initNavTree('callback__validator_8cc.html','');});
2021-04-27 23:00:03 +02:00
/* @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 = "#namespaces" > Namespaces< / a > |
< a href = "#define-members" > Macros< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > callback_validator.cc File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "callback__validator_8cc_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:namespaceoperations__research" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html" > operations_research< / a > < / td > < / tr >
< tr class = "memdesc:namespaceoperations__research" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Collection of objects used to extend the < a class = "el" href = "classoperations__research_1_1_constraint.html" title = "A constraint is the main modeling object." > Constraint< / a > < a class = "el" href = "classoperations__research_1_1_solver.html" title = "Solver Class." > Solver< / a > library. < br / > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:namespaceoperations__research_1_1math__opt" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1math__opt.html" > operations_research::math_opt< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a5ae1b0f92815abfe2eb395308b269b0f" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "callback__validator_8cc.html#a5ae1b0f92815abfe2eb395308b269b0f" > RETURN_IF_SCALAR< / a > (stat, < a class = "el" href = "matrix__utils_8cc.html#aee90379adb0307effb138f4871edbc5c" > value< / a > , option)< / td > < / tr >
< tr class = "separator:a5ae1b0f92815abfe2eb395308b269b0f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a7abc01bd247a24b76cd5e58d141c7219" > < td class = "memItemLeft" align = "right" valign = "top" > absl::Status  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1math__opt.html#a7abc01bd247a24b76cd5e58d141c7219" > ValidateCallbackRegistration< / a > (const CallbackRegistrationProto & callback_registration, const ModelSummary & model_summary)< / td > < / tr >
< tr class = "separator:a7abc01bd247a24b76cd5e58d141c7219" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a73642a8827dfec380f36678d0451730b" > < td class = "memItemLeft" align = "right" valign = "top" > absl::Status  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1math__opt.html#a73642a8827dfec380f36678d0451730b" > ValidateCallbackDataProto< / a > (const CallbackDataProto & cb_data, const CallbackRegistrationProto & callback_registration, const ModelSummary & model_summary)< / td > < / tr >
< tr class = "separator:a73642a8827dfec380f36678d0451730b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a37e6d93b6f608edcfeb9c635c4f7b4bb" > < td class = "memItemLeft" align = "right" valign = "top" > absl::Status  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1math__opt.html#a37e6d93b6f608edcfeb9c635c4f7b4bb" > ValidateCallbackResultProto< / a > (const CallbackResultProto & callback_result, const CallbackEventProto callback_event, const CallbackRegistrationProto & callback_registration, const ModelSummary & model_summary)< / td > < / tr >
< tr class = "separator:a37e6d93b6f608edcfeb9c635c4f7b4bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a id = "a5ae1b0f92815abfe2eb395308b269b0f" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5ae1b0f92815abfe2eb395308b269b0f" > ◆ < / a > < / span > RETURN_IF_SCALAR< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define RETURN_IF_SCALAR< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > stat, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > < a class = "el" href = "matrix__utils_8cc.html#aee90379adb0307effb138f4871edbc5c" > value< / a > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > option  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-09-20 15:57:27 +02:00
< b > Value:< / b > < div class = "fragment" > < div class = "line" > < span class = "keywordflow" > do< / span > { \< / div > < div class = "line" > if (stat.has_##< a class = "code" href = "demon__profiler_8cc.html#ac072af30c4ffbc834bb4c681f6ecb514" > value< / a > ()) { \< / div > < div class = "line" > RETURN_IF_ERROR(< a class = "code" href = "namespaceoperations__research_1_1math__opt.html#a0fef8598a0ae3a84bab650cdb1df7adb" > CheckScalar< / a > (static_cast< double> (stat.value()), option)) \< / div > < div class = "line" > < < < span class = "stringliteral" > " Invalid CallbackDataProto." < / span > < < #stat < < < span class = "stringliteral" > " ." < / span > < < #< a class = "code" href = "demon__profiler_8cc.html#ac072af30c4ffbc834bb4c681f6ecb514" > value< / a > ; \< / div > < div class = "line" > } \< / div > < div class = "line" > } < span class = "keywordflow" > while< / span > (< span class = "keyword" > false< / span > )< / div > < div class = "ttc" id = "namespaceoperations__research_1_1math__opt_html_a0fef8598a0ae3a84bab650cdb1df7adb" > < div class = "ttname" > < a href = "namespaceoperations__research_1_1math__opt.html#a0fef8598a0ae3a84bab650cdb1df7adb" > operations_research::math_opt::CheckScalar< / a > < / div > < div class = "ttdeci" > absl::Status CheckScalar(const double value, const DoubleOptions & options)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "scalar__validator_8cc_source.html#l00037" > scalar_validator.cc:37< / a > < / div > < / div >
< div class = "ttc" id = "demon__profiler_8cc_html_ac072af30c4ffbc834bb4c681f6ecb514" > < div class = "ttname" > < a href = "demon__profiler_8cc.html#ac072af30c4ffbc834bb4c681f6ecb514" > value< / a > < / div > < div class = "ttdeci" > int64_t value< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "demon__profiler_8cc_source.html#l00044" > demon_profiler.cc:44< / a > < / div > < / div >
2021-04-27 23:00:03 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< / 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 = "dir_a7cc1eeded8f693d0da6c729bc88c45a.html" > ortools< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_1defc00030ff81d309105e053121082f.html" > math_opt< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_2298c6cf5b60fbeba088c3582d3d0ae0.html" > validators< / a > < / li > < li class = "navelem" > < a class = "el" href = "callback__validator_8cc.html" > callback_validator.cc< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2021-09-20 15:57:27 +02:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.15 < / li >
2021-04-27 23:00:03 +02:00
< / ul >
< / div >
< / body >
< / html >