<!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>TRAVELCCM::FacTRAVELCCMServiceContext Class Reference</title> <link rel="shortcut icon" href="favicon.ico"> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="travelccm.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-25250378-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://travel-ccm.sourceforge.net"><img height="45px" alt="TravelCCM Logo" src="travelccm_logo.png"></a>  <span id="projectnumber">1.00.1</span> </div> <div id="projectbrief">C++ Travel Customer Choice Model Library</div> </td> <!-- begin SOURCEFORGE_CUSTOM--> <td> <div id="sflogo"><a href="http://travel-ccm.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 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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('classTRAVELCCM_1_1FacTRAVELCCMServiceContext.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>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><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="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">TRAVELCCM::FacTRAVELCCMServiceContext Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html">travelccm/factory/FacTRAVELCCMServiceContext.hpp</a>></code></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for TRAVELCCM::FacTRAVELCCMServiceContext:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"> <img src="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.png" usemap="#TRAVELCCM::FacTRAVELCCMServiceContext_map" alt=""/> <map id="TRAVELCCM::FacTRAVELCCMServiceContext_map" name="TRAVELCCM::FacTRAVELCCMServiceContext_map"> </map> </div></div> <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:a743d3292ca063257e37b14603c58257c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html#a743d3292ca063257e37b14603c58257c">~FacTRAVELCCMServiceContext</a> ()</td></tr> <tr class="separator:a743d3292ca063257e37b14603c58257c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29096020b74b611f3916fedd565d2422"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTRAVELCCM_1_1TRAVELCCM__ServiceContext.html">TRAVELCCM_ServiceContext</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html#a29096020b74b611f3916fedd565d2422">create</a> ()</td></tr> <tr class="separator:a29096020b74b611f3916fedd565d2422"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a9bf1faea803f0d592f7300f89b4e714a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html">FacTRAVELCCMServiceContext</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html#a9bf1faea803f0d592f7300f89b4e714a">instance</a> ()</td></tr> <tr class="separator:a9bf1faea803f0d592f7300f89b4e714a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a0eb97937e8a0fe1100c1ee342a71a559"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html#a0eb97937e8a0fe1100c1ee342a71a559">FacTRAVELCCMServiceContext</a> ()</td></tr> <tr class="separator:a0eb97937e8a0fe1100c1ee342a71a559"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Factory for Bucket. </p> <p>Definition at line <a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html#l00018">18</a> of file <a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html">FacTRAVELCCMServiceContext.hpp</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a743d3292ca063257e37b14603c58257c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TRAVELCCM::FacTRAVELCCMServiceContext::~FacTRAVELCCMServiceContext </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Destructor. <br/> The Destruction put the _instance to NULL in order to be clean for the next <a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html#a9bf1faea803f0d592f7300f89b4e714a">FacTRAVELCCMServiceContext::instance()</a>. </p> <p>Definition at line <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html#l00017">17</a> of file <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html">FacTRAVELCCMServiceContext.cpp</a>.</p> </div> </div> <a class="anchor" id="a0eb97937e8a0fe1100c1ee342a71a559"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">TRAVELCCM::FacTRAVELCCMServiceContext::FacTRAVELCCMServiceContext </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Default Constructor. <br/> This constructor is protected in order to ensure the singleton pattern. </p> <p>Definition at line <a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html#l00042">42</a> of file <a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html">FacTRAVELCCMServiceContext.hpp</a>.</p> <p>Referenced by <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html#l00022">instance()</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a9bf1faea803f0d592f7300f89b4e714a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html">FacTRAVELCCMServiceContext</a> & TRAVELCCM::FacTRAVELCCMServiceContext::instance </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provide the unique instance. <br/> The singleton is instantiated when first used </p> <dl class="section return"><dt>Returns</dt><dd><a class="el" href="classTRAVELCCM_1_1FacTRAVELCCMServiceContext.html">FacTRAVELCCMServiceContext</a>& </dd></dl> <p>Definition at line <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html#l00022">22</a> of file <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html">FacTRAVELCCMServiceContext.cpp</a>.</p> <p>References <a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html#l00042">FacTRAVELCCMServiceContext()</a>.</p> </div> </div> <a class="anchor" id="a29096020b74b611f3916fedd565d2422"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classTRAVELCCM_1_1TRAVELCCM__ServiceContext.html">TRAVELCCM_ServiceContext</a> & TRAVELCCM::FacTRAVELCCMServiceContext::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Create a new <a class="el" href="classTRAVELCCM_1_1TRAVELCCM__ServiceContext.html" title="Inner class holding the context for the TravelCCM Service object.">TRAVELCCM_ServiceContext</a> object. <br/> This new object is added to the list of instantiated objects. </p> <dl class="section return"><dt>Returns</dt><dd><a class="el" href="classTRAVELCCM_1_1TRAVELCCM__ServiceContext.html" title="Inner class holding the context for the TravelCCM Service object.">TRAVELCCM_ServiceContext</a>& The newly created object. </dd></dl> <p>Definition at line <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html#l00034">34</a> of file <a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html">FacTRAVELCCMServiceContext.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>travelccm/factory/<a class="el" href="FacTRAVELCCMServiceContext_8hpp_source.html">FacTRAVELCCMServiceContext.hpp</a></li> <li>travelccm/factory/<a class="el" href="FacTRAVELCCMServiceContext_8cpp_source.html">FacTRAVELCCMServiceContext.cpp</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <li class="footer">Generated on Wed May 22 2013 21:19:40 for TravelCCM 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/travel-ccm"><img class="footer" src="http://sflogo.sourceforge.net/sflogo.php?group_id=261639&type=12&format=.png" alt="SourceForge Logo"></a> </li> </ul> </div> </body> </html>