Sophie

Sophie

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

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/AIRRAC_Types.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('AIRRAC__Types_8hpp.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">AIRRAC_Types.hpp</div>  </div>
</div>
<div class="contents">
<a href="AIRRAC__Types_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_AIRRAC_TYPES_HPP</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __AIRRAC_AIRRAC_TYPES_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;vector&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00010"></a>00010 <span class="comment">// StdAir</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;stdair/stdair_exceptions.hpp&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;stdair/stdair_file.hpp&gt;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="keyword">namespace </span>AIRRAC {
<a name="l00015"></a>00015 
<a name="l00016"></a>00016   <span class="comment">// ///////// Exceptions ///////////</span>
<a name="l00017"></a><a class="code" href="classAIRRAC_1_1AirportPairNotFoundException.html">00017</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1AirportPairNotFoundException.html">AirportPairNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00018"></a>00018   <span class="keyword">public</span>:
<a name="l00020"></a><a class="code" href="classAIRRAC_1_1AirportPairNotFoundException.html#a77286f69032d98b6ee575fc3f1a443ca">00020</a>     <a class="code" href="classAIRRAC_1_1AirportPairNotFoundException.html#a77286f69032d98b6ee575fc3f1a443ca">AirportPairNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00021"></a>00021       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00022"></a>00022   };
<a name="l00023"></a>00023 
<a name="l00024"></a><a class="code" href="classAIRRAC_1_1PosOrChannelNotFoundException.html">00024</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1PosOrChannelNotFoundException.html">PosOrChannelNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00025"></a>00025   <span class="keyword">public</span>:
<a name="l00027"></a><a class="code" href="classAIRRAC_1_1PosOrChannelNotFoundException.html#a5b54dc6aa315b5f9a09edf2b2774b719">00027</a>     <a class="code" href="classAIRRAC_1_1PosOrChannelNotFoundException.html#a5b54dc6aa315b5f9a09edf2b2774b719">PosOrChannelNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00028"></a>00028       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00029"></a>00029   };
<a name="l00030"></a>00030 
<a name="l00031"></a><a class="code" href="classAIRRAC_1_1FlightDateNotFoundException.html">00031</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1FlightDateNotFoundException.html">FlightDateNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00032"></a>00032   <span class="keyword">public</span>:
<a name="l00034"></a><a class="code" href="classAIRRAC_1_1FlightDateNotFoundException.html#a90f55b144d1a6e199f1cd38e405ad519">00034</a>     <a class="code" href="classAIRRAC_1_1FlightDateNotFoundException.html#a90f55b144d1a6e199f1cd38e405ad519">FlightDateNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00035"></a>00035       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00036"></a>00036   };
<a name="l00037"></a>00037 
<a name="l00038"></a><a class="code" href="classAIRRAC_1_1FlightTimeNotFoundException.html">00038</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1FlightTimeNotFoundException.html">FlightTimeNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00039"></a>00039   <span class="keyword">public</span>:
<a name="l00041"></a><a class="code" href="classAIRRAC_1_1FlightTimeNotFoundException.html#aab678cc511031641f09d36bea801d2b9">00041</a>     <a class="code" href="classAIRRAC_1_1FlightTimeNotFoundException.html#aab678cc511031641f09d36bea801d2b9">FlightTimeNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00042"></a>00042       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00043"></a>00043   };
<a name="l00044"></a>00044 
<a name="l00045"></a><a class="code" href="classAIRRAC_1_1FeaturesNotFoundException.html">00045</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1FeaturesNotFoundException.html">FeaturesNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00046"></a>00046   <span class="keyword">public</span>:
<a name="l00048"></a><a class="code" href="classAIRRAC_1_1FeaturesNotFoundException.html#af8d2738a87b1f59f9817c985af6ddd9f">00048</a>     <a class="code" href="classAIRRAC_1_1FeaturesNotFoundException.html#af8d2738a87b1f59f9817c985af6ddd9f">FeaturesNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00049"></a>00049       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00050"></a>00050   };
<a name="l00051"></a>00051   
<a name="l00052"></a><a class="code" href="classAIRRAC_1_1AirlineNotFoundException.html">00052</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1AirlineNotFoundException.html">AirlineNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> {
<a name="l00053"></a>00053   <span class="keyword">public</span>:
<a name="l00055"></a><a class="code" href="classAIRRAC_1_1AirlineNotFoundException.html#ac4a3a8e210e5cf307d0a31c29157bf65">00055</a>     <a class="code" href="classAIRRAC_1_1AirlineNotFoundException.html#ac4a3a8e210e5cf307d0a31c29157bf65">AirlineNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00056"></a>00056       : stdair::<a class="code" href="classstdair_1_1ObjectNotFoundException.html">ObjectNotFoundException</a> (iWhat) {}
<a name="l00057"></a>00057   };
<a name="l00058"></a>00058 
<a name="l00059"></a><a class="code" href="classAIRRAC_1_1YieldInputFileNotFoundException.html">00059</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1YieldInputFileNotFoundException.html">YieldInputFileNotFoundException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1FileNotFoundException.html">FileNotFoundException</a> {
<a name="l00060"></a>00060   <span class="keyword">public</span>:
<a name="l00062"></a><a class="code" href="classAIRRAC_1_1YieldInputFileNotFoundException.html#acfb896d57cf0b5c8b9a44fc3d30c7233">00062</a>     <a class="code" href="classAIRRAC_1_1YieldInputFileNotFoundException.html#acfb896d57cf0b5c8b9a44fc3d30c7233">YieldInputFileNotFoundException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00063"></a>00063       : stdair::<a class="code" href="classstdair_1_1FileNotFoundException.html">FileNotFoundException</a> (iWhat) {}
<a name="l00064"></a>00064   };
<a name="l00065"></a>00065 
<a name="l00066"></a><a class="code" href="classAIRRAC_1_1YieldFileParsingFailedException.html">00066</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1YieldFileParsingFailedException.html">YieldFileParsingFailedException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1ParsingFileFailedException.html">ParsingFileFailedException</a> {
<a name="l00067"></a>00067   <span class="keyword">public</span>:
<a name="l00069"></a><a class="code" href="classAIRRAC_1_1YieldFileParsingFailedException.html#a869e28fb6ec61b77d94fdd6e039f29de">00069</a>     <a class="code" href="classAIRRAC_1_1YieldFileParsingFailedException.html#a869e28fb6ec61b77d94fdd6e039f29de">YieldFileParsingFailedException</a> (<span class="keyword">const</span> std::string&amp; iWhat)
<a name="l00070"></a>00070       : stdair::<a class="code" href="classstdair_1_1ParsingFileFailedException.html">ParsingFileFailedException</a> (iWhat) {}
<a name="l00071"></a>00071   };
<a name="l00072"></a>00072 
<a name="l00073"></a><a class="code" href="classAIRRAC_1_1QuotingException.html">00073</a>   <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1QuotingException.html">QuotingException</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1RootException.html">RootException</a> {
<a name="l00074"></a>00074   };    
<a name="l00075"></a>00075 
<a name="l00076"></a>00076   <span class="comment">// ///////// Files ///////////</span>
<a name="l00080"></a><a class="code" href="classAIRRAC_1_1YieldFilePath.html">00080</a> <span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1YieldFilePath.html">YieldFilePath</a> : <span class="keyword">public</span> stdair::<a class="code" href="classstdair_1_1InputFilePath.html">InputFilePath</a> {
<a name="l00081"></a>00081   <span class="keyword">public</span>:
<a name="l00085"></a><a class="code" href="classAIRRAC_1_1YieldFilePath.html#a2f37fd0a94d6428e4d1fdecb1a2d02ad">00085</a>     <span class="keyword">explicit</span> <a class="code" href="classAIRRAC_1_1YieldFilePath.html#a2f37fd0a94d6428e4d1fdecb1a2d02ad">YieldFilePath</a> (<span class="keyword">const</span> stdair::Filename_T&amp; iFilename)
<a name="l00086"></a>00086       : stdair::<a class="code" href="classstdair_1_1InputFilePath.html">InputFilePath</a> (iFilename) {}
<a name="l00087"></a>00087   };
<a name="l00088"></a>00088 
<a name="l00089"></a>00089   <span class="comment">// //////// Type definitions specific to AirRAC /////////</span>
<a name="l00093"></a><a class="code" href="namespaceAIRRAC.html#ab43f0ba1136eb001bdf5f955f2450d62">00093</a> <span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classAIRRAC_1_1AIRRAC__Service.html" title="Interface for the AIRRAC Services.">AIRRAC_Service</a>;
<a name="l00094"></a>00094   <span class="keyword">typedef</span> boost::shared_ptr&lt;AIRRAC_Service&gt; <a class="code" href="namespaceAIRRAC.html#ab43f0ba1136eb001bdf5f955f2450d62">AIRRAC_ServicePtr_T</a>;
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 
<a name="l00100"></a><a class="code" href="namespaceAIRRAC.html#af5f5a60862b40e22f15f3be0045d2a4d">00100</a>   <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceAIRRAC.html#af5f5a60862b40e22f15f3be0045d2a4d">YieldID_T</a>;
<a name="l00101"></a>00101 }
<a name="l00102"></a>00102 <span class="preprocessor">#endif // __AIRRAC_AIRRAC_TYPES_HPP</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="AIRRAC__Types_8hpp.html">AIRRAC_Types.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>