<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Orcus: /home/iurt/rpmbuild/BUILD/liborcus-0.14.1/parser_handlers/yaml.hpp 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="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">Orcus </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_c94b6edf07ddd4a473c5fd293e1b34aa.html">parser_handlers</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">yaml.hpp</div> </div> </div><!--header--> <div class="contents"> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 2016 Kohei Yoshida</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * obtaining a copy of this software and associated documentation</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * files (the "Software"), to deal in the Software without</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * restriction, including without limitation the rights to use,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * copy, modify, merge, publish, distribute, sublicense, and/or sell</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * copies of the Software, and to permit persons to whom the</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * Software is furnished to do so, subject to the following</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * conditions:</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * The above copyright notice and this permission notice shall be</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * included in all copies or substantial portions of the Software.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> *</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> ************************************************************************/</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef INCLUDED_ORCUS_PARSER_HANDLERS_YAML_HPP</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define INCLUDED_ORCUS_PARSER_HANDLERS_YAML_HPP</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <cstdlib></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classyaml__parser__handler.html">yaml_parser_handler</a></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> <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#aec69f4405b4c5adaff4629f9953cb6da"> 39</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#aec69f4405b4c5adaff4629f9953cb6da">begin_parse</a>() {}</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a967a055a4612ce8f2f9b258955e8e105"> 44</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a967a055a4612ce8f2f9b258955e8e105">end_parse</a>() {}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a30e8c89fb6afc53942133f3c15c4a290"> 49</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a30e8c89fb6afc53942133f3c15c4a290">begin_document</a>() {}</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#af71964d690477998cbe9bbbfa7c96d6c"> 54</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#af71964d690477998cbe9bbbfa7c96d6c">end_document</a>() {}</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a2ba297d77e4b4f7f3e53db28f8e93957"> 59</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a2ba297d77e4b4f7f3e53db28f8e93957">begin_sequence</a>() {}</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a983438539a8825df29208b459289c81c"> 64</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a983438539a8825df29208b459289c81c">end_sequence</a>() {}</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a57ff21bf29ab2a029ca2fe521304fccf"> 69</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a57ff21bf29ab2a029ca2fe521304fccf">begin_map</a>() {}</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a347d86d0f8f89fae0b12b13ce1766c29"> 74</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a347d86d0f8f89fae0b12b13ce1766c29">begin_map_key</a>() {}</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a968c9f663469dde0f774dff925f06f9c"> 79</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a968c9f663469dde0f774dff925f06f9c">end_map_key</a>() {}</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#aec3d1998dbbc1b2ce4eb7c53ccd7fac9"> 84</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#aec3d1998dbbc1b2ce4eb7c53ccd7fac9">end_map</a>() {}</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a31d4e794fb4f94b563e8bd7a9a6d3e2b"> 92</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a31d4e794fb4f94b563e8bd7a9a6d3e2b">string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* p, <span class="keywordtype">size_t</span> n) {}</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a4ff6147bfb4079ef123d0a31ccb2b62c"> 99</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a4ff6147bfb4079ef123d0a31ccb2b62c">number</a>(<span class="keywordtype">double</span> val) {}</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a0d1c6fe87c0c06217fed47d1bfaa1888"> 104</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a0d1c6fe87c0c06217fed47d1bfaa1888">boolean_true</a>() {}</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#af9e9a15a965cd47c5d869c002cc53b9a"> 109</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#af9e9a15a965cd47c5d869c002cc53b9a">boolean_false</a>() {}</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classyaml__parser__handler.html#a34d85dc8b3c68139294070819ddca48b"> 114</a></span>  <span class="keywordtype">void</span> <a class="code" href="classyaml__parser__handler.html#a34d85dc8b3c68139294070819ddca48b">null</a>() {}</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="preprocessor">#endif</span></div><div class="ttc" id="classyaml__parser__handler_html_a968c9f663469dde0f774dff925f06f9c"><div class="ttname"><a href="classyaml__parser__handler.html#a968c9f663469dde0f774dff925f06f9c">yaml_parser_handler::end_map_key</a></div><div class="ttdeci">void end_map_key()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:79</div></div> <div class="ttc" id="classyaml__parser__handler_html_a0d1c6fe87c0c06217fed47d1bfaa1888"><div class="ttname"><a href="classyaml__parser__handler.html#a0d1c6fe87c0c06217fed47d1bfaa1888">yaml_parser_handler::boolean_true</a></div><div class="ttdeci">void boolean_true()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:104</div></div> <div class="ttc" id="classyaml__parser__handler_html_af9e9a15a965cd47c5d869c002cc53b9a"><div class="ttname"><a href="classyaml__parser__handler.html#af9e9a15a965cd47c5d869c002cc53b9a">yaml_parser_handler::boolean_false</a></div><div class="ttdeci">void boolean_false()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:109</div></div> <div class="ttc" id="classyaml__parser__handler_html"><div class="ttname"><a href="classyaml__parser__handler.html">yaml_parser_handler</a></div><div class="ttdef"><b>Definition:</b> yaml.hpp:33</div></div> <div class="ttc" id="classyaml__parser__handler_html_a34d85dc8b3c68139294070819ddca48b"><div class="ttname"><a href="classyaml__parser__handler.html#a34d85dc8b3c68139294070819ddca48b">yaml_parser_handler::null</a></div><div class="ttdeci">void null()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:114</div></div> <div class="ttc" id="classyaml__parser__handler_html_af71964d690477998cbe9bbbfa7c96d6c"><div class="ttname"><a href="classyaml__parser__handler.html#af71964d690477998cbe9bbbfa7c96d6c">yaml_parser_handler::end_document</a></div><div class="ttdeci">void end_document()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:54</div></div> <div class="ttc" id="classyaml__parser__handler_html_a57ff21bf29ab2a029ca2fe521304fccf"><div class="ttname"><a href="classyaml__parser__handler.html#a57ff21bf29ab2a029ca2fe521304fccf">yaml_parser_handler::begin_map</a></div><div class="ttdeci">void begin_map()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:69</div></div> <div class="ttc" id="classyaml__parser__handler_html_a347d86d0f8f89fae0b12b13ce1766c29"><div class="ttname"><a href="classyaml__parser__handler.html#a347d86d0f8f89fae0b12b13ce1766c29">yaml_parser_handler::begin_map_key</a></div><div class="ttdeci">void begin_map_key()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:74</div></div> <div class="ttc" id="classyaml__parser__handler_html_a967a055a4612ce8f2f9b258955e8e105"><div class="ttname"><a href="classyaml__parser__handler.html#a967a055a4612ce8f2f9b258955e8e105">yaml_parser_handler::end_parse</a></div><div class="ttdeci">void end_parse()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:44</div></div> <div class="ttc" id="classyaml__parser__handler_html_a983438539a8825df29208b459289c81c"><div class="ttname"><a href="classyaml__parser__handler.html#a983438539a8825df29208b459289c81c">yaml_parser_handler::end_sequence</a></div><div class="ttdeci">void end_sequence()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:64</div></div> <div class="ttc" id="classyaml__parser__handler_html_aec69f4405b4c5adaff4629f9953cb6da"><div class="ttname"><a href="classyaml__parser__handler.html#aec69f4405b4c5adaff4629f9953cb6da">yaml_parser_handler::begin_parse</a></div><div class="ttdeci">void begin_parse()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:39</div></div> <div class="ttc" id="classyaml__parser__handler_html_a2ba297d77e4b4f7f3e53db28f8e93957"><div class="ttname"><a href="classyaml__parser__handler.html#a2ba297d77e4b4f7f3e53db28f8e93957">yaml_parser_handler::begin_sequence</a></div><div class="ttdeci">void begin_sequence()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:59</div></div> <div class="ttc" id="classyaml__parser__handler_html_aec3d1998dbbc1b2ce4eb7c53ccd7fac9"><div class="ttname"><a href="classyaml__parser__handler.html#aec3d1998dbbc1b2ce4eb7c53ccd7fac9">yaml_parser_handler::end_map</a></div><div class="ttdeci">void end_map()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:84</div></div> <div class="ttc" id="classyaml__parser__handler_html_a4ff6147bfb4079ef123d0a31ccb2b62c"><div class="ttname"><a href="classyaml__parser__handler.html#a4ff6147bfb4079ef123d0a31ccb2b62c">yaml_parser_handler::number</a></div><div class="ttdeci">void number(double val)</div><div class="ttdef"><b>Definition:</b> yaml.hpp:99</div></div> <div class="ttc" id="classyaml__parser__handler_html_a31d4e794fb4f94b563e8bd7a9a6d3e2b"><div class="ttname"><a href="classyaml__parser__handler.html#a31d4e794fb4f94b563e8bd7a9a6d3e2b">yaml_parser_handler::string</a></div><div class="ttdeci">void string(const char *p, size_t n)</div><div class="ttdef"><b>Definition:</b> yaml.hpp:92</div></div> <div class="ttc" id="classyaml__parser__handler_html_a30e8c89fb6afc53942133f3c15c4a290"><div class="ttname"><a href="classyaml__parser__handler.html#a30e8c89fb6afc53942133f3c15c4a290">yaml_parser_handler::begin_document</a></div><div class="ttdeci">void begin_document()</div><div class="ttdef"><b>Definition:</b> yaml.hpp:49</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sat Feb 9 2019 16:54:03 for Orcus by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>