Hauke Zühl
9 years ago
189 changed files with 7283 additions and 674 deletions
@ -0,0 +1,139 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Audio.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Audio_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Audio.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Audio_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Audio_8h.html">Telegram/Audio.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Audio.html#a0899f968c1a3e9403582921d684c2bea"> 3</a></span> <a class="code" href="classTelegram_1_1Audio.html#a0899f968c1a3e9403582921d684c2bea">Telegram::Audio::Audio</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Audio.html#a92fc76a35b6f46c8591622bdee5472ab">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Audio.html#a55c965d5c8106d8c5d344a31df7ea307">duration</a> = json[<span class="stringliteral">"duration"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Audio.html#a11d9bf0f1b6c1e34f559ced72696eb67">performer</a> = json[<span class="stringliteral">"performer"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Audio.html#a3d606f834ae8932ed661ac034ed43be3">title</a> = json[<span class="stringliteral">"title"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="classTelegram_1_1Audio.html#a1d92731db4a7e01417ffcb84ae8464dd">mime_type</a> = json[<span class="stringliteral">"mime_type"</span>].asString();</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="classTelegram_1_1Audio.html#aacc8985f18512d53e71754eb270004e9">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> }</div> |
||||
<div class="ttc" id="Audio_8h_html"><div class="ttname"><a href="Audio_8h.html">Audio.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_aacc8985f18512d53e71754eb270004e9"><div class="ttname"><a href="classTelegram_1_1Audio.html#aacc8985f18512d53e71754eb270004e9">Telegram::Audio::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00019">Audio.h:19</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a3d606f834ae8932ed661ac034ed43be3"><div class="ttname"><a href="classTelegram_1_1Audio.html#a3d606f834ae8932ed661ac034ed43be3">Telegram::Audio::title</a></div><div class="ttdeci">std::string title</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00017">Audio.h:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a1d92731db4a7e01417ffcb84ae8464dd"><div class="ttname"><a href="classTelegram_1_1Audio.html#a1d92731db4a7e01417ffcb84ae8464dd">Telegram::Audio::mime_type</a></div><div class="ttdeci">std::string mime_type</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00018">Audio.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a55c965d5c8106d8c5d344a31df7ea307"><div class="ttname"><a href="classTelegram_1_1Audio.html#a55c965d5c8106d8c5d344a31df7ea307">Telegram::Audio::duration</a></div><div class="ttdeci">Json::Int64 duration</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00015">Audio.h:15</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a11d9bf0f1b6c1e34f559ced72696eb67"><div class="ttname"><a href="classTelegram_1_1Audio.html#a11d9bf0f1b6c1e34f559ced72696eb67">Telegram::Audio::performer</a></div><div class="ttdeci">std::string performer</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00016">Audio.h:16</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a92fc76a35b6f46c8591622bdee5472ab"><div class="ttname"><a href="classTelegram_1_1Audio.html#a92fc76a35b6f46c8591622bdee5472ab">Telegram::Audio::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00014">Audio.h:14</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html_a0899f968c1a3e9403582921d684c2bea"><div class="ttname"><a href="classTelegram_1_1Audio.html#a0899f968c1a3e9403582921d684c2bea">Telegram::Audio::Audio</a></div><div class="ttdeci">Audio(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Audio_8cc_source.html#l00003">Audio.cc:3</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Audio_8cc.html">Audio.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,321 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: CMakeCCompilerId.c 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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('CMakeCCompilerId_8c.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="#define-members">Macros</a> | |
||||
<a href="#func-members">Functions</a> | |
||||
<a href="#var-members">Variables</a> </div> |
||||
<div class="headertitle"> |
||||
<div class="title">CMakeCCompilerId.c File Reference</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
|
||||
<p><a href="CMakeCCompilerId_8c_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="define-members"></a> |
||||
Macros</h2></td></tr> |
||||
<tr class="memitem:a81dee0709ded976b2e0319239f72d174"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a>   ""</td></tr> |
||||
<tr class="separator:a81dee0709ded976b2e0319239f72d174"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:adbc5372f40838899018fadbc89bd588b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a>   ""</td></tr> |
||||
<tr class="separator:adbc5372f40838899018fadbc89bd588b"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:aba35d0d200deaeb06aee95ca297acb28"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a>   ""</td></tr> |
||||
<tr class="separator:aba35d0d200deaeb06aee95ca297acb28"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:ad1280362da42492bbc11aa78cbf776ad"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad">DEC</a>(n)</td></tr> |
||||
<tr class="separator:ad1280362da42492bbc11aa78cbf776ad"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a46d5d95daa1bef867bd0179594310ed5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5">HEX</a>(n)</td></tr> |
||||
<tr class="separator:a46d5d95daa1bef867bd0179594310ed5"><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:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr> |
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table><table class="memberdecls"> |
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> |
||||
Variables</h2></td></tr> |
||||
<tr class="memitem:a4b0efeb7a5d59313986b3a0390f050f6"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a> = "INFO" ":" "compiler[" COMPILER_ID "]"</td></tr> |
||||
<tr class="separator:a4b0efeb7a5d59313986b3a0390f050f6"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a2321403dee54ee23f0c2fa849c60f7d4"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a> = "INFO" ":" "platform[" PLATFORM_ID "]"</td></tr> |
||||
<tr class="separator:a2321403dee54ee23f0c2fa849c60f7d4"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a59647e99d304ed33b15cb284c27ed391"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a> = "INFO" ":" "arch[" ARCHITECTURE_ID "]"</td></tr> |
||||
<tr class="separator:a59647e99d304ed33b15cb284c27ed391"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table> |
||||
<h2 class="groupheader">Macro Definition Documentation</h2> |
||||
<a class="anchor" id="aba35d0d200deaeb06aee95ca297acb28"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define ARCHITECTURE_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00320">320</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a81dee0709ded976b2e0319239f72d174"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define COMPILER_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00200">200</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="ad1280362da42492bbc11aa78cbf776ad"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define DEC</td> |
||||
<td>(</td> |
||||
<td class="paramtype"> </td> |
||||
<td class="paramname">n</td><td>)</td> |
||||
<td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
<b>Value:</b><div class="fragment"><div class="line">(<span class="charliteral">'0'</span> + (((n) / 10000000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 1000000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 100000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 10000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 1000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 100)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 10)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n) % 10))</div> |
||||
</div><!-- fragment --> |
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00324">324</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a46d5d95daa1bef867bd0179594310ed5"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define HEX</td> |
||||
<td>(</td> |
||||
<td class="paramtype"> </td> |
||||
<td class="paramname">n</td><td>)</td> |
||||
<td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
<b>Value:</b><div class="fragment"><div class="line">(<span class="charliteral">'0'</span> + ((n)>>28 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>24 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>20 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>16 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>12 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>8 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>4 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n) & 0xF))</div> |
||||
</div><!-- fragment --> |
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00335">335</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="adbc5372f40838899018fadbc89bd588b"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define PLATFORM_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00287">287</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<h2 class="groupheader">Function Documentation</h2> |
||||
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">int main </td> |
||||
<td>(</td> |
||||
<td class="paramtype">int </td> |
||||
<td class="paramname"><em>argc</em>, </td> |
||||
</tr> |
||||
<tr> |
||||
<td class="paramkey"></td> |
||||
<td></td> |
||||
<td class="paramtype">char * </td> |
||||
<td class="paramname"><em>argv</em>[] </td> |
||||
</tr> |
||||
<tr> |
||||
<td></td> |
||||
<td>)</td> |
||||
<td></td><td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00377">377</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<h2 class="groupheader">Variable Documentation</h2> |
||||
<a class="anchor" id="a59647e99d304ed33b15cb284c27ed391"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00368">368</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a4b0efeb7a5d59313986b3a0390f050f6"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00208">208</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a2321403dee54ee23f0c2fa849c60f7d4"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCCompilerId_8c_source.html#l00367">367</a> of file <a class="el" href="CMakeCCompilerId_8c_source.html">CMakeCCompilerId.c</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
</div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li><li class="navelem"><a class="el" href="dir_809fdf020f596158475f2a5965da168b.html">CompilerIdC</a></li><li class="navelem"><a class="el" href="CMakeCCompilerId_8c.html">CMakeCCompilerId.c</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,12 @@
|
||||
var CMakeCCompilerId_8c = |
||||
[ |
||||
[ "ARCHITECTURE_ID", "CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], |
||||
[ "COMPILER_ID", "CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174", null ], |
||||
[ "DEC", "CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad", null ], |
||||
[ "HEX", "CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5", null ], |
||||
[ "PLATFORM_ID", "CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b", null ], |
||||
[ "main", "CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97", null ], |
||||
[ "info_arch", "CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391", null ], |
||||
[ "info_compiler", "CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], |
||||
[ "info_platform", "CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] |
||||
]; |
@ -0,0 +1,516 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: CMakeCCompilerId.c Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('CMakeCCompilerId_8c_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">CMakeCCompilerId.c</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="CMakeCCompilerId_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifdef __cplusplus</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span><span class="preprocessor"># error "A C++ compiler has been selected for C."</span></div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">/* Version number components: V=Version, R=Revision, P=Patch</span></div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Version date components: YYYY=Year, MM=Month, DD=Day */</span></div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#if defined(__18CXX)</span></div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span><span class="preprocessor"># define ID_VOID_MAIN</span></div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#if defined(__INTEL_COMPILER) || defined(__ICC)</span></div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Intel"</span></div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"></span> <span class="comment">/* __INTEL_COMPILER = VRP */</span></div> |
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)</span></div> |
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)</span></div> |
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)</span></div> |
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__INTEL_COMPILER_BUILD_DATE)</span></div> |
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span> <span class="comment">/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */</span></div> |
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"># define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)</span></div> |
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#elif defined(__PATHCC__)</span></div> |
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "PathScale"</span></div> |
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__PATHCC__)</span></div> |
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__PATHCC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#elif defined(__clang__)</span></div> |
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Clang"</span></div> |
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__clang_major__)</span></div> |
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__clang_minor__)</span></div> |
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)</span></div> |
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)</span></div> |
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Embarcadero"</span></div> |
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)</span></div> |
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)</span></div> |
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)</span></div> |
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#elif defined(__BORLANDC__)</span></div> |
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Borland"</span></div> |
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"></span> <span class="comment">/* __BORLANDC__ = 0xVRR */</span></div> |
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)</span></div> |
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)</span></div> |
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#elif defined(__WATCOMC__)</span></div> |
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Watcom"</span></div> |
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span> <span class="comment">/* __WATCOMC__ = VVRR */</span></div> |
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)</span></div> |
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)</span></div> |
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#elif defined(__SUNPRO_C)</span></div> |
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "SunPro"</span></div> |
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span><span class="preprocessor"># if __SUNPRO_C >= 0x5100</span></div> |
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span> <span class="comment">/* __SUNPRO_C = 0xVRRP */</span></div> |
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)</span></div> |
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)</span></div> |
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"></span> <span class="comment">/* __SUNPRO_C = 0xVRP */</span></div> |
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)</span></div> |
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)</span></div> |
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)</span></div> |
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#elif defined(__HP_cc)</span></div> |
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "HP"</span></div> |
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span> <span class="comment">/* __HP_cc = VVRRPP */</span></div> |
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)</span></div> |
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)</span></div> |
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)</span></div> |
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#elif defined(__DECC)</span></div> |
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Compaq"</span></div> |
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span> <span class="comment">/* __DECC_VER = VVRRTPPPP */</span></div> |
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)</span></div> |
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)</span></div> |
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)</span></div> |
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#elif defined(__IBMC__)</span></div> |
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__COMPILER_VER__)</span></div> |
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "zOS"</span></div> |
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor"></span><span class="preprocessor"># if __IBMC__ >= 800</span></div> |
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "XL"</span></div> |
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "VisualAge"</span></div> |
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor"></span> <span class="comment">/* __IBMC__ = VRP */</span></div> |
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)</span></div> |
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)</span></div> |
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)</span></div> |
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#elif defined(__PGI)</span></div> |
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "PGI"</span></div> |
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__PGIC__)</span></div> |
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__PGIC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#elif defined(_CRAYC)</span></div> |
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Cray"</span></div> |
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_RELEASE)</span></div> |
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)</span></div> |
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#elif defined(__TI_COMPILER_VERSION__)</span></div> |
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "TI"</span></div> |
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"></span> <span class="comment">/* __TI_COMPILER_VERSION__ = VVVRRRPPP */</span></div> |
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)</span></div> |
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)</span></div> |
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)</span></div> |
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor">#elif defined(__TINYC__)</span></div> |
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "TinyCC"</span></div> |
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#elif defined(__SCO_VERSION__)</span></div> |
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "SCO"</span></div> |
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor">#elif defined(__GNUC__)</span></div> |
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "GNU"</span></div> |
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__GNUC__)</span></div> |
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__GNUC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor">#elif defined(_MSC_VER)</span></div> |
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MSVC"</span></div> |
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_VER = VVRR */</span></div> |
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)</span></div> |
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)</span></div> |
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_MSC_FULL_VER)</span></div> |
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor"></span><span class="preprocessor"># if _MSC_VER >= 1400</span></div> |
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_FULL_VER = VVRRPPPPP */</span></div> |
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)</span></div> |
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_FULL_VER = VVRRPPPP */</span></div> |
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)</span></div> |
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_MSC_BUILD)</span></div> |
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)</span></div> |
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment">/* Analog VisualDSP++ >= 4.5.6 */</span></div> |
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="preprocessor">#elif defined(__VISUALDSPVERSION__)</span></div> |
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "ADSP"</span></div> |
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor"></span> <span class="comment">/* __VISUALDSPVERSION__ = 0xVVRRPP00 */</span></div> |
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)</span></div> |
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment">/* Analog VisualDSP++ < 4.5.6 */</span></div> |
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor">#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)</span></div> |
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "ADSP"</span></div> |
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment">/* IAR Systems compiler for embedded systems.</span></div> |
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> http://www.iar.com */</span></div> |
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor">#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)</span></div> |
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "IAR"</span></div> |
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment">/* sdcc, the small devices C compiler for embedded systems,</span></div> |
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> http://sdcc.sourceforge.net */</span></div> |
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor">#elif defined(SDCC)</span></div> |
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "SDCC"</span></div> |
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor"></span> <span class="comment">/* SDCC = VRP */</span></div> |
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(SDCC/100)</span></div> |
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)</span></div> |
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(SDCC % 10)</span></div> |
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor">#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)</span></div> |
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MIPSpro"</span></div> |
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_SGI_COMPILER_VERSION)</span></div> |
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor"></span> <span class="comment">/* _SGI_COMPILER_VERSION = VRP */</span></div> |
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)</span></div> |
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)</span></div> |
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)</span></div> |
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="preprocessor"></span> <span class="comment">/* _COMPILER_VERSION = VRP */</span></div> |
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)</span></div> |
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)</span></div> |
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)</span></div> |
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment">/* This compiler is either not known or is too old to define an</span></div> |
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment"> identification macro. Try to identify the platform and guess that</span></div> |
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment"> it is the native compiler. */</span></div> |
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor">#elif defined(__sgi)</span></div> |
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MIPSpro"</span></div> |
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="preprocessor">#elif defined(__hpux) || defined(__hpua)</span></div> |
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "HP"</span></div> |
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="preprocessor">#else </span><span class="comment">/* unknown compiler */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174"> 200</a></span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID ""</span></div> |
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment">/* Construct the string literal in pieces to prevent the source from</span></div> |
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> getting matched. Store it in a pointer rather than an array</span></div> |
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> because some compilers will just produce instructions to fill the</span></div> |
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> array rather than assigning a pointer to a static array. */</span></div> |
||||
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6"> 208</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"compiler["</span> <a class="code" href="CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> |
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment">/* Identify known platforms by name. */</span></div> |
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="preprocessor">#if defined(__linux) || defined(__linux__) || defined(linux)</span></div> |
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Linux"</span></div> |
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor">#elif defined(__CYGWIN__)</span></div> |
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Cygwin"</span></div> |
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="preprocessor">#elif defined(__MINGW32__)</span></div> |
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "MinGW"</span></div> |
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="preprocessor">#elif defined(__APPLE__)</span></div> |
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Darwin"</span></div> |
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor">#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)</span></div> |
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Windows"</span></div> |
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="preprocessor">#elif defined(__FreeBSD__) || defined(__FreeBSD)</span></div> |
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "FreeBSD"</span></div> |
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="preprocessor">#elif defined(__NetBSD__) || defined(__NetBSD)</span></div> |
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "NetBSD"</span></div> |
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="preprocessor">#elif defined(__OpenBSD__) || defined(__OPENBSD)</span></div> |
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "OpenBSD"</span></div> |
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#elif defined(__sun) || defined(sun)</span></div> |
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SunOS"</span></div> |
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="preprocessor">#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)</span></div> |
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "AIX"</span></div> |
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="preprocessor">#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)</span></div> |
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "IRIX"</span></div> |
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor">#elif defined(__hpux) || defined(__hpux__)</span></div> |
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "HP-UX"</span></div> |
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="preprocessor">#elif defined(__HAIKU__)</span></div> |
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Haiku"</span></div> |
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="preprocessor">#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)</span></div> |
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "BeOS"</span></div> |
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="preprocessor">#elif defined(__QNX__) || defined(__QNXNTO__)</span></div> |
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "QNX"</span></div> |
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="preprocessor">#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)</span></div> |
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Tru64"</span></div> |
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="preprocessor">#elif defined(__riscos) || defined(__riscos__)</span></div> |
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "RISCos"</span></div> |
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor">#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)</span></div> |
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SINIX"</span></div> |
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="preprocessor">#elif defined(__UNIX_SV__)</span></div> |
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "UNIX_SV"</span></div> |
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="preprocessor">#elif defined(__bsdos__)</span></div> |
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "BSDOS"</span></div> |
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="preprocessor">#elif defined(_MPRAS) || defined(MPRAS)</span></div> |
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "MP-RAS"</span></div> |
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="preprocessor">#elif defined(__osf) || defined(__osf__)</span></div> |
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "OSF1"</span></div> |
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="preprocessor">#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)</span></div> |
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SCO_SV"</span></div> |
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="preprocessor">#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)</span></div> |
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "ULTRIX"</span></div> |
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="preprocessor">#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)</span></div> |
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Xenix"</span></div> |
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="preprocessor">#else </span><span class="comment">/* unknown platform */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b"> 287</a></span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID ""</span></div> |
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment">/* For windows compilers MSVC and Intel we can determine</span></div> |
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="comment"> the architecture of the compiler being used. This is because</span></div> |
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="comment"> the compilers do not have flags that can change the architecture,</span></div> |
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="comment"> but rather depend on which compiler is being used</span></div> |
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment">*/</span></div> |
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="preprocessor">#if defined(_WIN32) && defined(_MSC_VER)</span></div> |
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_M_IA64)</span></div> |
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "IA64"</span></div> |
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor"># elif defined(_M_X64) || defined(_M_AMD64)</span></div> |
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "x64"</span></div> |
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="preprocessor"># elif defined(_M_IX86)</span></div> |
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "X86"</span></div> |
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor"># elif defined(_M_ARM)</span></div> |
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "ARM"</span></div> |
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="preprocessor"># elif defined(_M_MIPS)</span></div> |
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "MIPS"</span></div> |
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="preprocessor"># elif defined(_M_SH)</span></div> |
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "SHx"</span></div> |
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="preprocessor"># else </span><span class="comment">/* unknown architecture */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID ""</span></div> |
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="preprocessor">#else</span></div> |
||||
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28"> 320</a></span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID ""</span></div> |
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment">/* Convert integer to decimal digit literals. */</span></div> |
||||
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#ad1280362da42492bbc11aa78cbf776ad"> 324</a></span> <span class="preprocessor">#define DEC(n) \</span></div> |
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="preprocessor"> ('0' + (((n) / 10000000)%10)), \</span></div> |
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="preprocessor"> ('0' + (((n) / 1000000)%10)), \</span></div> |
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="preprocessor"> ('0' + (((n) / 100000)%10)), \</span></div> |
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="preprocessor"> ('0' + (((n) / 10000)%10)), \</span></div> |
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="preprocessor"> ('0' + (((n) / 1000)%10)), \</span></div> |
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="preprocessor"> ('0' + (((n) / 100)%10)), \</span></div> |
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="preprocessor"> ('0' + (((n) / 10)%10)), \</span></div> |
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="preprocessor"> ('0' + ((n) % 10))</span></div> |
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment">/* Convert integer to hex digit literals. */</span></div> |
||||
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a46d5d95daa1bef867bd0179594310ed5"> 335</a></span> <span class="preprocessor">#define HEX(n) \</span></div> |
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor"> ('0' + ((n)>>28 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="preprocessor"> ('0' + ((n)>>24 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="preprocessor"> ('0' + ((n)>>20 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="preprocessor"> ('0' + ((n)>>16 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="preprocessor"> ('0' + ((n)>>12 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor"> ('0' + ((n)>>8 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor"> ('0' + ((n)>>4 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor"> ('0' + ((n) & 0xF))</span></div> |
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment">/* Construct a string literal encoding the version number components. */</span></div> |
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor">#ifdef COMPILER_VERSION_MAJOR</span></div> |
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="preprocessor"></span><span class="keywordtype">char</span> <span class="keyword">const</span> info_version[] = {</div> |
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="charliteral">'I'</span>, <span class="charliteral">'N'</span>, <span class="charliteral">'F'</span>, <span class="charliteral">'O'</span>, <span class="charliteral">':'</span>,</div> |
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="charliteral">'c'</span>,<span class="charliteral">'o'</span>,<span class="charliteral">'m'</span>,<span class="charliteral">'p'</span>,<span class="charliteral">'i'</span>,<span class="charliteral">'l'</span>,<span class="charliteral">'e'</span>,<span class="charliteral">'r'</span>,<span class="charliteral">'_'</span>,<span class="charliteral">'v'</span>,<span class="charliteral">'e'</span>,<span class="charliteral">'r'</span>,<span class="charliteral">'s'</span>,<span class="charliteral">'i'</span>,<span class="charliteral">'o'</span>,<span class="charliteral">'n'</span>,<span class="charliteral">'['</span>,</div> |
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  COMPILER_VERSION_MAJOR,</div> |
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="preprocessor"># ifdef COMPILER_VERSION_MINOR</span></div> |
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_MINOR,</div> |
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="preprocessor"># ifdef COMPILER_VERSION_PATCH</span></div> |
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_PATCH,</div> |
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="preprocessor"># ifdef COMPILER_VERSION_TWEAK</span></div> |
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_TWEAK,</div> |
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> <span class="preprocessor"></span> <span class="charliteral">']'</span>,<span class="charliteral">'\0'</span>};</div> |
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment">/* Construct the string literal in pieces to prevent the source from</span></div> |
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="comment"> getting matched. Store it in a pointer rather than an array</span></div> |
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment"> because some compilers will just produce instructions to fill the</span></div> |
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="comment"> array rather than assigning a pointer to a static array. */</span></div> |
||||
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4"> 367</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"platform["</span> <a class="code" href="CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391"> 368</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"arch["</span> <a class="code" href="CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div> |
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div> |
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div> |
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="comment">/*--------------------------------------------------------------------------*/</span></div> |
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> </div> |
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="preprocessor">#ifdef ID_VOID_MAIN</span></div> |
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>() {}</div> |
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="preprocessor">#else</span></div> |
||||
<div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97"> 377</a></span> <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>* argv[])</div> |
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> {</div> |
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordtype">int</span> require = 0;</div> |
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  require += <a class="code" href="CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a>[argc];</div> |
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  require += <a class="code" href="CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a>[argc];</div> |
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  require += <a class="code" href="CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a>[argc];</div> |
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="preprocessor">#ifdef COMPILER_VERSION_MAJOR</span></div> |
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="preprocessor"></span> require += info_version[argc];</div> |
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="preprocessor"></span> (void)argv;</div> |
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">return</span> require;</div> |
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> }</div> |
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_a59647e99d304ed33b15cb284c27ed391"><div class="ttname"><a href="CMakeCCompilerId_8c.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a></div><div class="ttdeci">char const * info_arch</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00368">CMakeCCompilerId.c:368</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_a4b0efeb7a5d59313986b3a0390f050f6"><div class="ttname"><a href="CMakeCCompilerId_8c.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a></div><div class="ttdeci">char const * info_compiler</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00208">CMakeCCompilerId.c:208</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_a0ddf1224851353fc92bfbff6f499fa97"><div class="ttname"><a href="CMakeCCompilerId_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a></div><div class="ttdeci">int main(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00377">CMakeCCompilerId.c:377</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_a2321403dee54ee23f0c2fa849c60f7d4"><div class="ttname"><a href="CMakeCCompilerId_8c.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a></div><div class="ttdeci">char const * info_platform</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00367">CMakeCCompilerId.c:367</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_aba35d0d200deaeb06aee95ca297acb28"><div class="ttname"><a href="CMakeCCompilerId_8c.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a></div><div class="ttdeci">#define ARCHITECTURE_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00320">CMakeCCompilerId.c:320</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_a81dee0709ded976b2e0319239f72d174"><div class="ttname"><a href="CMakeCCompilerId_8c.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a></div><div class="ttdeci">#define COMPILER_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00200">CMakeCCompilerId.c:200</a></div></div> |
||||
<div class="ttc" id="CMakeCCompilerId_8c_html_adbc5372f40838899018fadbc89bd588b"><div class="ttname"><a href="CMakeCCompilerId_8c.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a></div><div class="ttdeci">#define PLATFORM_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCCompilerId_8c_source.html#l00287">CMakeCCompilerId.c:287</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li><li class="navelem"><a class="el" href="dir_809fdf020f596158475f2a5965da168b.html">CompilerIdC</a></li><li class="navelem"><a class="el" href="CMakeCCompilerId_8c.html">CMakeCCompilerId.c</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,321 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: CMakeCXXCompilerId.cpp 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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('CMakeCXXCompilerId_8cpp.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="#define-members">Macros</a> | |
||||
<a href="#func-members">Functions</a> | |
||||
<a href="#var-members">Variables</a> </div> |
||||
<div class="headertitle"> |
||||
<div class="title">CMakeCXXCompilerId.cpp File Reference</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
|
||||
<p><a href="CMakeCXXCompilerId_8cpp_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="define-members"></a> |
||||
Macros</h2></td></tr> |
||||
<tr class="memitem:a81dee0709ded976b2e0319239f72d174"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a>   ""</td></tr> |
||||
<tr class="separator:a81dee0709ded976b2e0319239f72d174"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:adbc5372f40838899018fadbc89bd588b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a>   ""</td></tr> |
||||
<tr class="separator:adbc5372f40838899018fadbc89bd588b"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:aba35d0d200deaeb06aee95ca297acb28"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a>   ""</td></tr> |
||||
<tr class="separator:aba35d0d200deaeb06aee95ca297acb28"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:ad1280362da42492bbc11aa78cbf776ad"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad">DEC</a>(n)</td></tr> |
||||
<tr class="separator:ad1280362da42492bbc11aa78cbf776ad"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a46d5d95daa1bef867bd0179594310ed5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5">HEX</a>(n)</td></tr> |
||||
<tr class="separator:a46d5d95daa1bef867bd0179594310ed5"><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:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr> |
||||
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table><table class="memberdecls"> |
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> |
||||
Variables</h2></td></tr> |
||||
<tr class="memitem:a4b0efeb7a5d59313986b3a0390f050f6"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a> = "INFO" ":" "compiler[" COMPILER_ID "]"</td></tr> |
||||
<tr class="separator:a4b0efeb7a5d59313986b3a0390f050f6"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a2321403dee54ee23f0c2fa849c60f7d4"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a> = "INFO" ":" "platform[" PLATFORM_ID "]"</td></tr> |
||||
<tr class="separator:a2321403dee54ee23f0c2fa849c60f7d4"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:a59647e99d304ed33b15cb284c27ed391"><td class="memItemLeft" align="right" valign="top">char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a> = "INFO" ":" "arch[" ARCHITECTURE_ID "]"</td></tr> |
||||
<tr class="separator:a59647e99d304ed33b15cb284c27ed391"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table> |
||||
<h2 class="groupheader">Macro Definition Documentation</h2> |
||||
<a class="anchor" id="aba35d0d200deaeb06aee95ca297acb28"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define ARCHITECTURE_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00313">313</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a81dee0709ded976b2e0319239f72d174"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define COMPILER_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00193">193</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="ad1280362da42492bbc11aa78cbf776ad"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define DEC</td> |
||||
<td>(</td> |
||||
<td class="paramtype"> </td> |
||||
<td class="paramname">n</td><td>)</td> |
||||
<td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
<b>Value:</b><div class="fragment"><div class="line">(<span class="charliteral">'0'</span> + (((n) / 10000000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 1000000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 100000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 10000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 1000)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 100)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + (((n) / 10)%10)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n) % 10))</div> |
||||
</div><!-- fragment --> |
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00317">317</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a46d5d95daa1bef867bd0179594310ed5"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define HEX</td> |
||||
<td>(</td> |
||||
<td class="paramtype"> </td> |
||||
<td class="paramname">n</td><td>)</td> |
||||
<td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
<b>Value:</b><div class="fragment"><div class="line">(<span class="charliteral">'0'</span> + ((n)>>28 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>24 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>20 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>16 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>12 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>8 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n)>>4 & 0xF)), \</div> |
||||
<div class="line"> (<span class="charliteral">'0'</span> + ((n) & 0xF))</div> |
||||
</div><!-- fragment --> |
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00328">328</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="adbc5372f40838899018fadbc89bd588b"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">#define PLATFORM_ID   ""</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00280">280</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<h2 class="groupheader">Function Documentation</h2> |
||||
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">int main </td> |
||||
<td>(</td> |
||||
<td class="paramtype">int </td> |
||||
<td class="paramname"><em>argc</em>, </td> |
||||
</tr> |
||||
<tr> |
||||
<td class="paramkey"></td> |
||||
<td></td> |
||||
<td class="paramtype">char * </td> |
||||
<td class="paramname"><em>argv</em>[] </td> |
||||
</tr> |
||||
<tr> |
||||
<td></td> |
||||
<td>)</td> |
||||
<td></td><td></td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00367">367</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<h2 class="groupheader">Variable Documentation</h2> |
||||
<a class="anchor" id="a59647e99d304ed33b15cb284c27ed391"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00361">361</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a4b0efeb7a5d59313986b3a0390f050f6"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00201">201</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
<a class="anchor" id="a2321403dee54ee23f0c2fa849c60f7d4"></a> |
||||
<div class="memitem"> |
||||
<div class="memproto"> |
||||
<table class="memname"> |
||||
<tr> |
||||
<td class="memname">char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"</td> |
||||
</tr> |
||||
</table> |
||||
</div><div class="memdoc"> |
||||
|
||||
<p>Definition at line <a class="el" href="CMakeCXXCompilerId_8cpp_source.html#l00360">360</a> of file <a class="el" href="CMakeCXXCompilerId_8cpp_source.html">CMakeCXXCompilerId.cpp</a>.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
</div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li><li class="navelem"><a class="el" href="dir_e4c94ea1ee5d049635f30d47cb900190.html">CompilerIdCXX</a></li><li class="navelem"><a class="el" href="CMakeCXXCompilerId_8cpp.html">CMakeCXXCompilerId.cpp</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,12 @@
|
||||
var CMakeCXXCompilerId_8cpp = |
||||
[ |
||||
[ "ARCHITECTURE_ID", "CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28", null ], |
||||
[ "COMPILER_ID", "CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174", null ], |
||||
[ "DEC", "CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad", null ], |
||||
[ "HEX", "CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5", null ], |
||||
[ "PLATFORM_ID", "CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b", null ], |
||||
[ "main", "CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97", null ], |
||||
[ "info_arch", "CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391", null ], |
||||
[ "info_compiler", "CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6", null ], |
||||
[ "info_platform", "CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4", null ] |
||||
]; |
@ -0,0 +1,504 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: CMakeCXXCompilerId.cpp Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('CMakeCXXCompilerId_8cpp_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">CMakeCXXCompilerId.cpp</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="CMakeCXXCompilerId_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* This source file must have a .cpp extension so that all C++ compilers</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> recognize the extension without flags. Borland does not know .cxx for</span></div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> example. */</span></div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#ifndef __cplusplus</span></div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor"></span><span class="preprocessor"># error "A C compiler has been selected for C++."</span></div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">/* Version number components: V=Version, R=Revision, P=Patch</span></div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> Version date components: YYYY=Year, MM=Month, DD=Day */</span></div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#if defined(__COMO__)</span></div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Comeau"</span></div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span> <span class="comment">/* __COMO_VERSION__ = VRR */</span></div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)</span></div> |
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)</span></div> |
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#elif defined(__INTEL_COMPILER) || defined(__ICC)</span></div> |
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Intel"</span></div> |
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span> <span class="comment">/* __INTEL_COMPILER = VRP */</span></div> |
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)</span></div> |
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)</span></div> |
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)</span></div> |
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__INTEL_COMPILER_BUILD_DATE)</span></div> |
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span> <span class="comment">/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */</span></div> |
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"># define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)</span></div> |
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#elif defined(__PATHCC__)</span></div> |
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "PathScale"</span></div> |
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__PATHCC__)</span></div> |
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__PATHCC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#elif defined(__clang__)</span></div> |
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Clang"</span></div> |
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__clang_major__)</span></div> |
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__clang_minor__)</span></div> |
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)</span></div> |
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)</span></div> |
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Embarcadero"</span></div> |
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)</span></div> |
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)</span></div> |
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)</span></div> |
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#elif defined(__BORLANDC__)</span></div> |
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Borland"</span></div> |
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span> <span class="comment">/* __BORLANDC__ = 0xVRR */</span></div> |
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)</span></div> |
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)</span></div> |
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#elif defined(__WATCOMC__)</span></div> |
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Watcom"</span></div> |
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span> <span class="comment">/* __WATCOMC__ = VVRR */</span></div> |
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)</span></div> |
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)</span></div> |
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#elif defined(__SUNPRO_CC)</span></div> |
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "SunPro"</span></div> |
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span><span class="preprocessor"># if __SUNPRO_CC >= 0x5100</span></div> |
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"></span> <span class="comment">/* __SUNPRO_CC = 0xVRRP */</span></div> |
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)</span></div> |
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)</span></div> |
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"></span> <span class="comment">/* __SUNPRO_CC = 0xVRP */</span></div> |
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)</span></div> |
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)</span></div> |
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)</span></div> |
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#elif defined(__HP_aCC)</span></div> |
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "HP"</span></div> |
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"></span> <span class="comment">/* __HP_aCC = VVRRPP */</span></div> |
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)</span></div> |
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)</span></div> |
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)</span></div> |
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#elif defined(__DECCXX)</span></div> |
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Compaq"</span></div> |
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"></span> <span class="comment">/* __DECCXX_VER = VVRRTPPPP */</span></div> |
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)</span></div> |
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)</span></div> |
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)</span></div> |
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#elif defined(__IBMCPP__)</span></div> |
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__COMPILER_VER__)</span></div> |
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "zOS"</span></div> |
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor"></span><span class="preprocessor"># if __IBMCPP__ >= 800</span></div> |
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "XL"</span></div> |
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "VisualAge"</span></div> |
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"></span> <span class="comment">/* __IBMCPP__ = VRP */</span></div> |
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)</span></div> |
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)</span></div> |
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)</span></div> |
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#elif defined(__PGI)</span></div> |
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "PGI"</span></div> |
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__PGIC__)</span></div> |
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__PGIC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#elif defined(_CRAYC)</span></div> |
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "Cray"</span></div> |
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_RELEASE)</span></div> |
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)</span></div> |
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="preprocessor">#elif defined(__TI_COMPILER_VERSION__)</span></div> |
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "TI"</span></div> |
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor"></span> <span class="comment">/* __TI_COMPILER_VERSION__ = VVVRRRPPP */</span></div> |
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)</span></div> |
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)</span></div> |
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)</span></div> |
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#elif defined(__SCO_VERSION__)</span></div> |
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "SCO"</span></div> |
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="preprocessor">#elif defined(__GNUC__)</span></div> |
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "GNU"</span></div> |
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(__GNUC__)</span></div> |
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)</span></div> |
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(__GNUC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)</span></div> |
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#elif defined(_MSC_VER)</span></div> |
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MSVC"</span></div> |
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_VER = VVRR */</span></div> |
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)</span></div> |
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)</span></div> |
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_MSC_FULL_VER)</span></div> |
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor"></span><span class="preprocessor"># if _MSC_VER >= 1400</span></div> |
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_FULL_VER = VVRRPPPPP */</span></div> |
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)</span></div> |
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor"></span> <span class="comment">/* _MSC_FULL_VER = VVRRPPPP */</span></div> |
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)</span></div> |
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_MSC_BUILD)</span></div> |
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)</span></div> |
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment">/* Analog VisualDSP++ >= 4.5.6 */</span></div> |
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor">#elif defined(__VISUALDSPVERSION__)</span></div> |
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "ADSP"</span></div> |
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="preprocessor"></span> <span class="comment">/* __VISUALDSPVERSION__ = 0xVVRRPP00 */</span></div> |
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)</span></div> |
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)</span></div> |
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment">/* Analog VisualDSP++ < 4.5.6 */</span></div> |
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor">#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)</span></div> |
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "ADSP"</span></div> |
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment">/* IAR Systems compiler for embedded systems.</span></div> |
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> http://www.iar.com */</span></div> |
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)</span></div> |
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "IAR"</span></div> |
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor">#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)</span></div> |
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MIPSpro"</span></div> |
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_SGI_COMPILER_VERSION)</span></div> |
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="preprocessor"></span> <span class="comment">/* _SGI_COMPILER_VERSION = VRP */</span></div> |
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)</span></div> |
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)</span></div> |
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)</span></div> |
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor"></span><span class="preprocessor"># else</span></div> |
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor"></span> <span class="comment">/* _COMPILER_VERSION = VRP */</span></div> |
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor"># define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)</span></div> |
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)</span></div> |
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)</span></div> |
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment">/* This compiler is either not known or is too old to define an</span></div> |
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> identification macro. Try to identify the platform and guess that</span></div> |
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> it is the native compiler. */</span></div> |
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="preprocessor">#elif defined(__sgi)</span></div> |
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "MIPSpro"</span></div> |
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor">#elif defined(__hpux) || defined(__hpua)</span></div> |
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID "HP"</span></div> |
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#else </span><span class="comment">/* unknown compiler */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174"> 193</a></span> <span class="preprocessor"></span><span class="preprocessor"># define COMPILER_ID ""</span></div> |
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment">/* Construct the string literal in pieces to prevent the source from</span></div> |
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> getting matched. Store it in a pointer rather than an array</span></div> |
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> because some compilers will just produce instructions to fill the</span></div> |
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> array rather than assigning a pointer to a static array. */</span></div> |
||||
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6"> 201</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"compiler["</span> <a class="code" href="CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div> |
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment">/* Identify known platforms by name. */</span></div> |
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="preprocessor">#if defined(__linux) || defined(__linux__) || defined(linux)</span></div> |
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Linux"</span></div> |
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor">#elif defined(__CYGWIN__)</span></div> |
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Cygwin"</span></div> |
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="preprocessor">#elif defined(__MINGW32__)</span></div> |
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "MinGW"</span></div> |
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="preprocessor">#elif defined(__APPLE__)</span></div> |
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Darwin"</span></div> |
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="preprocessor">#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)</span></div> |
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Windows"</span></div> |
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#elif defined(__FreeBSD__) || defined(__FreeBSD)</span></div> |
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "FreeBSD"</span></div> |
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor">#elif defined(__NetBSD__) || defined(__NetBSD)</span></div> |
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "NetBSD"</span></div> |
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="preprocessor">#elif defined(__OpenBSD__) || defined(__OPENBSD)</span></div> |
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "OpenBSD"</span></div> |
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="preprocessor">#elif defined(__sun) || defined(sun)</span></div> |
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SunOS"</span></div> |
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="preprocessor">#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)</span></div> |
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "AIX"</span></div> |
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="preprocessor">#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)</span></div> |
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "IRIX"</span></div> |
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="preprocessor">#elif defined(__hpux) || defined(__hpux__)</span></div> |
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "HP-UX"</span></div> |
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="preprocessor">#elif defined(__HAIKU__)</span></div> |
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Haiku"</span></div> |
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor">#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)</span></div> |
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "BeOS"</span></div> |
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor">#elif defined(__QNX__) || defined(__QNXNTO__)</span></div> |
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "QNX"</span></div> |
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="preprocessor">#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)</span></div> |
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Tru64"</span></div> |
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="preprocessor">#elif defined(__riscos) || defined(__riscos__)</span></div> |
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "RISCos"</span></div> |
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="preprocessor">#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)</span></div> |
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SINIX"</span></div> |
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="preprocessor">#elif defined(__UNIX_SV__)</span></div> |
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "UNIX_SV"</span></div> |
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#elif defined(__bsdos__)</span></div> |
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "BSDOS"</span></div> |
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="preprocessor">#elif defined(_MPRAS) || defined(MPRAS)</span></div> |
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "MP-RAS"</span></div> |
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="preprocessor">#elif defined(__osf) || defined(__osf__)</span></div> |
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "OSF1"</span></div> |
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="preprocessor">#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)</span></div> |
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "SCO_SV"</span></div> |
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor">#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)</span></div> |
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "ULTRIX"</span></div> |
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor">#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)</span></div> |
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID "Xenix"</span></div> |
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="preprocessor">#else </span><span class="comment">/* unknown platform */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b"> 280</a></span> <span class="preprocessor"></span><span class="preprocessor"># define PLATFORM_ID ""</span></div> |
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="comment">/* For windows compilers MSVC and Intel we can determine</span></div> |
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment"> the architecture of the compiler being used. This is because</span></div> |
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> the compilers do not have flags that can change the architecture,</span></div> |
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> but rather depend on which compiler is being used</span></div> |
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment">*/</span></div> |
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#if defined(_WIN32) && defined(_MSC_VER)</span></div> |
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="preprocessor"></span><span class="preprocessor"># if defined(_M_IA64)</span></div> |
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "IA64"</span></div> |
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor"># elif defined(_M_X64) || defined(_M_AMD64)</span></div> |
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "x64"</span></div> |
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="preprocessor"># elif defined(_M_IX86)</span></div> |
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "X86"</span></div> |
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="preprocessor"># elif defined(_M_ARM)</span></div> |
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "ARM"</span></div> |
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="preprocessor"># elif defined(_M_MIPS)</span></div> |
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "MIPS"</span></div> |
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="preprocessor"># elif defined(_M_SH)</span></div> |
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID "SHx"</span></div> |
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor"># else </span><span class="comment">/* unknown architecture */</span><span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID ""</span></div> |
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="preprocessor">#else</span></div> |
||||
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28"> 313</a></span> <span class="preprocessor"></span><span class="preprocessor"># define ARCHITECTURE_ID ""</span></div> |
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="comment">/* Convert integer to decimal digit literals. */</span></div> |
||||
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#ad1280362da42492bbc11aa78cbf776ad"> 317</a></span> <span class="preprocessor">#define DEC(n) \</span></div> |
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="preprocessor"> ('0' + (((n) / 10000000)%10)), \</span></div> |
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="preprocessor"> ('0' + (((n) / 1000000)%10)), \</span></div> |
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="preprocessor"> ('0' + (((n) / 100000)%10)), \</span></div> |
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="preprocessor"> ('0' + (((n) / 10000)%10)), \</span></div> |
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="preprocessor"> ('0' + (((n) / 1000)%10)), \</span></div> |
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="preprocessor"> ('0' + (((n) / 100)%10)), \</span></div> |
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="preprocessor"> ('0' + (((n) / 10)%10)), \</span></div> |
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="preprocessor"> ('0' + ((n) % 10))</span></div> |
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">/* Convert integer to hex digit literals. */</span></div> |
||||
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a46d5d95daa1bef867bd0179594310ed5"> 328</a></span> <span class="preprocessor">#define HEX(n) \</span></div> |
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="preprocessor"> ('0' + ((n)>>28 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="preprocessor"> ('0' + ((n)>>24 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="preprocessor"> ('0' + ((n)>>20 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="preprocessor"> ('0' + ((n)>>16 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor"> ('0' + ((n)>>12 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="preprocessor"> ('0' + ((n)>>8 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor"> ('0' + ((n)>>4 & 0xF)), \</span></div> |
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor"> ('0' + ((n) & 0xF))</span></div> |
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">/* Construct a string literal encoding the version number components. */</span></div> |
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="preprocessor">#ifdef COMPILER_VERSION_MAJOR</span></div> |
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="preprocessor"></span><span class="keywordtype">char</span> <span class="keyword">const</span> info_version[] = {</div> |
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="charliteral">'I'</span>, <span class="charliteral">'N'</span>, <span class="charliteral">'F'</span>, <span class="charliteral">'O'</span>, <span class="charliteral">':'</span>,</div> |
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="charliteral">'c'</span>,<span class="charliteral">'o'</span>,<span class="charliteral">'m'</span>,<span class="charliteral">'p'</span>,<span class="charliteral">'i'</span>,<span class="charliteral">'l'</span>,<span class="charliteral">'e'</span>,<span class="charliteral">'r'</span>,<span class="charliteral">'_'</span>,<span class="charliteral">'v'</span>,<span class="charliteral">'e'</span>,<span class="charliteral">'r'</span>,<span class="charliteral">'s'</span>,<span class="charliteral">'i'</span>,<span class="charliteral">'o'</span>,<span class="charliteral">'n'</span>,<span class="charliteral">'['</span>,</div> |
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  COMPILER_VERSION_MAJOR,</div> |
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor"># ifdef COMPILER_VERSION_MINOR</span></div> |
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_MINOR,</div> |
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor"># ifdef COMPILER_VERSION_PATCH</span></div> |
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_PATCH,</div> |
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="preprocessor"># ifdef COMPILER_VERSION_TWEAK</span></div> |
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="preprocessor"></span> <span class="charliteral">'.'</span>, COMPILER_VERSION_TWEAK,</div> |
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="preprocessor"></span><span class="preprocessor"># endif</span></div> |
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="preprocessor"></span> <span class="charliteral">']'</span>,<span class="charliteral">'\0'</span>};</div> |
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="comment">/* Construct the string literal in pieces to prevent the source from</span></div> |
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="comment"> getting matched. Store it in a pointer rather than an array</span></div> |
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="comment"> because some compilers will just produce instructions to fill the</span></div> |
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="comment"> array rather than assigning a pointer to a static array. */</span></div> |
||||
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4"> 360</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"platform["</span> <a class="code" href="CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391"> 361</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a> = <span class="stringliteral">"INFO"</span> <span class="stringliteral">":"</span> <span class="stringliteral">"arch["</span> <a class="code" href="CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a> <span class="stringliteral">"]"</span>;</div> |
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div> |
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div> |
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> </div> |
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment">/*--------------------------------------------------------------------------*/</span></div> |
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div> |
||||
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97"> 367</a></span> <span class="keywordtype">int</span> <a class="code" href="CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>* argv[])</div> |
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> {</div> |
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordtype">int</span> require = 0;</div> |
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  require += <a class="code" href="CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a>[argc];</div> |
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  require += <a class="code" href="CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a>[argc];</div> |
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="preprocessor">#ifdef COMPILER_VERSION_MAJOR</span></div> |
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="preprocessor"></span> require += info_version[argc];</div> |
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="preprocessor">#endif</span></div> |
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="preprocessor"></span> (void)argv;</div> |
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">return</span> require;</div> |
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> }</div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_a81dee0709ded976b2e0319239f72d174"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#a81dee0709ded976b2e0319239f72d174">COMPILER_ID</a></div><div class="ttdeci">#define COMPILER_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00193">CMakeCXXCompilerId.cpp:193</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_adbc5372f40838899018fadbc89bd588b"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#adbc5372f40838899018fadbc89bd588b">PLATFORM_ID</a></div><div class="ttdeci">#define PLATFORM_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00280">CMakeCXXCompilerId.cpp:280</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_a0ddf1224851353fc92bfbff6f499fa97"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a></div><div class="ttdeci">int main(int argc, char *argv[])</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00367">CMakeCXXCompilerId.cpp:367</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_a4b0efeb7a5d59313986b3a0390f050f6"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#a4b0efeb7a5d59313986b3a0390f050f6">info_compiler</a></div><div class="ttdeci">char const * info_compiler</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00201">CMakeCXXCompilerId.cpp:201</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_aba35d0d200deaeb06aee95ca297acb28"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#aba35d0d200deaeb06aee95ca297acb28">ARCHITECTURE_ID</a></div><div class="ttdeci">#define ARCHITECTURE_ID</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00313">CMakeCXXCompilerId.cpp:313</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_a59647e99d304ed33b15cb284c27ed391"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#a59647e99d304ed33b15cb284c27ed391">info_arch</a></div><div class="ttdeci">char const * info_arch</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00361">CMakeCXXCompilerId.cpp:361</a></div></div> |
||||
<div class="ttc" id="CMakeCXXCompilerId_8cpp_html_a2321403dee54ee23f0c2fa849c60f7d4"><div class="ttname"><a href="CMakeCXXCompilerId_8cpp.html#a2321403dee54ee23f0c2fa849c60f7d4">info_platform</a></div><div class="ttdeci">char const * info_platform</div><div class="ttdef"><b>Definition:</b> <a href="CMakeCXXCompilerId_8cpp_source.html#l00360">CMakeCXXCompilerId.cpp:360</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li><li class="navelem"><a class="el" href="dir_e4c94ea1ee5d049635f30d47cb900190.html">CompilerIdCXX</a></li><li class="navelem"><a class="el" href="CMakeCXXCompilerId_8cpp.html">CMakeCXXCompilerId.cpp</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,150 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Chat.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Chat_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Chat.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Chat_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Chat_8h.html">Telegram/Chat.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Chat.html#ae566583d7849c7d833f8762bff1d6cf1"> 3</a></span> <a class="code" href="classTelegram_1_1Chat.html#ae566583d7849c7d833f8762bff1d6cf1">Telegram::Chat::Chat</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><span class="keywordtype">id</span> = json[<span class="stringliteral">"id"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Chat.html#a1da65e2ad6fe28f6fb5804e7e191d0ae">type</a> = json[<span class="stringliteral">"type"</span>].asString();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Chat.html#ae1c6f65a6d1230c9e9f5cbb1e219673d">title</a> = json[<span class="stringliteral">"title"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Chat.html#aaf1469e8b10df8cdb40f515098e105cc">username</a> = json[<span class="stringliteral">"username"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="classTelegram_1_1Chat.html#acd96ac4abc204f5fe1a968c55c812814">first_name</a> = json[<span class="stringliteral">"first_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="classTelegram_1_1Chat.html#a001f6463f345f8b133562712d2587b80">last_name</a> = json[<span class="stringliteral">"last_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> }</div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classTelegram_1_1Chat.html#a4606d7a26be673bf83711f26e3cce85c"> 13</a></span> Json::Int64 <a class="code" href="classTelegram_1_1Chat.html#a4606d7a26be673bf83711f26e3cce85c">Telegram::Chat::getId</a>() {</div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> |
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keywordflow">return</span>(this-><span class="keywordtype">id</span>);</div> |
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> }</div> |
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> |
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classTelegram_1_1Chat.html#a272d17b106bdc299e47d1659a724f857"> 18</a></span> std::string <a class="code" href="classTelegram_1_1Chat.html#a272d17b106bdc299e47d1659a724f857">Telegram::Chat::getUsername</a>() {</div> |
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> |
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordflow">return</span>(this->username);</div> |
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_ae566583d7849c7d833f8762bff1d6cf1"><div class="ttname"><a href="classTelegram_1_1Chat.html#ae566583d7849c7d833f8762bff1d6cf1">Telegram::Chat::Chat</a></div><div class="ttdeci">Chat(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8cc_source.html#l00003">Chat.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_a001f6463f345f8b133562712d2587b80"><div class="ttname"><a href="classTelegram_1_1Chat.html#a001f6463f345f8b133562712d2587b80">Telegram::Chat::last_name</a></div><div class="ttdeci">std::string last_name</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00022">Chat.h:22</a></div></div> |
||||
<div class="ttc" id="Chat_8h_html"><div class="ttname"><a href="Chat_8h.html">Chat.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_acd96ac4abc204f5fe1a968c55c812814"><div class="ttname"><a href="classTelegram_1_1Chat.html#acd96ac4abc204f5fe1a968c55c812814">Telegram::Chat::first_name</a></div><div class="ttdeci">std::string first_name</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00021">Chat.h:21</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_a272d17b106bdc299e47d1659a724f857"><div class="ttname"><a href="classTelegram_1_1Chat.html#a272d17b106bdc299e47d1659a724f857">Telegram::Chat::getUsername</a></div><div class="ttdeci">std::string getUsername()</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8cc_source.html#l00018">Chat.cc:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_ae1c6f65a6d1230c9e9f5cbb1e219673d"><div class="ttname"><a href="classTelegram_1_1Chat.html#ae1c6f65a6d1230c9e9f5cbb1e219673d">Telegram::Chat::title</a></div><div class="ttdeci">std::string title</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00019">Chat.h:19</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_aaf1469e8b10df8cdb40f515098e105cc"><div class="ttname"><a href="classTelegram_1_1Chat.html#aaf1469e8b10df8cdb40f515098e105cc">Telegram::Chat::username</a></div><div class="ttdeci">std::string username</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00020">Chat.h:20</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_a1da65e2ad6fe28f6fb5804e7e191d0ae"><div class="ttname"><a href="classTelegram_1_1Chat.html#a1da65e2ad6fe28f6fb5804e7e191d0ae">Telegram::Chat::type</a></div><div class="ttdeci">std::string type</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00018">Chat.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html_a4606d7a26be673bf83711f26e3cce85c"><div class="ttname"><a href="classTelegram_1_1Chat.html#a4606d7a26be673bf83711f26e3cce85c">Telegram::Chat::getId</a></div><div class="ttdeci">Json::Int64 getId()</div><div class="ttdef"><b>Definition:</b> <a href="Chat_8cc_source.html#l00013">Chat.cc:13</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Chat_8cc.html">Chat.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,135 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Contact.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Contact_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Contact.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Contact_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Contact_8h.html">Telegram/Contact.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Contact.html#af1b919732d5b16564e125741d269084e"> 3</a></span> <a class="code" href="classTelegram_1_1Contact.html#af1b919732d5b16564e125741d269084e">Telegram::Contact::Contact</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Contact.html#aba1b3afb746b8fb112d610da8104d16e">phone_number</a> = json[<span class="stringliteral">"phone_number"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Contact.html#aacde44743e1cd9f98e3fb4e935915887">first_name</a> = json[<span class="stringliteral">"first_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Contact.html#af43632624cfad4e556e7792e5e230194">last_name</a> = json[<span class="stringliteral">"last_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Contact.html#ac61f527d40ab514fcf0d9fcb4073888f">user_id</a> = json[<span class="stringliteral">"user_id"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html_af1b919732d5b16564e125741d269084e"><div class="ttname"><a href="classTelegram_1_1Contact.html#af1b919732d5b16564e125741d269084e">Telegram::Contact::Contact</a></div><div class="ttdeci">Contact(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Contact_8cc_source.html#l00003">Contact.cc:3</a></div></div> |
||||
<div class="ttc" id="Contact_8h_html"><div class="ttname"><a href="Contact_8h.html">Contact.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html_af43632624cfad4e556e7792e5e230194"><div class="ttname"><a href="classTelegram_1_1Contact.html#af43632624cfad4e556e7792e5e230194">Telegram::Contact::last_name</a></div><div class="ttdeci">std::string last_name</div><div class="ttdef"><b>Definition:</b> <a href="Contact_8h_source.html#l00016">Contact.h:16</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html_aba1b3afb746b8fb112d610da8104d16e"><div class="ttname"><a href="classTelegram_1_1Contact.html#aba1b3afb746b8fb112d610da8104d16e">Telegram::Contact::phone_number</a></div><div class="ttdeci">std::string phone_number</div><div class="ttdef"><b>Definition:</b> <a href="Contact_8h_source.html#l00014">Contact.h:14</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html_aacde44743e1cd9f98e3fb4e935915887"><div class="ttname"><a href="classTelegram_1_1Contact.html#aacde44743e1cd9f98e3fb4e935915887">Telegram::Contact::first_name</a></div><div class="ttdeci">std::string first_name</div><div class="ttdef"><b>Definition:</b> <a href="Contact_8h_source.html#l00015">Contact.h:15</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html_ac61f527d40ab514fcf0d9fcb4073888f"><div class="ttname"><a href="classTelegram_1_1Contact.html#ac61f527d40ab514fcf0d9fcb4073888f">Telegram::Contact::user_id</a></div><div class="ttdeci">Json::Int64 user_id</div><div class="ttdef"><b>Definition:</b> <a href="Contact_8h_source.html#l00017">Contact.h:17</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Contact_8cc.html">Contact.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Document.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Document_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Document.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Document_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Document_8h.html">Telegram/Document.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Document.html#ab1bacdb05cbf7888e861e67f30510e63"> 3</a></span> <a class="code" href="classTelegram_1_1Document.html#ab1bacdb05cbf7888e861e67f30510e63">Telegram::Document::Document</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Document.html#ae25ee00b9d46b765c7ddb3b02c47134e">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Document.html#aa5d76202856215620d796592bc82f46f">thumb</a> = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1PhotoSize.html">PhotoSize</a>(json[<span class="stringliteral">"thumb"</span>]);</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Document.html#a14e26b2109d94a2de558c5e242fe8d17">file_name</a> = json[<span class="stringliteral">"file_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Document.html#ac80f838552b35fd4fbc379b91b3d5423">mime_type</a> = json[<span class="stringliteral">"mime_type"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="classTelegram_1_1Document.html#aa344b13c16c944577fb610186a9a35f3">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_aa344b13c16c944577fb610186a9a35f3"><div class="ttname"><a href="classTelegram_1_1Document.html#aa344b13c16c944577fb610186a9a35f3">Telegram::Document::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00020">Document.h:20</a></div></div> |
||||
<div class="ttc" id="Document_8h_html"><div class="ttname"><a href="Document_8h.html">Document.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a></div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00009">PhotoSize.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_aa5d76202856215620d796592bc82f46f"><div class="ttname"><a href="classTelegram_1_1Document.html#aa5d76202856215620d796592bc82f46f">Telegram::Document::thumb</a></div><div class="ttdeci">PhotoSize * thumb</div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00017">Document.h:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_ae25ee00b9d46b765c7ddb3b02c47134e"><div class="ttname"><a href="classTelegram_1_1Document.html#ae25ee00b9d46b765c7ddb3b02c47134e">Telegram::Document::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00016">Document.h:16</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_a14e26b2109d94a2de558c5e242fe8d17"><div class="ttname"><a href="classTelegram_1_1Document.html#a14e26b2109d94a2de558c5e242fe8d17">Telegram::Document::file_name</a></div><div class="ttdeci">std::string file_name</div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00018">Document.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_ab1bacdb05cbf7888e861e67f30510e63"><div class="ttname"><a href="classTelegram_1_1Document.html#ab1bacdb05cbf7888e861e67f30510e63">Telegram::Document::Document</a></div><div class="ttdeci">Document(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Document_8cc_source.html#l00003">Document.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html_ac80f838552b35fd4fbc379b91b3d5423"><div class="ttname"><a href="classTelegram_1_1Document.html#ac80f838552b35fd4fbc379b91b3d5423">Telegram::Document::mime_type</a></div><div class="ttdeci">std::string mime_type</div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00019">Document.h:19</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Document_8cc.html">Document.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Location.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Location_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Location.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Location_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Location_8h.html">Telegram/Location.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Location.html#a761abd5d590dca91c7eb3291622a35ed"> 3</a></span> <a class="code" href="classTelegram_1_1Location.html#a761abd5d590dca91c7eb3291622a35ed">Telegram::Location::Location</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Location.html#a999f1a2f5f3b79433209007809a2908c">longitude</a> = json[<span class="stringliteral">"longitude"</span>].asFloat();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Location.html#ae9106538f8d51aa060c437c08d2e796b">latitude</a> = json[<span class="stringliteral">"latitude"</span>].asFloat();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Location_html_a761abd5d590dca91c7eb3291622a35ed"><div class="ttname"><a href="classTelegram_1_1Location.html#a761abd5d590dca91c7eb3291622a35ed">Telegram::Location::Location</a></div><div class="ttdeci">Location(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Location_8cc_source.html#l00003">Location.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Location_html_a999f1a2f5f3b79433209007809a2908c"><div class="ttname"><a href="classTelegram_1_1Location.html#a999f1a2f5f3b79433209007809a2908c">Telegram::Location::longitude</a></div><div class="ttdeci">float longitude</div><div class="ttdef"><b>Definition:</b> <a href="Location_8h_source.html#l00013">Location.h:13</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Location_html_ae9106538f8d51aa060c437c08d2e796b"><div class="ttname"><a href="classTelegram_1_1Location.html#ae9106538f8d51aa060c437c08d2e796b">Telegram::Location::latitude</a></div><div class="ttdeci">float latitude</div><div class="ttdef"><b>Definition:</b> <a href="Location_8h_source.html#l00014">Location.h:14</a></div></div> |
||||
<div class="ttc" id="Location_8h_html"><div class="ttname"><a href="Location_8h.html">Location.h</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Location_8cc.html">Location.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: MessageEntity.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('MessageEntity_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">MessageEntity.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="MessageEntity_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="MessageEntity_8h.html">Telegram/MessageEntity.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1MessageEntity.html#a11eea544ae55f7ac805d4071b346d3b9"> 3</a></span> <a class="code" href="classTelegram_1_1MessageEntity.html#a11eea544ae55f7ac805d4071b346d3b9">Telegram::MessageEntity::MessageEntity</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1MessageEntity.html#a66ab9b8364c2e74f7b3a6a4038f44d4d">type</a> = json[<span class="stringliteral">"type"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1MessageEntity.html#a9cf8df63dd40c72d2c2fd09e97167aec">offset</a> = json[<span class="stringliteral">"offset"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1MessageEntity.html#ac092008eb965a2a975d9f4d791c23b72">length</a> = json[<span class="stringliteral">"length"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1MessageEntity.html#a85137fd5f1d53cb3cb45ce6297e65665">url</a> = json[<span class="stringliteral">"url"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classTelegram_1_1MessageEntity.html#a5087aa050868d7ccf89fa09ea683eb63"> 11</a></span> std::string <a class="code" href="classTelegram_1_1MessageEntity.html#a5087aa050868d7ccf89fa09ea683eb63">Telegram::MessageEntity::getType</a>() {</div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordflow">return</span>(this->type);</div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_a5087aa050868d7ccf89fa09ea683eb63"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#a5087aa050868d7ccf89fa09ea683eb63">Telegram::MessageEntity::getType</a></div><div class="ttdeci">std::string getType()</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8cc_source.html#l00011">MessageEntity.cc:11</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_a85137fd5f1d53cb3cb45ce6297e65665"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#a85137fd5f1d53cb3cb45ce6297e65665">Telegram::MessageEntity::url</a></div><div class="ttdeci">std::string url</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00020">MessageEntity.h:20</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_a66ab9b8364c2e74f7b3a6a4038f44d4d"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#a66ab9b8364c2e74f7b3a6a4038f44d4d">Telegram::MessageEntity::type</a></div><div class="ttdeci">std::string type</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00017">MessageEntity.h:17</a></div></div> |
||||
<div class="ttc" id="MessageEntity_8h_html"><div class="ttname"><a href="MessageEntity_8h.html">MessageEntity.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_a11eea544ae55f7ac805d4071b346d3b9"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#a11eea544ae55f7ac805d4071b346d3b9">Telegram::MessageEntity::MessageEntity</a></div><div class="ttdeci">MessageEntity(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8cc_source.html#l00003">MessageEntity.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_ac092008eb965a2a975d9f4d791c23b72"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#ac092008eb965a2a975d9f4d791c23b72">Telegram::MessageEntity::length</a></div><div class="ttdeci">Json::Int64 length</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00019">MessageEntity.h:19</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html_a9cf8df63dd40c72d2c2fd09e97167aec"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html#a9cf8df63dd40c72d2c2fd09e97167aec">Telegram::MessageEntity::offset</a></div><div class="ttdeci">Json::Int64 offset</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00018">MessageEntity.h:18</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="MessageEntity_8cc.html">MessageEntity.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Message.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Message_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Message.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Message_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Message_8h.html">Telegram/Message.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Generic constructor</span></div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// @TODO: Make this an "init"-Method and call it from the constructor</span></div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a467585156f9036194509f7f969d38ee7"> 5</a></span> <a class="code" href="classTelegram_1_1Message.html#a467585156f9036194509f7f969d38ee7">Telegram::Message::Message</a>(<span class="keywordtype">void</span>) {</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Message.html#ac86029f35bf2b694eebb2de870271b32">init</a>();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> }</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a05293cd3884ade64ae2ae9e523abafda"> 10</a></span> <a class="code" href="classTelegram_1_1Message.html#a467585156f9036194509f7f969d38ee7">Telegram::Message::Message</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordflow">if</span> (json[<span class="stringliteral">"message"</span>].isNull()) {</div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  this->init();</div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keywordflow">return</span>;</div> |
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  }</div> |
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> |
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  this->init(json);</div> |
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> }</div> |
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> |
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a34c66ab90402aaa8ed7cd49939112df8"> 20</a></span> <a class="code" href="classTelegram_1_1Message.html#a467585156f9036194509f7f969d38ee7">Telegram::Message::Message</a>(std::string message) {</div> |
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> |
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  Json::Value json;</div> |
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  Json::Reader reader;</div> |
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div> |
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  reader.parse(message, json);</div> |
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> |
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  this->init(json);</div> |
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div> |
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> |
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#ac86029f35bf2b694eebb2de870271b32"> 30</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1Message.html#ac86029f35bf2b694eebb2de870271b32">Telegram::Message::init</a>(<span class="keywordtype">void</span>) {</div> |
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> |
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  this->message_id = 0;</div> |
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  this->from = NULL;</div> |
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  this->date = 0;</div> |
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  this->chat = NULL;</div> |
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  this->forward_from = NULL;</div> |
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  this->forward_date = 0;</div> |
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  this->reply_to_message = NULL;</div> |
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  this->text = <span class="stringliteral">""</span>;</div> |
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  this->entities.clear();</div> |
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  this->audio = NULL;</div> |
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  this->document = NULL;</div> |
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  this->photo.clear();</div> |
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  this->sticker = NULL;</div> |
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  this->video = NULL;</div> |
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  this->voice = NULL;</div> |
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  this->caption = <span class="stringliteral">""</span>;</div> |
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  this->contact = NULL;</div> |
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  this->location = NULL;</div> |
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  this->venue = NULL;</div> |
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  this->new_chat_member = NULL;</div> |
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  this->left_chat_member = NULL;</div> |
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  this->new_chat_title = <span class="stringliteral">""</span>;</div> |
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  this->new_chat_photo.clear();</div> |
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  this->delete_chat_photo = 0;</div> |
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  this->group_chat_created = 0;</div> |
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  this->supergroup_chat_created = 0;</div> |
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  this->migrate_to_chat_id = 0;</div> |
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  this->pinned_message = NULL;</div> |
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div> |
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> |
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#ac5d1e55517e78dafb6bb52b936d817bd"> 62</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1Message.html#ac86029f35bf2b694eebb2de870271b32">Telegram::Message::init</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> |
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Json::Value msg = json[<span class="stringliteral">"message"</span>];</div> |
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div> |
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  this->message_id = msg[<span class="stringliteral">"message_id"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  this->from = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1User.html">Telegram::User</a>(msg[<span class="stringliteral">"from"</span>]);</div> |
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  this->date = msg[<span class="stringliteral">"date"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  this->chat = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Chat.html">Telegram::Chat</a>(msg[<span class="stringliteral">"chat"</span>]);</div> |
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  this->forward_from = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1User.html">Telegram::User</a>(msg[<span class="stringliteral">"forward_from"</span>]);</div> |
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  this->forward_date = msg[<span class="stringliteral">"forward_date"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  this->reply_to_message = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Message.html">Telegram::Message</a>(msg[<span class="stringliteral">"reply_to_message"</span>]);</div> |
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  this->text = msg[<span class="stringliteral">"text"</span>].asString();</div> |
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  this->setEntities(msg[<span class="stringliteral">"entities"</span>]);</div> |
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  this->audio = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Audio.html">Audio</a>(msg[<span class="stringliteral">"audio"</span>]);</div> |
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  this->document = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Document.html">Document</a>(msg[<span class="stringliteral">"document"</span>]);</div> |
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  this->photo = this->setPhotos(msg[<span class="stringliteral">"photo"</span>]);</div> |
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  this->sticker = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Sticker.html">Sticker</a>(msg[<span class="stringliteral">"sticker"</span>]);</div> |
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  this->video = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Video.html">Video</a>(msg[<span class="stringliteral">"video"</span>]);</div> |
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  this->voice = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Voice.html">Voice</a>(msg[<span class="stringliteral">"voice"</span>]);</div> |
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  this->caption = msg[<span class="stringliteral">"caption"</span>].asString();</div> |
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  this->contact = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Contact.html">Contact</a>(msg[<span class="stringliteral">"contact"</span>]);</div> |
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  this->location = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Location.html">Location</a>(msg[<span class="stringliteral">"location"</span>]);</div> |
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  this->venue = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Venue.html">Venue</a>(msg[<span class="stringliteral">"venue"</span>]);</div> |
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  this->new_chat_member = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1User.html">User</a>(msg[<span class="stringliteral">"new_chat_member"</span>]);</div> |
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  this->left_chat_member = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1User.html">User</a>(msg[<span class="stringliteral">"left_chat_member"</span>]);</div> |
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  this->new_chat_title = msg[<span class="stringliteral">"new_chat_title"</span>].asString();</div> |
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  this->new_chat_photo = this->setPhotos(msg[<span class="stringliteral">"new_chat_photo"</span>]);</div> |
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  this->delete_chat_photo = msg[<span class="stringliteral">"delete_chat_photo"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  this->group_chat_created = msg[<span class="stringliteral">"group_chat_created"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  this->supergroup_chat_created = msg[<span class="stringliteral">"supergroup_chat_created"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  this->migrate_to_chat_id = msg[<span class="stringliteral">"migrate_to_chat_id"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  this->migrate_from_chat_id = msg[<span class="stringliteral">"migrate_from_chat_id"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  this->pinned_message = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Message.html">Message</a>(msg[<span class="stringliteral">"pinned_message"</span>]);</div> |
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div> |
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> |
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// Setter</span></div> |
||||
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#aad6217e226cfdc384e73cd05495a76c4"> 98</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1Message.html#aad6217e226cfdc384e73cd05495a76c4">Telegram::Message::setEntities</a>(Json::Value entities) {</div> |
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> |
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  Json::ArrayIndex size = entities.size();</div> |
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">for</span>(Json::ArrayIndex i = 0; i < size; i++) {</div> |
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classTelegram_1_1MessageEntity.html">Telegram::MessageEntity</a> *entity = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1MessageEntity.html">Telegram::MessageEntity</a>(entities[i]);</div> |
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  this->entities.push_back(entity);</div> |
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div> |
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div> |
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> |
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a02ca7bcb252c14d9a8af2322c5c69957"> 107</a></span> std::vector<Telegram::PhotoSize*> <a class="code" href="classTelegram_1_1Message.html#a02ca7bcb252c14d9a8af2322c5c69957">Telegram::Message::setPhotos</a>(Json::Value photos) {</div> |
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> |
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  Json::ArrayIndex size = photos.size();</div> |
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  std::vector<PhotoSize*> vPhotos;</div> |
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> |
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">for</span>(Json::ArrayIndex i = 0; i < size; i++) {</div> |
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a> *photo_size = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a>(photos[i]);</div> |
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  vPhotos.push_back(photo_size);</div> |
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  }</div> |
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div> |
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span>(vPhotos);</div> |
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div> |
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> |
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// Getter</span></div> |
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a18d5d0522058707134a3547f7288663e"> 121</a></span> <a class="code" href="classTelegram_1_1Chat.html">Telegram::Chat</a> *<a class="code" href="classTelegram_1_1Message.html#a18d5d0522058707134a3547f7288663e">Telegram::Message::getChat</a>() {</div> |
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> |
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span>(this->chat);</div> |
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div> |
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div> |
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a6a1195441eca5d4ce370c9588a861580"> 126</a></span> std::string <a class="code" href="classTelegram_1_1Message.html#a6a1195441eca5d4ce370c9588a861580">Telegram::Message::getText</a>() {</div> |
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> |
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span>(this->text);</div> |
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> }</div> |
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div> |
||||
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classTelegram_1_1Message.html#a5201de4953acf8abe3b41f38b75076fa"> 131</a></span> <a class="code" href="namespaceTelegram.html#aa7927193a64b09836112d3be24c45d85">Telegram::TMessageEntities</a> <a class="code" href="classTelegram_1_1Message.html#a5201de4953acf8abe3b41f38b75076fa">Telegram::Message::getEntities</a>() {</div> |
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> |
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span>(this->entities);</div> |
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Document_html"><div class="ttname"><a href="classTelegram_1_1Document.html">Telegram::Document</a></div><div class="ttdef"><b>Definition:</b> <a href="Document_8h_source.html#l00011">Document.h:11</a></div></div> |
||||
<div class="ttc" id="Message_8h_html"><div class="ttname"><a href="Message_8h.html">Message.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html"><div class="ttname"><a href="classTelegram_1_1Message.html">Telegram::Message</a></div><div class="ttdef"><b>Definition:</b> <a href="Message_8h_source.html#l00027">Message.h:27</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html"><div class="ttname"><a href="classTelegram_1_1Venue.html">Telegram::Venue</a></div><div class="ttdef"><b>Definition:</b> <a href="Venue_8h_source.html#l00010">Venue.h:10</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Chat_html"><div class="ttname"><a href="classTelegram_1_1Chat.html">Telegram::Chat</a></div><div class="ttdef"><b>Definition:</b> <a href="Chat_8h_source.html#l00009">Chat.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html"><div class="ttname"><a href="classTelegram_1_1Voice.html">Telegram::Voice</a></div><div class="ttdef"><b>Definition:</b> <a href="Voice_8h_source.html#l00009">Voice.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1MessageEntity_html"><div class="ttname"><a href="classTelegram_1_1MessageEntity.html">Telegram::MessageEntity</a></div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00010">MessageEntity.h:10</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_aad6217e226cfdc384e73cd05495a76c4"><div class="ttname"><a href="classTelegram_1_1Message.html#aad6217e226cfdc384e73cd05495a76c4">Telegram::Message::setEntities</a></div><div class="ttdeci">void setEntities(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00098">Message.cc:98</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a></div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00009">PhotoSize.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Audio_html"><div class="ttname"><a href="classTelegram_1_1Audio.html">Telegram::Audio</a></div><div class="ttdef"><b>Definition:</b> <a href="Audio_8h_source.html#l00009">Audio.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_a467585156f9036194509f7f969d38ee7"><div class="ttname"><a href="classTelegram_1_1Message.html#a467585156f9036194509f7f969d38ee7">Telegram::Message::Message</a></div><div class="ttdeci">Message(void)</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00005">Message.cc:5</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html"><div class="ttname"><a href="classTelegram_1_1Sticker.html">Telegram::Sticker</a></div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00011">Sticker.h:11</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Contact_html"><div class="ttname"><a href="classTelegram_1_1Contact.html">Telegram::Contact</a></div><div class="ttdef"><b>Definition:</b> <a href="Contact_8h_source.html#l00009">Contact.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_ac86029f35bf2b694eebb2de870271b32"><div class="ttname"><a href="classTelegram_1_1Message.html#ac86029f35bf2b694eebb2de870271b32">Telegram::Message::init</a></div><div class="ttdeci">void init(void)</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00030">Message.cc:30</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_a18d5d0522058707134a3547f7288663e"><div class="ttname"><a href="classTelegram_1_1Message.html#a18d5d0522058707134a3547f7288663e">Telegram::Message::getChat</a></div><div class="ttdeci">Telegram::Chat * getChat()</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00121">Message.cc:121</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Location_html"><div class="ttname"><a href="classTelegram_1_1Location.html">Telegram::Location</a></div><div class="ttdef"><b>Definition:</b> <a href="Location_8h_source.html#l00008">Location.h:8</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_a5201de4953acf8abe3b41f38b75076fa"><div class="ttname"><a href="classTelegram_1_1Message.html#a5201de4953acf8abe3b41f38b75076fa">Telegram::Message::getEntities</a></div><div class="ttdeci">Telegram::TMessageEntities getEntities()</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00131">Message.cc:131</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_a02ca7bcb252c14d9a8af2322c5c69957"><div class="ttname"><a href="classTelegram_1_1Message.html#a02ca7bcb252c14d9a8af2322c5c69957">Telegram::Message::setPhotos</a></div><div class="ttdeci">std::vector< PhotoSize * > setPhotos(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00107">Message.cc:107</a></div></div> |
||||
<div class="ttc" id="namespaceTelegram_html_aa7927193a64b09836112d3be24c45d85"><div class="ttname"><a href="namespaceTelegram.html#aa7927193a64b09836112d3be24c45d85">Telegram::TMessageEntities</a></div><div class="ttdeci">std::vector< Telegram::MessageEntity * > TMessageEntities</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00023">MessageEntity.h:23</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html_a6a1195441eca5d4ce370c9588a861580"><div class="ttname"><a href="classTelegram_1_1Message.html#a6a1195441eca5d4ce370c9588a861580">Telegram::Message::getText</a></div><div class="ttdeci">std::string getText()</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cc_source.html#l00126">Message.cc:126</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1User_html"><div class="ttname"><a href="classTelegram_1_1User.html">Telegram::User</a></div><div class="ttdef"><b>Definition:</b> <a href="User_8h_source.html#l00009">User.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html"><div class="ttname"><a href="classTelegram_1_1Video.html">Telegram::Video</a></div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00011">Video.h:11</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Message_8cc.html">Message.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,135 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: PhotoSize.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('PhotoSize_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">PhotoSize.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="PhotoSize_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="PhotoSize_8h.html">Telegram/PhotoSize.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1PhotoSize.html#a90b750a16488d8c0f0031204144cee24"> 3</a></span> <a class="code" href="classTelegram_1_1PhotoSize.html#a90b750a16488d8c0f0031204144cee24">Telegram::PhotoSize::PhotoSize</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1PhotoSize.html#aad791b6bc53f78ccc806bd4894f05292">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1PhotoSize.html#ad27235d3fab212065b48437468b8c6b6">width</a> = json[<span class="stringliteral">"width"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1PhotoSize.html#a9df809e0b273a61a12c8936e0e8fd4a8">height</a> = json[<span class="stringliteral">"height"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1PhotoSize.html#acb250081af6038fc383dd668c073c59a">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html_ad27235d3fab212065b48437468b8c6b6"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html#ad27235d3fab212065b48437468b8c6b6">Telegram::PhotoSize::width</a></div><div class="ttdeci">Json::Int64 width</div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00015">PhotoSize.h:15</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html_a9df809e0b273a61a12c8936e0e8fd4a8"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html#a9df809e0b273a61a12c8936e0e8fd4a8">Telegram::PhotoSize::height</a></div><div class="ttdeci">Json::Int64 height</div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00016">PhotoSize.h:16</a></div></div> |
||||
<div class="ttc" id="PhotoSize_8h_html"><div class="ttname"><a href="PhotoSize_8h.html">PhotoSize.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html_aad791b6bc53f78ccc806bd4894f05292"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html#aad791b6bc53f78ccc806bd4894f05292">Telegram::PhotoSize::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00014">PhotoSize.h:14</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html_acb250081af6038fc383dd668c073c59a"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html#acb250081af6038fc383dd668c073c59a">Telegram::PhotoSize::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00017">PhotoSize.h:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html_a90b750a16488d8c0f0031204144cee24"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html#a90b750a16488d8c0f0031204144cee24">Telegram::PhotoSize::PhotoSize</a></div><div class="ttdeci">PhotoSize(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8cc_source.html#l00003">PhotoSize.cc:3</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="PhotoSize_8cc.html">PhotoSize.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: README.md Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('README_8md.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">README.md</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="README_8md.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor"># LibTgBotPP</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span>A simple Telegram Bot C++ library </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor"># Requirements</span></div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> To compile, you just need a C++-Compiler and CMake.</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> To use the library, you need:</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> * libcurlpp</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> * libjsoncpp</div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="README_8md.html">README.md</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Sticker.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Sticker_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Sticker.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Sticker_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Sticker_8h.html">Telegram/Sticker.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Sticker.html#a1c59057647aab0ea54035faa13723802"> 3</a></span> <a class="code" href="classTelegram_1_1Sticker.html#a1c59057647aab0ea54035faa13723802">Telegram::Sticker::Sticker</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Sticker.html#a0bdf3a45e063da3aad1ccad78d8b2633">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Sticker.html#aabc8e28c3a383cc23e286684240a1e89">width</a> = json[<span class="stringliteral">"width"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Sticker.html#a3d9815de62f58690e137d254de9bf4ee">height</a> = json[<span class="stringliteral">"height"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Sticker.html#a34f306c35dcb063a9d5d6de570daede9">thumb</a> = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1PhotoSize.html">PhotoSize</a>(json[<span class="stringliteral">"thumb"</span>]);</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="classTelegram_1_1Sticker.html#a2dfc54e987a7dbe418179cab2f2d3604">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_a34f306c35dcb063a9d5d6de570daede9"><div class="ttname"><a href="classTelegram_1_1Sticker.html#a34f306c35dcb063a9d5d6de570daede9">Telegram::Sticker::thumb</a></div><div class="ttdeci">PhotoSize * thumb</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00019">Sticker.h:19</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_a2dfc54e987a7dbe418179cab2f2d3604"><div class="ttname"><a href="classTelegram_1_1Sticker.html#a2dfc54e987a7dbe418179cab2f2d3604">Telegram::Sticker::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00020">Sticker.h:20</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_a3d9815de62f58690e137d254de9bf4ee"><div class="ttname"><a href="classTelegram_1_1Sticker.html#a3d9815de62f58690e137d254de9bf4ee">Telegram::Sticker::height</a></div><div class="ttdeci">Json::Int64 height</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00018">Sticker.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a></div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00009">PhotoSize.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_a1c59057647aab0ea54035faa13723802"><div class="ttname"><a href="classTelegram_1_1Sticker.html#a1c59057647aab0ea54035faa13723802">Telegram::Sticker::Sticker</a></div><div class="ttdeci">Sticker(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8cc_source.html#l00003">Sticker.cc:3</a></div></div> |
||||
<div class="ttc" id="Sticker_8h_html"><div class="ttname"><a href="Sticker_8h.html">Sticker.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_a0bdf3a45e063da3aad1ccad78d8b2633"><div class="ttname"><a href="classTelegram_1_1Sticker.html#a0bdf3a45e063da3aad1ccad78d8b2633">Telegram::Sticker::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00016">Sticker.h:16</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Sticker_html_aabc8e28c3a383cc23e286684240a1e89"><div class="ttname"><a href="classTelegram_1_1Sticker.html#aabc8e28c3a383cc23e286684240a1e89">Telegram::Sticker::width</a></div><div class="ttdeci">Json::Int64 width</div><div class="ttdef"><b>Definition:</b> <a href="Sticker_8h_source.html#l00017">Sticker.h:17</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Sticker_8cc.html">Sticker.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,318 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: TelegramBot.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('TelegramBot_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">TelegramBot.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="TelegramBot_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="TelegramBot_8h.html">Telegram/TelegramBot.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <iostream></span></div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <curlpp/cURLpp.hpp></span></div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <curlpp/Easy.hpp></span></div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <curlpp/Infos.hpp></span></div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <curlpp/Options.hpp></span></div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="http__build__query_8h.html">Telegram/http_build_query.h</a>"</span></div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "<a class="code" href="json__encode_8h.html">Telegram/json_encode.h</a>"</span></div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="std_8h.html">Telegram/std.h</a>"</span></div> |
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div> |
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="Message_8h.html">Telegram/Message.h</a>"</span></div> |
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="MessageEntity_8h.html">Telegram/MessageEntity.h</a>"</span></div> |
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> |
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="TelegramBot_8cc.html#a47cbcc6d148fe0c8f9fb95966026aa97"> 17</a></span> <span class="preprocessor">#define API_URL "https://api.telegram.org/bot"</span></div> |
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span></div> |
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811"> 22</a></span> <a class="code" href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">Telegram::TelegramBot::TelegramBot</a>() {</div> |
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> |
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  this-><a class="code" href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">api_url</a> = <span class="stringliteral">""</span>;</div> |
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  this-><a class="code" href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">init</a>();</div> |
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div> |
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> |
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a52f2a5f734bac5f83d2c0e5068618646"> 33</a></span> <a class="code" href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">Telegram::TelegramBot::TelegramBot</a>(std::string token) {</div> |
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> |
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  this->api_url = <a class="code" href="TelegramBot_8cc.html#a47cbcc6d148fe0c8f9fb95966026aa97">API_URL</a> + token + <span class="stringliteral">"/"</span>;</div> |
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  this->init();</div> |
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div> |
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> |
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed"> 44</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed">Telegram::TelegramBot::addCommand</a>(<a class="code" href="structTelegram_1_1TCommand.html">TCommand</a> cmd) {</div> |
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> |
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">if</span> (cmd.<a class="code" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">command</a>[0] != <span class="charliteral">'/'</span>) {</div> |
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  cmd.<a class="code" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">command</a> = <span class="stringliteral">"/"</span> + cmd.<a class="code" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">command</a>;</div> |
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div> |
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  this->command_map[cmd.<a class="code" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">command</a>] = cmd;</div> |
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div> |
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div> |
||||
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d"> 60</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d">Telegram::TelegramBot::setWebhook</a>(std::string url) {</div> |
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> |
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::map<std::string, std::string> params;</div> |
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> |
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  params[<span class="stringliteral">"url"</span>] = url;</div> |
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  this->apiRequest(<span class="stringliteral">"setWebhook"</span>, params);</div> |
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div> |
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> |
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81"> 74</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81">Telegram::TelegramBot::processMessage</a>(std::string message) {</div> |
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div> |
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  this->msg = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Message.html">Telegram::Message</a>(message);</div> |
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> |
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="namespaceTelegram.html#aa7927193a64b09836112d3be24c45d85">Telegram::TMessageEntities</a> entities = this->msg->getEntities();</div> |
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div> |
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (entities.size() && (entities[0]->getType() == <span class="stringliteral">"bot_command"</span>)) {</div> |
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  this->sendMessage(this->processCommand(this->msg->getText()), this->msg->getChat()->getId());</div> |
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  } <span class="keywordflow">else</span> {</div> |
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  this->sendMessage(<span class="stringliteral">"Hello "</span> + this->msg->getChat()->getUsername() + <span class="stringliteral">", you told me: '"</span> + msg->getText() + <span class="stringliteral">"'"</span>, this->msg->getChat()->getId());</div> |
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div> |
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div> |
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> |
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563"> 90</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">Telegram::TelegramBot::sendMessage</a>(std::string message, Json::Int64 chat_id) {</div> |
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div> |
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  this->sendMessage(message, <a class="code" href="std_8h.html#a0d2f37137ee1fd6ff4a0ef803849dd63">SSTR</a>(chat_id));</div> |
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> }</div> |
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> |
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#ac9fdf927b0ebf72b40a0a75639e39d18"> 95</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">Telegram::TelegramBot::sendMessage</a>(std::string message, std::string chat_id) {</div> |
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> |
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  std::map<std::string, std::string> params;</div> |
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  params[<span class="stringliteral">"chat_id"</span>] = chat_id;</div> |
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  params[<span class="stringliteral">"text"</span>] = message;</div> |
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div> |
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  this->apiRequestJson(<span class="stringliteral">"sendMessage"</span>, params);</div> |
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div> |
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div> |
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f"> 104</a></span> <a class="code" href="classTelegram_1_1Message.html">Telegram::Message</a> *<a class="code" href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f">Telegram::TelegramBot::getMessage</a>() {</div> |
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div> |
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span>(this->msg);</div> |
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div> |
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> |
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6"> 109</a></span> <a class="code" href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">Telegram::TCommandMap</a> <a class="code" href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6">Telegram::TelegramBot::getCommandMap</a>() {</div> |
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div> |
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span>(this->command_map);</div> |
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div> |
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> |
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">// Private methods</span></div> |
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895"> 115</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">Telegram::TelegramBot::init</a>() {</div> |
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div> |
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::cout << <span class="stringliteral">"Content-type: text/html\r\n\r\n"</span> << std::endl;</div> |
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div> |
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> |
||||
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258"> 123</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258">Telegram::TelegramBot::apiRequest</a>(std::string method, std::map<std::string, std::string> parameters) {</div> |
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> |
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  parameters[<span class="stringliteral">"method"</span>] = method;</div> |
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div> |
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  Json::Value jValues;</div> |
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  Json::StyledWriter w;</div> |
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> |
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">for</span>(std::map<std::string, std::string>::iterator it = parameters.begin(); it != parameters.end(); ++it) {</div> |
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  jValues[(*it).first] = (*it).second;</div> |
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  }</div> |
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div> |
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">try</span> {</div> |
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  cURLpp::Easy handle;</div> |
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  std::string url = this->api_url + method + <span class="stringliteral">"?"</span> + <a class="code" href="http__build__query_8h.html#a7c7058f6d8d20f7e273b4ce5051a0cc2">http_build_query</a>(parameters);</div> |
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div> |
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  handle.setOpt(cURLpp::Options::Url(url));</div> |
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  handle.setOpt(cURLpp::Options::ConnectTimeout(5));</div> |
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  handle.setOpt(cURLpp::Options::Timeout(60));</div> |
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  handle.perform(); <span class="comment">// Do the curl request</span></div> |
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> |
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">int</span> code;</div> |
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  code = cURLpp::Infos::ResponseCode::get(handle);</div> |
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div> |
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">catch</span>(cURLpp::LogicError &e) {</div> |
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div> |
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">catch</span>(cURLpp::RuntimeError &e) {</div> |
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  }</div> |
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">catch</span>(std::exception &e) {</div> |
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  }</div> |
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> }</div> |
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> |
||||
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5"> 160</a></span> <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5">Telegram::TelegramBot::apiRequestJson</a>(std::string method, std::map<std::string, std::string> parameters) {</div> |
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> |
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  parameters[<span class="stringliteral">"method"</span>] = method;</div> |
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> |
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">try</span> {</div> |
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  cURLpp::Easy handle;</div> |
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  std::list<std::string> header;</div> |
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  header.push_back(<span class="stringliteral">"Content-Type: application/json"</span>);</div> |
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div> |
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  handle.setOpt(cURLpp::Options::Url(this->api_url));</div> |
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  handle.setOpt(cURLpp::Options::ConnectTimeout(5));</div> |
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  handle.setOpt(cURLpp::Options::Timeout(60));</div> |
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  handle.setOpt(cURLpp::Options::HttpHeader(header));</div> |
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  handle.setOpt(cURLpp::Options::PostFields(<a class="code" href="json__encode_8h.html#a359b21c4402aac0db9ebc868b11ea570">json_encode</a>(parameters)));</div> |
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  handle.perform(); <span class="comment">// Do the curl request</span></div> |
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div> |
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">catch</span>(cURLpp::LogicError &e) {</div> |
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div> |
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">catch</span>(cURLpp::RuntimeError &e) {</div> |
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  }</div> |
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">catch</span>(std::exception &e) {</div> |
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a>(e.what());</div> |
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div> |
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div> |
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div> |
||||
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4"> 187</a></span> std::string <a class="code" href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4">Telegram::TelegramBot::processCommand</a>(std::string cmd) {</div> |
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> |
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">// Process command</span></div> |
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  std::string sCommand;</div> |
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  std::string sResult;</div> |
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  std::vector<std::string> vCmdLine = <a class="code" href="std_8h.html#a283fc24c6ba72b945193ea6994256667">split</a>(cmd, <span class="charliteral">' '</span>);</div> |
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> |
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">if</span>((vCmdLine.size() > 0) && (this->command_map.find(vCmdLine[0]) != this->command_map.end())) {</div> |
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  sCommand = vCmdLine[0];</div> |
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  vCmdLine.erase(vCmdLine.begin()); <span class="comment">// First value is the command itself</span></div> |
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <a class="code" href="structTelegram_1_1TCommand.html">TCommand</a> cs = this->command_map[sCommand];</div> |
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  sResult = (*cs.<a class="code" href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">callback</a>)(<span class="keyword">this</span>, vCmdLine);</div> |
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  } <span class="keywordflow">else</span> {</div> |
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  sResult = <span class="stringliteral">"Unknown command"</span>;</div> |
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  }</div> |
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div> |
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span>(sResult);</div> |
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_ae0d0fe5d54afcc9e6ee16b3d4f8ae895"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">Telegram::TelegramBot::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00115">TelegramBot.cc:115</a></div></div> |
||||
<div class="ttc" id="structTelegram_1_1TCommand_html_a1c051d162e478b9f98efafbeeed19f9b"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">Telegram::TCommand::command</a></div><div class="ttdeci">std::string command</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00020">TelegramBot.h:20</a></div></div> |
||||
<div class="ttc" id="std_8h_html_a43d4a0b214d7948a4ba43696b9dd9f4d"><div class="ttname"><a href="std_8h.html#a43d4a0b214d7948a4ba43696b9dd9f4d">Log</a></div><div class="ttdeci">void Log(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00091">std.cc:91</a></div></div> |
||||
<div class="ttc" id="http__build__query_8h_html_a7c7058f6d8d20f7e273b4ce5051a0cc2"><div class="ttname"><a href="http__build__query_8h.html#a7c7058f6d8d20f7e273b4ce5051a0cc2">http_build_query</a></div><div class="ttdeci">std::string http_build_query(std::map< std::string, std::string >)</div><div class="ttdef"><b>Definition:</b> <a href="http__build__query_8cc_source.html#l00003">http_build_query.cc:3</a></div></div> |
||||
<div class="ttc" id="std_8h_html_a0d2f37137ee1fd6ff4a0ef803849dd63"><div class="ttname"><a href="std_8h.html#a0d2f37137ee1fd6ff4a0ef803849dd63">SSTR</a></div><div class="ttdeci">#define SSTR(x)</div><div class="ttdef"><b>Definition:</b> <a href="std_8h_source.html#l00010">std.h:10</a></div></div> |
||||
<div class="ttc" id="Message_8h_html"><div class="ttname"><a href="Message_8h.html">Message.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Message_html"><div class="ttname"><a href="classTelegram_1_1Message.html">Telegram::Message</a></div><div class="ttdef"><b>Definition:</b> <a href="Message_8h_source.html#l00027">Message.h:27</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1645dae5fdfb1437bb8976f44c237563"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">Telegram::TelegramBot::sendMessage</a></div><div class="ttdeci">void sendMessage(std::string, Json::Int64)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00090">TelegramBot.cc:90</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aabd1a825b1d7f127f15bf336b985d70d"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d">Telegram::TelegramBot::setWebhook</a></div><div class="ttdeci">void setWebhook(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00060">TelegramBot.cc:60</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_af6fbb842f679b33dd8a60f94f82d7c81"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81">Telegram::TelegramBot::processMessage</a></div><div class="ttdeci">void processMessage(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00074">TelegramBot.cc:74</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7e07f1ca99390958ef5c6c95cbf18258"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258">Telegram::TelegramBot::apiRequest</a></div><div class="ttdeci">void apiRequest(std::string, std::map< std::string, std::string >)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00123">TelegramBot.cc:123</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aae9aba06108ce34f9766199c6588e1d6"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6">Telegram::TelegramBot::getCommandMap</a></div><div class="ttdeci">std::map< std::string, TCommand > getCommandMap()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00109">TelegramBot.cc:109</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aed4dd1ce506259c0e82f0c46fe125ca4"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4">Telegram::TelegramBot::processCommand</a></div><div class="ttdeci">std::string processCommand(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00187">TelegramBot.cc:187</a></div></div> |
||||
<div class="ttc" id="structTelegram_1_1TCommand_html"><div class="ttname"><a href="structTelegram_1_1TCommand.html">Telegram::TCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00019">TelegramBot.h:19</a></div></div> |
||||
<div class="ttc" id="TelegramBot_8h_html"><div class="ttname"><a href="TelegramBot_8h.html">TelegramBot.h</a></div></div> |
||||
<div class="ttc" id="http__build__query_8h_html"><div class="ttname"><a href="http__build__query_8h.html">http_build_query.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a99b561e695953e6b69a3ddf6937a4811"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">Telegram::TelegramBot::TelegramBot</a></div><div class="ttdeci">TelegramBot()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00022">TelegramBot.cc:22</a></div></div> |
||||
<div class="ttc" id="structTelegram_1_1TCommand_html_a3f2c8ecbfd34be25baa577afee2e6e52"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">Telegram::TCommand::callback</a></div><div class="ttdeci">CommandCallback callback</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00021">TelegramBot.h:21</a></div></div> |
||||
<div class="ttc" id="std_8h_html"><div class="ttname"><a href="std_8h.html">std.h</a></div></div> |
||||
<div class="ttc" id="namespaceTelegram_html_ad82f4bcddd3c7921e8842bb30170a1c2"><div class="ttname"><a href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">Telegram::TCommandMap</a></div><div class="ttdeci">std::map< std::string, TCommand > TCommandMap</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00024">TelegramBot.h:24</a></div></div> |
||||
<div class="ttc" id="TelegramBot_8cc_html_a47cbcc6d148fe0c8f9fb95966026aa97"><div class="ttname"><a href="TelegramBot_8cc.html#a47cbcc6d148fe0c8f9fb95966026aa97">API_URL</a></div><div class="ttdeci">#define API_URL</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00017">TelegramBot.cc:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a398bd76186e27d514afd835c5437c6ed"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed">Telegram::TelegramBot::addCommand</a></div><div class="ttdeci">void addCommand(TCommand)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00044">TelegramBot.cc:44</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7c54766f656974b35f03ea510d7b6a4f"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f">Telegram::TelegramBot::getMessage</a></div><div class="ttdeci">Telegram::Message * getMessage()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00104">TelegramBot.cc:104</a></div></div> |
||||
<div class="ttc" id="json__encode_8h_html_a359b21c4402aac0db9ebc868b11ea570"><div class="ttname"><a href="json__encode_8h.html#a359b21c4402aac0db9ebc868b11ea570">json_encode</a></div><div class="ttdeci">std::string json_encode(std::map< std::string, std::string >)</div><div class="ttdef"><b>Definition:</b> <a href="json__encode_8cc_source.html#l00003">json_encode.cc:3</a></div></div> |
||||
<div class="ttc" id="MessageEntity_8h_html"><div class="ttname"><a href="MessageEntity_8h.html">MessageEntity.h</a></div></div> |
||||
<div class="ttc" id="namespaceTelegram_html_aa7927193a64b09836112d3be24c45d85"><div class="ttname"><a href="namespaceTelegram.html#aa7927193a64b09836112d3be24c45d85">Telegram::TMessageEntities</a></div><div class="ttdeci">std::vector< Telegram::MessageEntity * > TMessageEntities</div><div class="ttdef"><b>Definition:</b> <a href="MessageEntity_8h_source.html#l00023">MessageEntity.h:23</a></div></div> |
||||
<div class="ttc" id="json__encode_8h_html"><div class="ttname"><a href="json__encode_8h.html">json_encode.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a9ee0c2d12f906cb2e0a9b7fb2d7e45a5"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5">Telegram::TelegramBot::apiRequestJson</a></div><div class="ttdeci">void apiRequestJson(std::string, std::map< std::string, std::string >)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00160">TelegramBot.cc:160</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1ca971ccfb242f7b8656eca3ab7666dd"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">Telegram::TelegramBot::api_url</a></div><div class="ttdeci">std::string api_url</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00051">TelegramBot.h:51</a></div></div> |
||||
<div class="ttc" id="std_8h_html_a283fc24c6ba72b945193ea6994256667"><div class="ttname"><a href="std_8h.html#a283fc24c6ba72b945193ea6994256667">split</a></div><div class="ttdeci">std::vector< std::string > split(const std::string &text, char sep= ' ')</div><div class="ttdef"><b>Definition:</b> <a href="std_8cc_source.html#l00042">std.cc:42</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="TelegramBot_8cc.html">TelegramBot.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,134 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: User.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('User_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">User.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="User_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="User_8h.html">Telegram/User.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1User.html#a07ce0c326306ce8a26a31948585a27a1"> 3</a></span> <a class="code" href="classTelegram_1_1User.html#a07ce0c326306ce8a26a31948585a27a1">Telegram::User::User</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><span class="keywordtype">id</span> = json[<span class="stringliteral">"id"</span>].asUInt64();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1User.html#a6f8f79a5166248de98d6e2d5b3e43c4a">first_name</a> = json[<span class="stringliteral">"first_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1User.html#af9a907ec9192c5c522f16eea570f2bfe">last_name</a> = json[<span class="stringliteral">"last_name"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1User.html#a10253e675207d18bee321d34e461f335">username</a> = json[<span class="stringliteral">"username"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1User_html_a07ce0c326306ce8a26a31948585a27a1"><div class="ttname"><a href="classTelegram_1_1User.html#a07ce0c326306ce8a26a31948585a27a1">Telegram::User::User</a></div><div class="ttdeci">User(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="User_8cc_source.html#l00003">User.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1User_html_a6f8f79a5166248de98d6e2d5b3e43c4a"><div class="ttname"><a href="classTelegram_1_1User.html#a6f8f79a5166248de98d6e2d5b3e43c4a">Telegram::User::first_name</a></div><div class="ttdeci">std::string first_name</div><div class="ttdef"><b>Definition:</b> <a href="User_8h_source.html#l00015">User.h:15</a></div></div> |
||||
<div class="ttc" id="User_8h_html"><div class="ttname"><a href="User_8h.html">User.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1User_html_a10253e675207d18bee321d34e461f335"><div class="ttname"><a href="classTelegram_1_1User.html#a10253e675207d18bee321d34e461f335">Telegram::User::username</a></div><div class="ttdeci">std::string username</div><div class="ttdef"><b>Definition:</b> <a href="User_8h_source.html#l00017">User.h:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1User_html_af9a907ec9192c5c522f16eea570f2bfe"><div class="ttname"><a href="classTelegram_1_1User.html#af9a907ec9192c5c522f16eea570f2bfe">Telegram::User::last_name</a></div><div class="ttdeci">std::string last_name</div><div class="ttdef"><b>Definition:</b> <a href="User_8h_source.html#l00016">User.h:16</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="User_8cc.html">User.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,136 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Venue.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Venue_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Venue.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Venue_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Venue_8h.html">Telegram/Venue.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Venue.html#ace752fa42d56246876bcd742b5664e3d"> 3</a></span> <a class="code" href="classTelegram_1_1Venue.html#ace752fa42d56246876bcd742b5664e3d">Telegram::Venue::Venue</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Venue.html#a05ecea5d020e79d747a0ce786aaeaaaf">location</a> = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1Location.html">Location</a>(json[<span class="stringliteral">"location"</span>]);</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Venue.html#ac16a11f3bbd499f6d35c2016d623a2be">title</a> = json[<span class="stringliteral">"title"</span>].asString();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Venue.html#a7c5651dddcd090f12375f5c9a5603a6d">address</a> = json[<span class="stringliteral">"address"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Venue.html#adca50e13aa6095d24d0145298d43dede">foursquare_id</a> = json[<span class="stringliteral">"foursquare_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html_adca50e13aa6095d24d0145298d43dede"><div class="ttname"><a href="classTelegram_1_1Venue.html#adca50e13aa6095d24d0145298d43dede">Telegram::Venue::foursquare_id</a></div><div class="ttdeci">std::string foursquare_id</div><div class="ttdef"><b>Definition:</b> <a href="Venue_8h_source.html#l00018">Venue.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html_a7c5651dddcd090f12375f5c9a5603a6d"><div class="ttname"><a href="classTelegram_1_1Venue.html#a7c5651dddcd090f12375f5c9a5603a6d">Telegram::Venue::address</a></div><div class="ttdeci">std::string address</div><div class="ttdef"><b>Definition:</b> <a href="Venue_8h_source.html#l00017">Venue.h:17</a></div></div> |
||||
<div class="ttc" id="Venue_8h_html"><div class="ttname"><a href="Venue_8h.html">Venue.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html_ac16a11f3bbd499f6d35c2016d623a2be"><div class="ttname"><a href="classTelegram_1_1Venue.html#ac16a11f3bbd499f6d35c2016d623a2be">Telegram::Venue::title</a></div><div class="ttdeci">std::string title</div><div class="ttdef"><b>Definition:</b> <a href="Venue_8h_source.html#l00016">Venue.h:16</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Location_html"><div class="ttname"><a href="classTelegram_1_1Location.html">Telegram::Location</a></div><div class="ttdef"><b>Definition:</b> <a href="Location_8h_source.html#l00008">Location.h:8</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html_a05ecea5d020e79d747a0ce786aaeaaaf"><div class="ttname"><a href="classTelegram_1_1Venue.html#a05ecea5d020e79d747a0ce786aaeaaaf">Telegram::Venue::location</a></div><div class="ttdeci">Location * location</div><div class="ttdef"><b>Definition:</b> <a href="Venue_8h_source.html#l00015">Venue.h:15</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Venue_html_ace752fa42d56246876bcd742b5664e3d"><div class="ttname"><a href="classTelegram_1_1Venue.html#ace752fa42d56246876bcd742b5664e3d">Telegram::Venue::Venue</a></div><div class="ttdeci">Venue(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Venue_8cc_source.html#l00003">Venue.cc:3</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Venue_8cc.html">Venue.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,142 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Video.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Video_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Video.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Video_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Video_8h.html">Telegram/Video.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Video.html#ae36f36337e5c01d9b791008ce468cbe2"> 3</a></span> <a class="code" href="classTelegram_1_1Video.html#ae36f36337e5c01d9b791008ce468cbe2">Telegram::Video::Video</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Video.html#a7a718b1e0a2016104e317655b0361243">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Video.html#a6c8d76a126866901a66080063c2ddc84">width</a> = json[<span class="stringliteral">"width"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Video.html#ac5e9d7080fa29428a9944f434d79e55d">height</a> = json[<span class="stringliteral">"height"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Video.html#acc0509727f4532d82b87049564d2e1e6">duration</a> = json[<span class="stringliteral">"duration"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  this-><a class="code" href="classTelegram_1_1Video.html#ae2c91265a9c36617b41f0a7b4577210f">thumb</a> = <span class="keyword">new</span> <a class="code" href="classTelegram_1_1PhotoSize.html">PhotoSize</a>(json[<span class="stringliteral">"thumb"</span>]);</div> |
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  this-><a class="code" href="classTelegram_1_1Video.html#aa8386f009dec7e155c36feb0ea19a197">mime_type</a> = json[<span class="stringliteral">"mime_type"</span>].asString();</div> |
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  this-><a class="code" href="classTelegram_1_1Video.html#a5c3ae9d5fb52a3e866ab71b2f0161b63">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_a5c3ae9d5fb52a3e866ab71b2f0161b63"><div class="ttname"><a href="classTelegram_1_1Video.html#a5c3ae9d5fb52a3e866ab71b2f0161b63">Telegram::Video::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00022">Video.h:22</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_a7a718b1e0a2016104e317655b0361243"><div class="ttname"><a href="classTelegram_1_1Video.html#a7a718b1e0a2016104e317655b0361243">Telegram::Video::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00016">Video.h:16</a></div></div> |
||||
<div class="ttc" id="Video_8h_html"><div class="ttname"><a href="Video_8h.html">Video.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1PhotoSize_html"><div class="ttname"><a href="classTelegram_1_1PhotoSize.html">Telegram::PhotoSize</a></div><div class="ttdef"><b>Definition:</b> <a href="PhotoSize_8h_source.html#l00009">PhotoSize.h:9</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_acc0509727f4532d82b87049564d2e1e6"><div class="ttname"><a href="classTelegram_1_1Video.html#acc0509727f4532d82b87049564d2e1e6">Telegram::Video::duration</a></div><div class="ttdeci">Json::Int64 duration</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00019">Video.h:19</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_aa8386f009dec7e155c36feb0ea19a197"><div class="ttname"><a href="classTelegram_1_1Video.html#aa8386f009dec7e155c36feb0ea19a197">Telegram::Video::mime_type</a></div><div class="ttdeci">std::string mime_type</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00021">Video.h:21</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_a6c8d76a126866901a66080063c2ddc84"><div class="ttname"><a href="classTelegram_1_1Video.html#a6c8d76a126866901a66080063c2ddc84">Telegram::Video::width</a></div><div class="ttdeci">Json::Int64 width</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00017">Video.h:17</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_ae36f36337e5c01d9b791008ce468cbe2"><div class="ttname"><a href="classTelegram_1_1Video.html#ae36f36337e5c01d9b791008ce468cbe2">Telegram::Video::Video</a></div><div class="ttdeci">Video(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Video_8cc_source.html#l00003">Video.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_ac5e9d7080fa29428a9944f434d79e55d"><div class="ttname"><a href="classTelegram_1_1Video.html#ac5e9d7080fa29428a9944f434d79e55d">Telegram::Video::height</a></div><div class="ttdeci">Json::Int64 height</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00018">Video.h:18</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Video_html_ae2c91265a9c36617b41f0a7b4577210f"><div class="ttname"><a href="classTelegram_1_1Video.html#ae2c91265a9c36617b41f0a7b4577210f">Telegram::Video::thumb</a></div><div class="ttdeci">PhotoSize * thumb</div><div class="ttdef"><b>Definition:</b> <a href="Video_8h_source.html#l00020">Video.h:20</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Video_8cc.html">Video.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,135 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: Voice.cc Source File</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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li class="current"><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
<div id="navrow2" class="tabs2"> |
||||
<ul class="tablist"> |
||||
<li><a href="files.html"><span>File List</span></a></li> |
||||
<li><a href="globals.html"><span>File Members</span></a></li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('Voice_8cc_source.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">Voice.cc</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<a href="Voice_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include "<a class="code" href="Voice_8h.html">Telegram/Voice.h</a>"</span></div> |
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div> |
||||
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="classTelegram_1_1Voice.html#ab52d101c1c5ac2ba65bbf3e8e0e92060"> 3</a></span> <a class="code" href="classTelegram_1_1Voice.html#ab52d101c1c5ac2ba65bbf3e8e0e92060">Telegram::Voice::Voice</a>(Json::Value json) {</div> |
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div> |
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  this-><a class="code" href="classTelegram_1_1Voice.html#ad7af2176e0ed1ef02ce98ae23b1d711a">file_id</a> = json[<span class="stringliteral">"file_id"</span>].asString();</div> |
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  this-><a class="code" href="classTelegram_1_1Voice.html#acb0b5b060352de7312aadbc3703faf6d">duration</a> = json[<span class="stringliteral">"duration"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  this-><a class="code" href="classTelegram_1_1Voice.html#ae8a6261c1224e4d956589b57dc223fa2">mime_type</a> = json[<span class="stringliteral">"mime_type"</span>].asString();</div> |
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  this-><a class="code" href="classTelegram_1_1Voice.html#ac368f6b155293e9abe459a168b7d50b3">file_size</a> = json[<span class="stringliteral">"file_size"</span>].asInt64();</div> |
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> }</div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html_acb0b5b060352de7312aadbc3703faf6d"><div class="ttname"><a href="classTelegram_1_1Voice.html#acb0b5b060352de7312aadbc3703faf6d">Telegram::Voice::duration</a></div><div class="ttdeci">Json::Int64 duration</div><div class="ttdef"><b>Definition:</b> <a href="Voice_8h_source.html#l00015">Voice.h:15</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html_ab52d101c1c5ac2ba65bbf3e8e0e92060"><div class="ttname"><a href="classTelegram_1_1Voice.html#ab52d101c1c5ac2ba65bbf3e8e0e92060">Telegram::Voice::Voice</a></div><div class="ttdeci">Voice(Json::Value)</div><div class="ttdef"><b>Definition:</b> <a href="Voice_8cc_source.html#l00003">Voice.cc:3</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html_ad7af2176e0ed1ef02ce98ae23b1d711a"><div class="ttname"><a href="classTelegram_1_1Voice.html#ad7af2176e0ed1ef02ce98ae23b1d711a">Telegram::Voice::file_id</a></div><div class="ttdeci">std::string file_id</div><div class="ttdef"><b>Definition:</b> <a href="Voice_8h_source.html#l00014">Voice.h:14</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html_ae8a6261c1224e4d956589b57dc223fa2"><div class="ttname"><a href="classTelegram_1_1Voice.html#ae8a6261c1224e4d956589b57dc223fa2">Telegram::Voice::mime_type</a></div><div class="ttdeci">std::string mime_type</div><div class="ttdef"><b>Definition:</b> <a href="Voice_8h_source.html#l00016">Voice.h:16</a></div></div> |
||||
<div class="ttc" id="Voice_8h_html"><div class="ttname"><a href="Voice_8h.html">Voice.h</a></div></div> |
||||
<div class="ttc" id="classTelegram_1_1Voice_html_ac368f6b155293e9abe459a168b7d50b3"><div class="ttname"><a href="classTelegram_1_1Voice.html#ac368f6b155293e9abe459a168b7d50b3">Telegram::Voice::file_size</a></div><div class="ttdeci">Json::Int64 file_size</div><div class="ttdef"><b>Definition:</b> <a href="Voice_8h_source.html#l00017">Voice.h:17</a></div></div> |
||||
</div><!-- fragment --></div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_8eb10e03c11ffa27f12b298464ec3629.html">src</a></li><li class="navelem"><a class="el" href="Voice_8cc.html">Voice.cc</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,120 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: build Directory 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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('dir_3bbfc5c2772dccb5baee4f84406ef012.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">build Directory Reference</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<table class="memberdecls"> |
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a> |
||||
Directories</h2></td></tr> |
||||
<tr class="memitem:dir_ec5c9eed39213cf3d4ad0d4780f4d4ae"><td class="memItemLeft" align="right" valign="top">directory  </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></td></tr> |
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table> |
||||
</div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,4 @@
|
||||
var dir_3bbfc5c2772dccb5baee4f84406ef012 = |
||||
[ |
||||
[ "CMakeFiles", "dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html", "dir_ec5c9eed39213cf3d4ad0d4780f4d4ae" ] |
||||
]; |
@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: 2.8.12.2 Directory 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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('dir_6e991472a2a26db300a12a4184ae5638.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">2.8.12.2 Directory Reference</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<table class="memberdecls"> |
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a> |
||||
Directories</h2></td></tr> |
||||
<tr class="memitem:dir_809fdf020f596158475f2a5965da168b"><td class="memItemLeft" align="right" valign="top">directory  </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_809fdf020f596158475f2a5965da168b.html">CompilerIdC</a></td></tr> |
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
||||
<tr class="memitem:dir_e4c94ea1ee5d049635f30d47cb900190"><td class="memItemLeft" align="right" valign="top">directory  </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_e4c94ea1ee5d049635f30d47cb900190.html">CompilerIdCXX</a></td></tr> |
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table> |
||||
</div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
@ -0,0 +1,5 @@
|
||||
var dir_6e991472a2a26db300a12a4184ae5638 = |
||||
[ |
||||
[ "CompilerIdC", "dir_809fdf020f596158475f2a5965da168b.html", "dir_809fdf020f596158475f2a5965da168b" ], |
||||
[ "CompilerIdCXX", "dir_e4c94ea1ee5d049635f30d47cb900190.html", "dir_e4c94ea1ee5d049635f30d47cb900190" ] |
||||
]; |
@ -0,0 +1,120 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.6"/> |
||||
<title>LibTgBotPP: CompilerIdC Directory 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="navtree.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(initResizable); |
||||
$(window).load(resizeHeight); |
||||
</script> |
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/> |
||||
<script type="text/javascript" src="search/search.js"></script> |
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { searchBox.OnSelectItem(0); }); |
||||
</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 style="height: 56px;"> |
||||
<td style="padding-left: 0.5em;"> |
||||
<div id="projectname">LibTgBotPP |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<!-- end header part --> |
||||
<!-- Generated by Doxygen 1.8.6 --> |
||||
<script type="text/javascript"> |
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
||||
</script> |
||||
<div id="navrow1" class="tabs"> |
||||
<ul class="tablist"> |
||||
<li><a href="index.html"><span>Main Page</span></a></li> |
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li> |
||||
<li><a href="annotated.html"><span>Classes</span></a></li> |
||||
<li><a href="files.html"><span>Files</span></a></li> |
||||
<li> |
||||
<div id="MSearchBox" class="MSearchBoxInactive"> |
||||
<span class="left"> |
||||
<img id="MSearchSelect" src="search/mag_sel.png" |
||||
onmouseover="return searchBox.OnSearchSelectShow()" |
||||
onmouseout="return searchBox.OnSearchSelectHide()" |
||||
alt=""/> |
||||
<input type="text" id="MSearchField" value="Search" accesskey="S" |
||||
onfocus="searchBox.OnSearchFieldFocus(true)" |
||||
onblur="searchBox.OnSearchFieldFocus(false)" |
||||
onkeyup="searchBox.OnSearchFieldChange(event)"/> |
||||
</span><span class="right"> |
||||
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
||||
</span> |
||||
</div> |
||||
</li> |
||||
</ul> |
||||
</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"> |
||||
$(document).ready(function(){initNavTree('dir_809fdf020f596158475f2a5965da168b.html','');}); |
||||
</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)"> |
||||
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle"> |
||||
<div class="title">CompilerIdC Directory Reference</div> </div> |
||||
</div><!--header--> |
||||
<div class="contents"> |
||||
<table class="memberdecls"> |
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a> |
||||
Files</h2></td></tr> |
||||
<tr class="memitem:CMakeCCompilerId_8c"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="CMakeCCompilerId_8c.html">CMakeCCompilerId.c</a> <a href="CMakeCCompilerId_8c_source.html">[code]</a></td></tr> |
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
||||
</table> |
||||
</div><!-- contents --> |
||||
</div><!-- doc-content --> |
||||
<!-- start footer part --> |
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
||||
<ul> |
||||
<li class="navelem"><a class="el" href="dir_3bbfc5c2772dccb5baee4f84406ef012.html">build</a></li><li class="navelem"><a class="el" href="dir_ec5c9eed39213cf3d4ad0d4780f4d4ae.html">CMakeFiles</a></li><li class="navelem"><a class="el" href="dir_6e991472a2a26db300a12a4184ae5638.html">2.8.12.2</a></li><li class="navelem"><a class="el" href="dir_809fdf020f596158475f2a5965da168b.html">CompilerIdC</a></li> |
||||
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by |
||||
<a href="http://www.doxygen.org/index.html"> |
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
||||
</ul> |
||||
</div> |
||||
</body> |
||||
</html> |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue