Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > c3d74e728f0eb23a7aa41caaeb74521a > files > 114

simfqt-doc-1.00.0-2.fc18.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>SIMFQT::SIMFQT_Service Class Reference</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="tabs.css" rel="stylesheet" type="text/css"/>
	<link href="simfqt.css" rel="stylesheet" type="text/css"/>
	<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>
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-25242815-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://simfqt.sourceforge.net"><img height="45px" alt="SimFQT Logo" src="simfqt_logo.png"></a>
				  &#160;<span id="projectnumber">1.00.0</span>
				</div>
				<div id="projectbrief">C++ Simulated Fare Quote System Library</div>
			  </td>
			  <!-- begin SOURCEFORGE_CUSTOM-->
			  <td>
				<div id="sflogo"><a href="http://simfqt.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.8.3.1 -->
<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&#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 class="current"><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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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('classSIMFQT_1_1SIMFQT__Service.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">&#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>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</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="#pub-methods">Public Member Functions</a> &#124;
<a href="classSIMFQT_1_1SIMFQT__Service-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SIMFQT::SIMFQT_Service Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Interface for the <a class="el" href="namespaceSIMFQT.html">SIMFQT</a> Services.  
 <a href="classSIMFQT_1_1SIMFQT__Service.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="SIMFQT__Service_8hpp_source.html">simfqt/SIMFQT_Service.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4e3b8de725d5eb3b171c09dc0505ca61"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a4e3b8de725d5eb3b171c09dc0505ca61">SIMFQT_Service</a> (const stdair::BasLogParams &amp;)</td></tr>
<tr class="separator:a4e3b8de725d5eb3b171c09dc0505ca61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf47dc2e11153b14b9cc2cc93be62168"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#adf47dc2e11153b14b9cc2cc93be62168">SIMFQT_Service</a> (const stdair::BasLogParams &amp;, const stdair::BasDBParams &amp;)</td></tr>
<tr class="separator:adf47dc2e11153b14b9cc2cc93be62168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f93291393300af0b1a18f931cd1fbd4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a8f93291393300af0b1a18f931cd1fbd4">SIMFQT_Service</a> (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr)</td></tr>
<tr class="separator:a8f93291393300af0b1a18f931cd1fbd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9148321c12a008aa19ac0c8b459bef0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a9148321c12a008aa19ac0c8b459bef0f">parseAndLoad</a> (const <a class="el" href="classSIMFQT_1_1FareFilePath.html">FareFilePath</a> &amp;iFareFilename)</td></tr>
<tr class="separator:a9148321c12a008aa19ac0c8b459bef0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfb366bab95445b804d97bf65abf30d5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#adfb366bab95445b804d97bf65abf30d5">~SIMFQT_Service</a> ()</td></tr>
<tr class="separator:adfb366bab95445b804d97bf65abf30d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa8be17ff60060e02ad7da4918bbb2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a9fa8be17ff60060e02ad7da4918bbb2f">buildSampleBom</a> ()</td></tr>
<tr class="separator:a9fa8be17ff60060e02ad7da4918bbb2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d9466452f6bcaf6fa30687cff32a11d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a0d9466452f6bcaf6fa30687cff32a11d">clonePersistentBom</a> ()</td></tr>
<tr class="separator:a0d9466452f6bcaf6fa30687cff32a11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36a09d7c9a93c03e76b65c1f7cce2b34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a36a09d7c9a93c03e76b65c1f7cce2b34">buildComplementaryLinks</a> (stdair::BomRoot &amp;)</td></tr>
<tr class="separator:a36a09d7c9a93c03e76b65c1f7cce2b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5cd5f9e666420a26df7f8c61af9385f"><td class="memItemLeft" align="right" valign="top">stdair::BookingRequestStruct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#ab5cd5f9e666420a26df7f8c61af9385f">buildBookingRequest</a> (const bool isForCRS=false)</td></tr>
<tr class="separator:ab5cd5f9e666420a26df7f8c61af9385f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47336ba759d301acc656331a7f9d1e51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a47336ba759d301acc656331a7f9d1e51">buildSampleTravelSolutions</a> (stdair::TravelSolutionList_T &amp;)</td></tr>
<tr class="separator:a47336ba759d301acc656331a7f9d1e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf51021e192e43159379edd0d0801319"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#acf51021e192e43159379edd0d0801319">quotePrices</a> (const stdair::BookingRequestStruct &amp;, stdair::TravelSolutionList_T &amp;)</td></tr>
<tr class="separator:acf51021e192e43159379edd0d0801319"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e22e0697e1eded6b5e23de900022ea2"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a5e22e0697e1eded6b5e23de900022ea2">csvDisplay</a> () const </td></tr>
<tr class="separator:a5e22e0697e1eded6b5e23de900022ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74c8071c295e3c3b3181eeba3e11b194"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a74c8071c295e3c3b3181eeba3e11b194">csvDisplay</a> (const stdair::TravelSolutionList_T &amp;) const </td></tr>
<tr class="separator:a74c8071c295e3c3b3181eeba3e11b194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac50867abb9be78e41f7024e1f19237ec"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#ac50867abb9be78e41f7024e1f19237ec">csvDisplay</a> (const stdair::AirportCode_T &amp;ioOrigin, const stdair::AirportCode_T &amp;ioDestination, const stdair::Date_T &amp;ioDepartureDate) const </td></tr>
<tr class="separator:ac50867abb9be78e41f7024e1f19237ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1534c3bc55ef6444843505a9442aa47"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#ae1534c3bc55ef6444843505a9442aa47">list</a> () const </td></tr>
<tr class="separator:ae1534c3bc55ef6444843505a9442aa47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10617484d9b75992dff561c96690986f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSIMFQT_1_1SIMFQT__Service.html#a10617484d9b75992dff561c96690986f">check</a> (const stdair::AirportCode_T &amp;ioOrigin, const stdair::AirportCode_T &amp;ioDestination, const stdair::Date_T &amp;ioDepartureDate) const </td></tr>
<tr class="separator:a10617484d9b75992dff561c96690986f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Interface for the <a class="el" href="namespaceSIMFQT.html">SIMFQT</a> Services. </p>

<p>Definition at line <a class="el" href="SIMFQT__Service_8hpp_source.html#l00032">32</a> of file <a class="el" href="SIMFQT__Service_8hpp_source.html">SIMFQT_Service.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4e3b8de725d5eb3b171c09dc0505ca61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SIMFQT::SIMFQT_Service::SIMFQT_Service </td>
          <td>(</td>
          <td class="paramtype">const stdair::BasLogParams &amp;&#160;</td>
          <td class="paramname"><em>iLogParams</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor.</p>
<p>The initSimfqtService() method is called; see the corresponding documentation for more details.</p>
<p>A reference on an output stream is given, so that log outputs can be directed onto that stream.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>stdair::BasLogParams&amp; Parameters for the output log stream. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00036">36</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adf47dc2e11153b14b9cc2cc93be62168"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SIMFQT::SIMFQT_Service::SIMFQT_Service </td>
          <td>(</td>
          <td class="paramtype">const stdair::BasLogParams &amp;&#160;</td>
          <td class="paramname"><em>iLogParams</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const stdair::BasDBParams &amp;&#160;</td>
          <td class="paramname"><em>iDBParams</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor.</p>
<p>The initSimfqtService() method is called; see the corresponding documentation for more details.</p>
<p>A reference on an output stream is given, so that log outputs can be directed onto that stream.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>stdair::BasLogParams&amp; Parameters for the output log stream. </td></tr>
    <tr><td class="paramname">const</td><td>stdair::BasDBParams&amp; Parameters for the database access. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00056">56</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8f93291393300af0b1a18f931cd1fbd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SIMFQT::SIMFQT_Service::SIMFQT_Service </td>
          <td>(</td>
          <td class="paramtype">stdair::STDAIR_ServicePtr_T&#160;</td>
          <td class="paramname"><em>ioSTDAIR_ServicePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor.</p>
<p>The initSimfqtService() method is called; see the corresponding documentation for more details.</p>
<p>Moreover, as no reference on any output stream is given, it is assumed that the StdAir log service has already been initialised with the proper log output stream by some other methods in the calling chain (for instance, when the <a class="el" href="classSIMFQT_1_1SIMFQT__Service.html" title="Interface for the SIMFQT Services.">SIMFQT_Service</a> is itself being initialised by another library service such as SIMCRS_Service).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stdair::STDAIR_ServicePtr_T</td><td>Reference on the STDAIR service. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00078">78</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adfb366bab95445b804d97bf65abf30d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SIMFQT::SIMFQT_Service::~SIMFQT_Service </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor. </p>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00094">94</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9148321c12a008aa19ac0c8b459bef0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::parseAndLoad </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSIMFQT_1_1FareFilePath.html">FareFilePath</a> &amp;&#160;</td>
          <td class="paramname"><em>iFareFilename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse the fare dump and load it into memory.</p>
<p>The CSV file, describing the fare rule for the simulator, is parsed and instantiated in memory accordingly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="classSIMFQT_1_1FareFilePath.html">FareFilePath</a>&amp; Filename of the input fare file. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00171">171</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>References <a class="el" href="SIMFQT__Service_8cpp_source.html#l00315">buildComplementaryLinks()</a>, <a class="el" href="SIMFQT__Service_8cpp_source.html#l00279">clonePersistentBom()</a>, and <a class="el" href="FareParser_8cpp_source.html#l00017">SIMFQT::FareParser::fareRuleGeneration()</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a9fa8be17ff60060e02ad7da4918bbb2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::buildSampleBom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Build a sample BOM tree, and attach it to the BomRoot instance.</p>
<p>As for now, two sample BOM trees can be built. </p>
<ul>
<li>
One BOM tree is based on two actual inventories (one for BA, another for AF). Each inventory contains one flight. One of those flights has two legs (and therefore three segments). </li>
<li>
The other BOM tree is fake, as a hook for RMOL to work. </li>
</ul>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00223">223</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>References <a class="el" href="SIMFQT__Service_8cpp_source.html#l00315">buildComplementaryLinks()</a>, and <a class="el" href="SIMFQT__Service_8cpp_source.html#l00279">clonePersistentBom()</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a0d9466452f6bcaf6fa30687cff32a11d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::clonePersistentBom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clone the persistent BOM object. </p>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00279">279</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>References <a class="el" href="SIMFQT__Service_8cpp_source.html#l00315">buildComplementaryLinks()</a>.</p>

<p>Referenced by <a class="el" href="SIMFQT__Service_8cpp_source.html#l00223">buildSampleBom()</a>, and <a class="el" href="SIMFQT__Service_8cpp_source.html#l00171">parseAndLoad()</a>.</p>

</div>
</div>
<a class="anchor" id="a36a09d7c9a93c03e76b65c1f7cce2b34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::buildComplementaryLinks </td>
          <td>(</td>
          <td class="paramtype">stdair::BomRoot &amp;&#160;</td>
          <td class="paramname"><em>ioBomRoot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Build all the complementary links in the given bom root object. </p>
<dl class="section note"><dt>Note</dt><dd>Do nothing for now. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00315">315</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>Referenced by <a class="el" href="SIMFQT__Service_8cpp_source.html#l00223">buildSampleBom()</a>, <a class="el" href="SIMFQT__Service_8cpp_source.html#l00279">clonePersistentBom()</a>, and <a class="el" href="SIMFQT__Service_8cpp_source.html#l00171">parseAndLoad()</a>.</p>

</div>
</div>
<a class="anchor" id="ab5cd5f9e666420a26df7f8c61af9385f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">stdair::BookingRequestStruct SIMFQT::SIMFQT_Service::buildBookingRequest </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>isForCRS</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Build a BookingRequest structure (for test purposes).</p>
<dl class="section return"><dt>Returns</dt><dd>stdair::BookingRequestStruct The created BookingRequest structure. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00320">320</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a47336ba759d301acc656331a7f9d1e51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::buildSampleTravelSolutions </td>
          <td>(</td>
          <td class="paramtype">stdair::TravelSolutionList_T &amp;&#160;</td>
          <td class="paramname"><em>ioTravelSolutionList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Build a sample list of travel solutions.</p>
<p>As of now (March 2011), that list is made of the following travel solutions: </p>
<ul>
<li>
BA9 </li>
<li>
LHR-SYD </li>
<li>
2011-06-10 </li>
<li>
Q </li>
<li>
WTP: 900 </li>
<li>
Change fee: 20; Non refundable; Saturday night stay </li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">TravelSolutionList_T&amp;</td><td>Sample list of travel solution structures. It should be given empty. It is altered with the returned sample. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00344">344</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="acf51021e192e43159379edd0d0801319"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SIMFQT::SIMFQT_Service::quotePrices </td>
          <td>(</td>
          <td class="paramtype">const stdair::BookingRequestStruct &amp;&#160;</td>
          <td class="paramname"><em>iBookingRequest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">stdair::TravelSolutionList_T &amp;&#160;</td>
          <td class="paramname"><em>ioTravelSolutionList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate the prices for a given list of travel solutions. </p>
<pre class="fragment">A stdair::Fare_T attribute is calculated for every travel
solution of the list.
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stdair::BookingRequestStruct&amp;</td><td>Booking request. </td></tr>
    <tr><td class="paramname">stdair::TravelSolutionList_T&amp;</td><td>List of travel solution. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00480">480</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a5e22e0697e1eded6b5e23de900022ea2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string SIMFQT::SIMFQT_Service::csvDisplay </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Recursively display (dump in the returned string) the objects of the BOM tree.</p>
<dl class="section return"><dt>Returns</dt><dd>std::string Output string in which the BOM tree is logged/dumped. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00365">365</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

<p>Referenced by <a class="el" href="simfqt__parseFareRules_8cpp_source.html#l00154">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a74c8071c295e3c3b3181eeba3e11b194"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string SIMFQT::SIMFQT_Service::csvDisplay </td>
          <td>(</td>
          <td class="paramtype">const stdair::TravelSolutionList_T &amp;&#160;</td>
          <td class="paramname"><em>ioTravelSolutionList</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Display (dump in the returned string) the full list of travel solution structures.</p>
<dl class="section return"><dt>Returns</dt><dd>std::string Output string in which the list of travel solutions is logged/dumped. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00392">392</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac50867abb9be78e41f7024e1f19237ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string SIMFQT::SIMFQT_Service::csvDisplay </td>
          <td>(</td>
          <td class="paramtype">const stdair::AirportCode_T &amp;&#160;</td>
          <td class="paramname"><em>ioOrigin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const stdair::AirportCode_T &amp;&#160;</td>
          <td class="paramname"><em>ioDestination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const stdair::Date_T &amp;&#160;</td>
          <td class="paramname"><em>ioDepartureDate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Recursively display (dump in the returned string) the fare-rules corresponding to the parameters given as input.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>stdair::AirportCode_T&amp; Origin airport of the fare-rules to display </td></tr>
    <tr><td class="paramname">const</td><td>stdair::AirportCode_T&amp; Destination airport of the fare- rules to display. </td></tr>
    <tr><td class="paramname">const</td><td>stdair::Date_T&amp; Departure date of the fare-rules to display. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::string Output string in which the BOM tree is logged/dumped. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00414">414</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae1534c3bc55ef6444843505a9442aa47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string SIMFQT::SIMFQT_Service::list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Display (dump in the returned string) the airport pairs and the corresponding departure dates of the fare rules stored in the BOM tree.</p>
<dl class="section return"><dt>Returns</dt><dd>std::string Output string in which the airport pairs and departure dates are logged/dumped. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00437">437</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a10617484d9b75992dff561c96690986f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SIMFQT::SIMFQT_Service::check </td>
          <td>(</td>
          <td class="paramtype">const stdair::AirportCode_T &amp;&#160;</td>
          <td class="paramname"><em>ioOrigin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const stdair::AirportCode_T &amp;&#160;</td>
          <td class="paramname"><em>ioDestination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const stdair::Date_T &amp;&#160;</td>
          <td class="paramname"><em>ioDepartureDate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check whether the given couple airportpair-date is a valid one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>stdair::AirportCode_T&amp; Origin airport of the fare rule to check. </td></tr>
    <tr><td class="paramname">const</td><td>stdair::AirportCode_T&amp; Destination airport of the fare rule to check. </td></tr>
    <tr><td class="paramname">const</td><td>stdair::Date_T&amp; Departure date of the fare rule to check. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool Whether or not the given airportpair-date couple is a valid one. </dd></dl>

<p>Definition at line <a class="el" href="SIMFQT__Service_8cpp_source.html#l00458">458</a> of file <a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>simfqt/<a class="el" href="SIMFQT__Service_8hpp_source.html">SIMFQT_Service.hpp</a></li>
<li>simfqt/service/<a class="el" href="SIMFQT__Service_8cpp_source.html">SIMFQT_Service.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
		
		<li class="footer">Generated on Wed May 22 2013 21:31:10 for SimFQT by
		  <a href="http://www.doxygen.org/index.html">
			<img class="footer" src="doxygen.png" alt="doxygen"/></a> 
		  1.8.3.1
		</li>
		<li class="footer">
		  <a href="http://sourceforge.net/projects/simfqt"><img class="footer" src="http://sflogo.sourceforge.net/sflogo.php?group_id=295242&type=12&format=.png" alt="SourceForge Logo"></a>
		</li>
	  </ul>
	</div>
  </body>
</html>