OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
FacOpenTrepServiceContext.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_FAC_FACOPENTREPSERVICECONTEXT_HPP
2 #define __OPENTREP_FAC_FACOPENTREPSERVICECONTEXT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // OpenTrep
8 #include <opentrep/DBType.hpp>
10 
11 namespace OPENTREP {
12 
13  // Forward declarations
14  class OPENTREP_ServiceContext;
15 
16 
21  public:
22 
31 
39 
52  const DBType&,
54  const DeploymentNumber_T&);
55 
72  const TravelDBFilePath_T&,
73  const DBType&,
75  const DeploymentNumber_T&,
78  const shouldAddPORInSQLDB_T&);
79 
80 
81  protected:
89 
90  private:
94  static FacOpenTrepServiceContext* _instance;
95  };
96 
97 }
98 #endif // __OPENTREP_FAC_FACOPENTREPSERVICECONTEXT_HPP
OPENTREP::shouldIndexNonIATAPOR_T
bool shouldIndexNonIATAPOR_T
Definition: OPENTREP_Types.hpp:136
OPENTREP::PORFilePath_T
Definition: OPENTREP_Types.hpp:37
OPENTREP::SQLDBConnectionString_T
Definition: OPENTREP_Types.hpp:56
OPENTREP::FacOpenTrepServiceContext::instance
static FacOpenTrepServiceContext & instance()
Definition: FacOpenTrepServiceContext.cpp:22
OPENTREP::shouldAddPORInSQLDB_T
bool shouldAddPORInSQLDB_T
Definition: OPENTREP_Types.hpp:146
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::FacOpenTrepServiceContext
Factory for an OPENTREP_ServiceContext object.
Definition: FacOpenTrepServiceContext.hpp:20
OPENTREP::OPENTREP_ServiceContext
Class holding the context of the OpenTrep services.
Definition: OPENTREP_ServiceContext.hpp:28
OPENTREP::FacOpenTrepServiceContext::FacOpenTrepServiceContext
FacOpenTrepServiceContext()
Definition: FacOpenTrepServiceContext.hpp:88
OPENTREP::FacOpenTrepServiceContext::~FacOpenTrepServiceContext
~FacOpenTrepServiceContext()
Definition: FacOpenTrepServiceContext.cpp:17
DBType.hpp
OPENTREP::FacServiceAbstract
Definition: FacServiceAbstract.hpp:16
OPENTREP::DeploymentNumber_T
unsigned short DeploymentNumber_T
Definition: OPENTREP_Types.hpp:108
OPENTREP::TravelDBFilePath_T
Definition: OPENTREP_Types.hpp:46
FacServiceAbstract.hpp
OPENTREP::shouldIndexPORInXapian_T
bool shouldIndexPORInXapian_T
Definition: OPENTREP_Types.hpp:141
OPENTREP::DBType
Enumeration of database types.
Definition: DBType.hpp:17
OPENTREP::FacOpenTrepServiceContext::create
OPENTREP_ServiceContext & create(const TravelDBFilePath_T &, const DBType &, const SQLDBConnectionString_T &, const DeploymentNumber_T &)
Definition: FacOpenTrepServiceContext.cpp:35