<!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>stdair/command/CmdCloneBomManager.hpp Source File</title> <link rel="shortcut icon" href="favicon.ico"> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="stdair.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-24867310-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://stdair.sourceforge.net"><img height="45px" alt="StdAir Logo" src="stdair_logo.png"></a>  <span id="projectnumber">1.00.1</span> </div> <div id="projectbrief">C++ Standard Airline IT Object Library</div> </td> <!-- begin SOURCEFORGE_CUSTOM--> <td> <div id="sflogo"><a href="http://stdair.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 Page</span></a></li> <li><a href="pages.html"><span>Related 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> <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 List</span></a></li> <li><a href="globals.html"><span>File 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('a00476_source.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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </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="headertitle"> <div class="title">CmdCloneBomManager.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="a00476.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef __STDAIR_CMD_CMDCLONEBOMMANAGER_HPP</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor"></span><span class="preprocessor">#define __STDAIR_CMD_CMDCLONEBOMMANAGER_HPP</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// //////////////////////////////////////////////////////////////////////</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// Import section</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// //////////////////////////////////////////////////////////////////////</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// STL</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <iosfwd></span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// StdAir</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="a00470.html">stdair/command/CmdAbstract.hpp</a>></span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// StdAir Bom</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="a00311.html">stdair/bom/BomRoot.hpp</a>></span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <<a class="code" href="a00374.html">stdair/bom/Inventory.hpp</a>></span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <<a class="code" href="a00278.html">stdair/bom/AirlineFeature.hpp</a>></span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="a00398.html">stdair/bom/OnDDate.hpp</a>></span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="a00362.html">stdair/bom/FlightDate.hpp</a>></span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="a00386.html">stdair/bom/LegDate.hpp</a>></span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="a00381.html">stdair/bom/LegCabin.hpp</a>></span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="a00326.html">stdair/bom/Bucket.hpp</a>></span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="a00428.html">stdair/bom/SegmentDate.hpp</a>></span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="a00423.html">stdair/bom/SegmentCabin.hpp</a>></span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="a00347.html">stdair/bom/FareFamily.hpp</a>></span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="a00315.html">stdair/bom/BookingClass.hpp</a>></span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="a00285.html">stdair/bom/AirportPair.hpp</a>></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="a00415.html">stdair/bom/PosChannel.hpp</a>></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="a00337.html">stdair/bom/DatePeriod.hpp</a>></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="a00449.html">stdair/bom/TimePeriod.hpp</a>></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="code" href="a00352.html">stdair/bom/FareFeatures.hpp</a>></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="a00460.html">stdair/bom/YieldFeatures.hpp</a>></span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="a00273.html">stdair/bom/AirlineClassList.hpp</a>></span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="a00433.html">stdair/bom/SegmentPeriod.hpp</a>></span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="a00367.html">stdair/bom/FlightPeriod.hpp</a>></span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span>stdair {</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="a00064.html"> 40</a></span>  <span class="keyword">class </span><a class="code" href="a00064.html">CmdCloneBomManager</a> : <span class="keyword">public</span> <a class="code" href="a00061.html">CmdAbstract</a> {</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">//</span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="a00064.html#a1ed04ed1a9fc939ddb7831ca0dd401e4"> 42</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00179.html" title="Interface for the STDAIR Services.">STDAIR_Service</a>;</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">private</span>:</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> cloneBomRoot (<span class="keyword">const</span> <a class="code" href="a00049.html" title="Class representing the actual attributes for the Bom root.">BomRoot</a>&, <a class="code" href="a00049.html" title="Class representing the actual attributes for the Bom root.">BomRoot</a>&);</div> <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">static</span> <a class="code" href="a00112.html" title="Class representing the actual attributes for an airline inventory.">Inventory</a>& cloneInventory (<span class="keyword">const</span> <a class="code" href="a00112.html" title="Class representing the actual attributes for an airline inventory.">Inventory</a>&, <a class="code" href="a00049.html" title="Class representing the actual attributes for the Bom root.">BomRoot</a>&);</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">static</span> <a class="code" href="a00028.html" title="Class representing various configuration parameters (e.g., revenue management methods such EMSRb or M...">AirlineFeature</a>& cloneAirlineFeature (<span class="keyword">const</span> <a class="code" href="a00028.html" title="Class representing various configuration parameters (e.g., revenue management methods such EMSRb or M...">AirlineFeature</a>&);</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">static</span> <a class="code" href="a00137.html" title="Class representing the actual attributes for an airline flight-date.">OnDDate</a>& cloneOnDDate (<span class="keyword">const</span> <a class="code" href="a00137.html" title="Class representing the actual attributes for an airline flight-date.">OnDDate</a>&);</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">static</span> <a class="code" href="a00103.html" title="Class representing the actual attributes for an airline flight-date.">FlightDate</a>& cloneFlightDate (<span class="keyword">const</span> <a class="code" href="a00103.html" title="Class representing the actual attributes for an airline flight-date.">FlightDate</a>&); </div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">static</span> <a class="code" href="a00121.html">LegDate</a>& cloneLegDate (<span class="keyword">const</span> <a class="code" href="a00121.html">LegDate</a>&);</div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">static</span> <a class="code" href="a00119.html" title="Class representing the actual attributes for an airline leg-cabin.">LegCabin</a>& cloneLegCabin (<span class="keyword">const</span> <a class="code" href="a00119.html" title="Class representing the actual attributes for an airline leg-cabin.">LegCabin</a>&);</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">static</span> <a class="code" href="a00057.html" title="Class representing the actual attributes for an airline booking class.">Bucket</a>& cloneBucket (<span class="keyword">const</span> <a class="code" href="a00057.html" title="Class representing the actual attributes for an airline booking class.">Bucket</a>&);</div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">static</span> <a class="code" href="a00163.html" title="Class representing the actual attributes for an airline segment-date.">SegmentDate</a>& cloneSegmentDate (<span class="keyword">const</span> <a class="code" href="a00163.html" title="Class representing the actual attributes for an airline segment-date.">SegmentDate</a>&); </div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> linkBookingClassesWithSegment (<a class="code" href="a00163.html" title="Class representing the actual attributes for an airline segment-date.">SegmentDate</a>&,</div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="a00161.html" title="Class representing the actual attributes for an airline segment-cabin.">SegmentCabin</a>&);</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">static</span> <a class="code" href="a00161.html" title="Class representing the actual attributes for an airline segment-cabin.">SegmentCabin</a>& cloneSegmentCabin (<span class="keyword">const</span> <a class="code" href="a00161.html" title="Class representing the actual attributes for an airline segment-cabin.">SegmentCabin</a>&);</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">static</span> <a class="code" href="a00095.html" title="Class representing the actual attributes for a family fare.">FareFamily</a>& cloneFareFamily (<span class="keyword">const</span> <a class="code" href="a00095.html" title="Class representing the actual attributes for a family fare.">FareFamily</a>&);</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">static</span> <a class="code" href="a00052.html">BookingClass</a>& cloneBookingClass (<span class="keyword">const</span> <a class="code" href="a00052.html">BookingClass</a>&);</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">static</span> <a class="code" href="a00031.html" title="Class representing the actual attributes for an airport-pair.">AirportPair</a>& cloneAirportPair (<span class="keyword">const</span> <a class="code" href="a00031.html" title="Class representing the actual attributes for an airport-pair.">AirportPair</a>&);</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">static</span> <a class="code" href="a00150.html" title="Class representing the actual attributes for a fare point of sale.">PosChannel</a>& clonePosChannel (<span class="keyword">const</span> <a class="code" href="a00150.html" title="Class representing the actual attributes for a fare point of sale.">PosChannel</a>&);</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">static</span> <a class="code" href="a00072.html" title="Class representing the actual attributes for a fare date-period.">DatePeriod</a>& cloneDatePeriod (<span class="keyword">const</span> <a class="code" href="a00072.html" title="Class representing the actual attributes for a fare date-period.">DatePeriod</a>&);</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">static</span> <a class="code" href="a00182.html" title="Class representing the actual attributes for a fare time-period.">TimePeriod</a>& cloneTimePeriod (<span class="keyword">const</span> <a class="code" href="a00182.html" title="Class representing the actual attributes for a fare time-period.">TimePeriod</a>&);</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> FEATURE_TYPE></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keyword">static</span> FEATURE_TYPE& cloneFeatures (<span class="keyword">const</span> FEATURE_TYPE&);</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">static</span> <a class="code" href="a00026.html" title="Class representing the actual attributes for a segment-features.">AirlineClassList</a>& cloneAirlineClassList (<span class="keyword">const</span> <a class="code" href="a00026.html" title="Class representing the actual attributes for a segment-features.">AirlineClassList</a>&);</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keyword">static</span> <a class="code" href="a00105.html">FlightPeriod</a>& cloneFlightPeriod (<span class="keyword">const</span> <a class="code" href="a00105.html">FlightPeriod</a>&);</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keyword">static</span> <a class="code" href="a00165.html">SegmentPeriod</a>& cloneSegmentPeriod (<span class="keyword">const</span> <a class="code" href="a00165.html">SegmentPeriod</a>&);</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  };</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> }</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="preprocessor">#endif // ___STDAIR_CMD_CMDCLONEBOMMANAGER_HPP</span></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <li class="footer">Generated on Wed May 22 2013 10:51:57 for StdAir 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/stdair"><img class="footer" src="http://sflogo.sourceforge.net/sflogo.php?group_id=267760&type=12&format=.png" alt="SourceForge Logo"></a> </li> </ul> </div> </body> </html>