1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
ModernCppStarter/greeter_8h_source.html
2020-06-03 12:34:48 +00:00

128 lines
9.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Greeter: greeter.h 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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Greeter
&#160;<span id="projectnumber">1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('greeter_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">greeter.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="greeter_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="namespacegreeter.html"> 5</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegreeter.html">greeter</a> {</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0"> 8</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0">LanguageCode</a> { <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0aaa85f1840e282d8a8304dbc2c0d7c9b2">EN</a>, <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a3a52f3c22ed6fcde5bf696a6c02c9e73">DE</a>, <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a04c19fa1e772ab66f0aad2efe61f25cd">ES</a>, <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a11aedd0e432747c2bcd97b82808d24a0">FR</a> };</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classgreeter_1_1_greeter.html"> 13</a></span>&#160; <span class="keyword">class </span><a class="code" href="classgreeter_1_1_greeter.html">Greeter</a> {</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; std::string name;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="classgreeter_1_1_greeter.html#a032abd03d0ef9beac5dea095fc2809f7">Greeter</a>(std::string name);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; std::string <a class="code" href="classgreeter_1_1_greeter.html#a057e05d8a3779176fadafc679fed2cf2">greet</a>(<a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0">LanguageCode</a> lang = <a class="code" href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0aaa85f1840e282d8a8304dbc2c0d7c9b2">LanguageCode::EN</a>) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; };</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;} <span class="comment">// namespace greeter</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="anamespacegreeter_html_aa824aced4428795fef274930c6c22db0aaa85f1840e282d8a8304dbc2c0d7c9b2"><div class="ttname"><a href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0aaa85f1840e282d8a8304dbc2c0d7c9b2">greeter::LanguageCode::EN</a></div><div class="ttdeci">@ EN</div></div>
<div class="ttc" id="aclassgreeter_1_1_greeter_html_a057e05d8a3779176fadafc679fed2cf2"><div class="ttname"><a href="classgreeter_1_1_greeter.html#a057e05d8a3779176fadafc679fed2cf2">greeter::Greeter::greet</a></div><div class="ttdeci">std::string greet(LanguageCode lang=LanguageCode::EN) const</div><div class="ttdef"><b>Definition:</b> greeter.cpp:7</div></div>
<div class="ttc" id="anamespacegreeter_html_aa824aced4428795fef274930c6c22db0a3a52f3c22ed6fcde5bf696a6c02c9e73"><div class="ttname"><a href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a3a52f3c22ed6fcde5bf696a6c02c9e73">greeter::LanguageCode::DE</a></div><div class="ttdeci">@ DE</div></div>
<div class="ttc" id="anamespacegreeter_html_aa824aced4428795fef274930c6c22db0"><div class="ttname"><a href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0">greeter::LanguageCode</a></div><div class="ttdeci">LanguageCode</div><div class="ttdef"><b>Definition:</b> greeter.h:8</div></div>
<div class="ttc" id="aclassgreeter_1_1_greeter_html"><div class="ttname"><a href="classgreeter_1_1_greeter.html">greeter::Greeter</a></div><div class="ttdef"><b>Definition:</b> greeter.h:13</div></div>
<div class="ttc" id="anamespacegreeter_html_aa824aced4428795fef274930c6c22db0a11aedd0e432747c2bcd97b82808d24a0"><div class="ttname"><a href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a11aedd0e432747c2bcd97b82808d24a0">greeter::LanguageCode::FR</a></div><div class="ttdeci">@ FR</div></div>
<div class="ttc" id="aclassgreeter_1_1_greeter_html_a032abd03d0ef9beac5dea095fc2809f7"><div class="ttname"><a href="classgreeter_1_1_greeter.html#a032abd03d0ef9beac5dea095fc2809f7">greeter::Greeter::Greeter</a></div><div class="ttdeci">Greeter(std::string name)</div><div class="ttdef"><b>Definition:</b> greeter.cpp:5</div></div>
<div class="ttc" id="anamespacegreeter_html"><div class="ttname"><a href="namespacegreeter.html">greeter</a></div><div class="ttdef"><b>Definition:</b> greeter.h:5</div></div>
<div class="ttc" id="anamespacegreeter_html_aa824aced4428795fef274930c6c22db0a04c19fa1e772ab66f0aad2efe61f25cd"><div class="ttname"><a href="namespacegreeter.html#aa824aced4428795fef274930c6c22db0a04c19fa1e772ab66f0aad2efe61f25cd">greeter::LanguageCode::ES</a></div><div class="ttdeci">@ ES</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="greeter_8h.html">greeter.h</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
</ul>
</div>
</body>
</html>