OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
9 
10 namespace OPENTREP {
11 
12  // Forward declarations.
13  class OPENTREP_ServiceContext;
14 
15 
20  public:
21 
30 
38 
49 
61  const TravelDBFilePath_T&, const SQLiteDBFilePath_T&);
62 
63 
64  protected:
72 
73  private:
77  static FacOpenTrepServiceContext* _instance;
78  };
79 
80 }
81 #endif // __OPENTREP_FAC_FACOPENTREPSERVICECONTEXT_HPP
Class holding the context of the OpenTrep services.
static FacOpenTrepServiceContext & instance()
OPENTREP_ServiceContext & create(const TravelDBFilePath_T &, const SQLiteDBFilePath_T &)