Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 12d0f975c6c7fa7093d99077a80c5759 > files > 33

airrac-doc-0.2.1-1.fc14.noarch.rpm

<!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 name="robots" content="index,follow"/>
	<title>AirRAC: airrac/command/YieldParserHelper.hpp Source File</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="tabs.css" rel="stylesheet" type="text/css"/>
	<link href="airrac.css" rel="stylesheet" type="text/css"/>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</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>
	
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-24983440-1']);
	  _gaq.push(['_setDomainName', 'none']);
	  _gaq.push(['_setAllowLinker', true]);
	  _gaq.push(['_trackPageview']);
	  (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
	<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
  </head>

  <body>
	<div id="top"><!-- do not remove this div! -->
	  
	  <div id="titlearea">
		<table width="100%">
		  <tbody>
			<tr style="height: 56px;">
			  
			  <td style="padding-left: 0.5em;">
				<div id="projectname"><a href="http://airrac.sourceforge.net"><img height="45px" alt="AirRAC Logo" src="airrac_logo.png"></a>
				  
				  &#160;<span id="projectnumber">0.2.1</span>
				  
				</div>
				
				<div id="projectbrief">C++ Simulated Revenue Accounting (RAC) System Library</div>
				
			  </td>
			  
			  

			  <!-- begin SOURCEFORGE_CUSTOM-->
			  <td>
				<div id="sflogo"><a href="http://airrac.sourceforge.net"><img height="45px" alt="SourceForge Logo" src="sfx_logo.png"></a></div>
			  </td>
			  <!-- end SOURCEFORGE_CUSTOM-->

			  
			</tr>
		  </tbody>
		</table>
	  </div>
	  

<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</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><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('YieldParserHelper_8hpp.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">YieldParserHelper.hpp</div>  </div>
</div>
<div class="contents">
<a href="YieldParserHelper_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __AIRRAC_CMD_YIELDPARSERHELPER_HPP</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __AIRRAC_CMD_YIELDPARSERHELPER_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">// //////////////////////////////////////////////////////////////////////</span>
<a name="l00005"></a>00005 <span class="comment">// Import section</span>
<a name="l00006"></a>00006 <span class="comment">// //////////////////////////////////////////////////////////////////////</span>
<a name="l00007"></a>00007 <span class="comment">// STL</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00009"></a>00009 <span class="comment">//#define BOOST_SPIRIT_DEBUG</span>
<a name="l00010"></a>00010 <span class="comment">// StdAir</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;stdair/basic/BasParserTypes.hpp&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;stdair/command/CmdAbstract.hpp&gt;</span>
<a name="l00013"></a>00013 <span class="comment">// Airrac</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;<a class="code" href="AIRRAC__Types_8hpp.html">airrac/AIRRAC_Types.hpp</a>&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;<a class="code" href="YieldRuleStruct_8hpp.html">airrac/bom/YieldRuleStruct.hpp</a>&gt;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="comment">// Forward declarations</span>
<a name="l00018"></a>00018 <span class="keyword">namespace </span>stdair {
<a name="l00019"></a>00019   <span class="keyword">class </span>BomRoot;
<a name="l00020"></a>00020 }
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">namespace </span>AIRRAC {
<a name="l00023"></a>00023 
<a name="l00024"></a>00024   <span class="keyword">namespace </span>YieldParserHelper {
<a name="l00025"></a>00025 
<a name="l00026"></a>00026     <span class="comment">// ///////////////////////////////////////////////////////////////////</span>
<a name="l00027"></a>00027     <span class="comment">//  Semantic actions</span>
<a name="l00028"></a>00028     <span class="comment">// ///////////////////////////////////////////////////////////////////</span>
<a name="l00030"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">00030</a> <span class="comment"></span>    <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00032"></a>00032       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html#a16be569bf11e363cbbe9a7d73aadd73d">ParserSemanticAction</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00034"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html#a3b95420c0ac090d2c573204de205ba18">00034</a>       <a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp; <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html#a3b95420c0ac090d2c573204de205ba18">_yieldRule</a>;
<a name="l00035"></a>00035     };
<a name="l00036"></a>00036 
<a name="l00038"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYieldId.html">00038</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYieldId.html">storeYieldId</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00040"></a>00040       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYieldId.html#a40aa759704b42ede86f704d1431425a2">storeYieldId</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00042"></a>00042       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYieldId.html#ad7903c17b314a6a83dc884a5591c522f">operator() </a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00043"></a>00043                        boost::spirit::qi::unused_type,
<a name="l00044"></a>00044                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00045"></a>00045     };
<a name="l00046"></a>00046 
<a name="l00048"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeOrigin.html">00048</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeOrigin.html">storeOrigin</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00050"></a>00050       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeOrigin.html#a1759b8b32bf0bc7c6046d0aa059873ed">storeOrigin</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00052"></a>00052       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeOrigin.html#a870cefaad54eace6381664343f7205cb">operator() </a>(std::vector&lt;char&gt;,
<a name="l00053"></a>00053                        boost::spirit::qi::unused_type,
<a name="l00054"></a>00054                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00055"></a>00055     };
<a name="l00056"></a>00056 
<a name="l00058"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDestination.html">00058</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDestination.html">storeDestination</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00060"></a>00060       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDestination.html#ab6634962316691f50648e20eb9663b07">storeDestination</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00062"></a>00062       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDestination.html#ac92007b9daece4ec354cb6db3fc1ae26">operator() </a>(std::vector&lt;char&gt;,
<a name="l00063"></a>00063                        boost::spirit::qi::unused_type,
<a name="l00064"></a>00064                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00065"></a>00065     };   
<a name="l00066"></a>00066 
<a name="l00068"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeTripType.html">00068</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeTripType.html">storeTripType</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00070"></a>00070       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeTripType.html#af0e14e7683403d06631340e289f11329">storeTripType</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00072"></a>00072       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeTripType.html#a9267d77a68848bb72cf398b3a8543e77">operator() </a>(std::vector&lt;char&gt;,
<a name="l00073"></a>00073                        boost::spirit::qi::unused_type,
<a name="l00074"></a>00074                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00075"></a>00075     };
<a name="l00076"></a>00076 
<a name="l00078"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeStart.html">00078</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeStart.html">storeDateRangeStart</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00080"></a>00080       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeStart.html#af1ed70aaaa1c1592e4260e46c8fcc349">storeDateRangeStart</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00082"></a>00082       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeStart.html#a7d1e291365659b61026f0659d9779ba8">operator() </a>(boost::spirit::qi::unused_type,
<a name="l00083"></a>00083                        boost::spirit::qi::unused_type,
<a name="l00084"></a>00084                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00085"></a>00085     };
<a name="l00086"></a>00086 
<a name="l00088"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeEnd.html">00088</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeEnd.html">storeDateRangeEnd</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00090"></a>00090       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeEnd.html#a5e38d15330faf1dc2622db13b118fa5a">storeDateRangeEnd</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00092"></a>00092       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeDateRangeEnd.html#ab160074f120a506f7aaee253584be294">operator() </a>(boost::spirit::qi::unused_type,
<a name="l00093"></a>00093                        boost::spirit::qi::unused_type,
<a name="l00094"></a>00094                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00095"></a>00095     };
<a name="l00096"></a>00096 
<a name="l00098"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeStartRangeTime.html">00098</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeStartRangeTime.html">storeStartRangeTime</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00100"></a>00100       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeStartRangeTime.html#ad6023a105348413795a420e1b17dde84">storeStartRangeTime</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00102"></a>00102       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeStartRangeTime.html#af1ec65e7b973ea5ac0522bf764b6974b">operator() </a>(boost::spirit::qi::unused_type,
<a name="l00103"></a>00103                        boost::spirit::qi::unused_type,
<a name="l00104"></a>00104                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00105"></a>00105     };
<a name="l00106"></a>00106 
<a name="l00108"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeEndRangeTime.html">00108</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeEndRangeTime.html">storeEndRangeTime</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00110"></a>00110       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeEndRangeTime.html#a69621143044ae061550b1e0cc7371ff5">storeEndRangeTime</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00112"></a>00112       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeEndRangeTime.html#a9236c52fec32076dca66528c7f00dae5">operator() </a>(boost::spirit::qi::unused_type,
<a name="l00113"></a>00113                        boost::spirit::qi::unused_type,
<a name="l00114"></a>00114                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00115"></a>00115     };
<a name="l00116"></a>00116 
<a name="l00118"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storePOS.html">00118</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storePOS.html">storePOS</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00120"></a>00120       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storePOS.html#ae781a07193eacb14e6c7af8418624985">storePOS</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00122"></a>00122       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storePOS.html#afbc2a8ebb5bfedd1a75d79f92e289432">operator() </a>(std::vector&lt;char&gt;,
<a name="l00123"></a>00123                        boost::spirit::qi::unused_type,
<a name="l00124"></a>00124                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00125"></a>00125     };
<a name="l00126"></a>00126 
<a name="l00128"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeCabinCode.html">00128</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeCabinCode.html">storeCabinCode</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00130"></a>00130       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeCabinCode.html#a9e5e47cda38b3f9ea68359a69d89caf2">storeCabinCode</a>  (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00132"></a>00132       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeCabinCode.html#a85abf77e163dacdacf05af8214e7ed2b">operator() </a>(<span class="keywordtype">char</span>,
<a name="l00133"></a>00133                        boost::spirit::qi::unused_type,
<a name="l00134"></a>00134                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00135"></a>00135     };
<a name="l00136"></a>00136 
<a name="l00138"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeChannel.html">00138</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeChannel.html">storeChannel</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00140"></a>00140       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeChannel.html#a186100d28bb690d991d2aa60fe987fc5">storeChannel</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00142"></a>00142       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeChannel.html#a2b836b8613b7450e7390659afacdace7">operator() </a>(std::vector&lt;char&gt;,
<a name="l00143"></a>00143                        boost::spirit::qi::unused_type,
<a name="l00144"></a>00144                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00145"></a>00145     };
<a name="l00146"></a>00146 
<a name="l00148"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYield.html">00148</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYield.html">storeYield</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00150"></a>00150       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYield.html#a9fb063c81e3692b27021e69805949ce0">storeYield</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00152"></a>00152       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeYield.html#a6335bf3f15b5953bdaad4fea0734374e">operator() </a>(<span class="keywordtype">double</span>,
<a name="l00153"></a>00153                        boost::spirit::qi::unused_type,
<a name="l00154"></a>00154                        boost::spirit::qi::unused_type) <span class="keyword">const</span>; 
<a name="l00155"></a>00155     };
<a name="l00156"></a>00156     
<a name="l00158"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeAirlineCode.html">00158</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeAirlineCode.html">storeAirlineCode</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00160"></a>00160       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeAirlineCode.html#afb31b990576d9ad1b2fb874676e81c95">storeAirlineCode</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00162"></a>00162       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeAirlineCode.html#a8e6fdc6aa35167d7d3c29673ec20ec29">operator() </a>(std::vector&lt;char&gt;,
<a name="l00163"></a>00163                        boost::spirit::qi::unused_type,
<a name="l00164"></a>00164                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00165"></a>00165     };
<a name="l00166"></a>00166 
<a name="l00168"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeClass.html">00168</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeClass.html">storeClass</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00170"></a>00170       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeClass.html#a4f5712e6b29f3893ac4ae5e6c2ae6f29">storeClass</a> (<a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00172"></a>00172       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1storeClass.html#afc62a679c4749782b18792a4cfe16a64">operator() </a>(std::vector&lt;char&gt;,
<a name="l00173"></a>00173                        boost::spirit::qi::unused_type,
<a name="l00174"></a>00174                        boost::spirit::qi::unused_type) <span class="keyword">const</span>; 
<a name="l00175"></a>00175     };
<a name="l00176"></a>00176     
<a name="l00178"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html">00178</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html">doEndYield</a> : <span class="keyword">public</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1ParserSemanticAction.html">ParserSemanticAction</a> {
<a name="l00180"></a>00180       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html#ae4b206b842ed22855fe5e3d5d2c85de7">doEndYield</a> (stdair::BomRoot&amp;, <a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00182"></a>00182       <span class="keywordtype">void</span> <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html#a5140fabfe442e6023f51f3da32897fea">operator() </a>(boost::spirit::qi::unused_type,
<a name="l00183"></a>00183                        boost::spirit::qi::unused_type,
<a name="l00184"></a>00184                        boost::spirit::qi::unused_type) <span class="keyword">const</span>;
<a name="l00186"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html#ae7f5b9a452bce91b1b347478e156797d">00186</a>       stdair::BomRoot&amp; <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1doEndYield.html#ae7f5b9a452bce91b1b347478e156797d">_bomRoot</a>;
<a name="l00187"></a>00187     };
<a name="l00188"></a>00188   
<a name="l00190"></a>00190     <span class="comment">//</span>
<a name="l00191"></a>00191     <span class="comment">//  (Boost Spirit) Grammar Definition</span>
<a name="l00192"></a>00192     <span class="comment">//</span>
<a name="l00194"></a>00194 <span class="comment"></span>
<a name="l00214"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html">00214</a>     <span class="keyword">struct </span><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html">YieldRuleParser</a> : 
<a name="l00215"></a>00215       <span class="keyword">public</span> boost::spirit::qi::<a class="code" href="classboost_1_1spirit_1_1qi_1_1grammar.html">grammar</a>&lt;stdair::iterator_t, 
<a name="l00216"></a>00216                                         boost::spirit::ascii::space_type&gt; {
<a name="l00217"></a>00217 
<a name="l00218"></a>00218       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ad4171de4be19c04658154eea9c0e9443">YieldRuleParser</a> (stdair::BomRoot&amp;, <a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp;);
<a name="l00219"></a>00219 
<a name="l00220"></a>00220       <span class="comment">// Instantiation of rules</span>
<a name="l00221"></a>00221       boost::spirit::qi::rule&lt;<a class="code" href="namespaceAIRRAC.html#ae0a8cc2e878cb155721e62b7b95cedc7">stdair::iterator_t</a>,
<a name="l00222"></a>00222                               boost::spirit::ascii::space_type&gt;
<a name="l00223"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ab3564234d2e1ada7503f2c059dcd8904">00223</a>       <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ab96a571ef60b5028a3cbf7652dd0935c">start</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ae7377b1cc362309b4ca3d589bd47dcd5">comments</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a7e2bc04b0abc1c2ff91b29bb41457895">yield_rule</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a66bf2c6cb59dd06f4da3b514e01b05c8">yield_id</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#aa966644c7e967c7d8cdbcf25b26c2432">origin</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#af9b5c0ab74e56d0d4122d94430c740e9">destination</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a938337b056ef449295351ee9301eeecd">tripType</a>,
<a name="l00224"></a>00224         <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a8cd13fdf521ed7c0d75efccf1b503cbf">dateRangeStart</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a9fd7da2cd7417b9589d0e2e0647853df">dateRangeEnd</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a8afb3e2d274c9d5a324f250386ef3351">date</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a0c1180493c5b38f7922f5b940fa5746b">timeRangeStart</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a47181d36cf114f0b0f82190b8e14485e">timeRangeEnd</a>,
<a name="l00225"></a>00225         <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#aba1f332169a0dc2d7d660986e59f683a">time</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a716635c8aabb9332ee5c80ea55c85859">point_of_sale</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a8638737bf24231e929ad59f2cec78454">cabinCode</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ac414afebb6a51a73f2255a76a2b8dd3c">channel</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a3e6193b48e606fc58c716d1800661616">yield</a>, <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#af789f571997be5efe7c92a79c537f285">segment</a>,
<a name="l00226"></a>00226         <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ab3564234d2e1ada7503f2c059dcd8904">yield_rule_end</a>;
<a name="l00227"></a>00227       
<a name="l00228"></a>00228       <span class="comment">// Parser Context</span>
<a name="l00229"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a5da698285fb150e4d127ad2a81eaa2d8">00229</a>       stdair::BomRoot&amp; <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#a5da698285fb150e4d127ad2a81eaa2d8">_bomRoot</a>;
<a name="l00230"></a><a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ac4cad12008508ccfe7da9851c0fa4d53">00230</a>       <a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a>&amp; <a class="code" href="structAIRRAC_1_1YieldParserHelper_1_1YieldRuleParser.html#ac4cad12008508ccfe7da9851c0fa4d53">_yieldRule</a>;
<a name="l00231"></a>00231     };
<a name="l00232"></a>00232 
<a name="l00233"></a>00233   }
<a name="l00234"></a>00234   
<a name="l00236"></a>00236   <span class="comment">//</span>
<a name="l00237"></a>00237   <span class="comment">//  Entry class for the file parser</span>
<a name="l00238"></a>00238   <span class="comment">//</span>
<a name="l00240"></a>00240 <span class="comment"></span>
<a name="l00246"></a><a class="code" href="classAIRRAC_1_1YieldFileParser.html">00246</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1YieldFileParser.html">YieldFileParser</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1CmdAbstract.html">CmdAbstract</a> {
<a name="l00247"></a>00247   <span class="keyword">public</span>:
<a name="l00249"></a>00249     <a class="code" href="classAIRRAC_1_1YieldFileParser.html#a5bdd0add717147aa121a49882ea2126d">YieldFileParser</a> (stdair::BomRoot&amp;,
<a name="l00250"></a>00250                      <span class="keyword">const</span> stdair::Filename_T&amp; iYieldInputFilename);
<a name="l00251"></a>00251 
<a name="l00253"></a>00253     <span class="keywordtype">void</span> <a class="code" href="classAIRRAC_1_1YieldFileParser.html#a1a9d861e46a0017db6a7a8d01fed502a">generateYieldStore</a> ();
<a name="l00254"></a>00254       
<a name="l00255"></a>00255   <span class="keyword">private</span>:
<a name="l00257"></a>00257     <span class="keywordtype">void</span> init();
<a name="l00258"></a>00258       
<a name="l00259"></a>00259   <span class="keyword">private</span>:
<a name="l00260"></a>00260 
<a name="l00261"></a>00261     <span class="comment">// Attributes</span>
<a name="l00263"></a>00263 <span class="comment"></span>    stdair::Filename_T _filename;
<a name="l00264"></a>00264       
<a name="l00266"></a>00266     stdair::BomRoot&amp; _bomRoot;
<a name="l00267"></a>00267 
<a name="l00269"></a>00269     <a class="code" href="structAIRRAC_1_1YieldRuleStruct.html" title="Utility Structure for the parsing of Flight-Date structures.">YieldRuleStruct</a> _yieldRule;
<a name="l00270"></a>00270   };
<a name="l00271"></a>00271   
<a name="l00272"></a>00272 }
<a name="l00273"></a>00273 <span class="preprocessor">#endif // __AIRRAC_CMD_YIELDPARSERHELPER_HPP</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="YieldParserHelper_8hpp.html">YieldParserHelper.hpp</a>      </li>
<!-- 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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</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>

		
		<li class="footer">Generated on Wed Nov 2 2011 23:02:18 for AirRAC by
		  <a href="http://www.doxygen.org/index.html">
			<img class="footer" src="doxygen.png" alt="doxygen"/></a> 
		  1.7.4
		</li>
		<li class="footer">
		  <a href="http://sourceforge.net/projects/airrac"><img class="footer" src="http://sflogo.sourceforge.net/sflogo.php?group_id=317250&type=12&format=.png" alt="SourceForge Logo"></a>
		</li>
	  </ul>
	</div>
	

	
  </body>
</html>