0.6.0
C++ Open Travel Request Parsing Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
8
#include <
opentrep/factory/FacServiceAbstract.hpp
>
9
10
namespace
OPENTREP {
11
12
// Forward declarations.
13
class
OPENTREP_ServiceContext;
14
15
19
class
FacOpenTrepServiceContext
:
public
FacServiceAbstract
{
20
public
:
21
29
static
FacOpenTrepServiceContext
&
instance
();
30
37
~FacOpenTrepServiceContext
();
38
48
OPENTREP_ServiceContext
&
create
(
const
TravelDBFilePath_T
&,
const
SQLiteDBFilePath_T
&);
49
60
OPENTREP_ServiceContext
&
create
(
const
PORFilePath_T
&,
61
const
TravelDBFilePath_T
&,
const
SQLiteDBFilePath_T
&);
62
63
64
protected
:
71
FacOpenTrepServiceContext
() {}
72
73
private
:
77
static
FacOpenTrepServiceContext
* _instance;
78
};
79
80
}
81
#endif // __OPENTREP_FAC_FACOPENTREPSERVICECONTEXT_HPP
FacServiceAbstract.hpp
OPENTREP::FacOpenTrepServiceContext::~FacOpenTrepServiceContext
~FacOpenTrepServiceContext()
Definition:
FacOpenTrepServiceContext.cpp:17
OPENTREP::SQLiteDBFilePath_T
Definition:
OPENTREP_Types.hpp:56
OPENTREP::OPENTREP_ServiceContext
Class holding the context of the OpenTrep services.
Definition:
OPENTREP_ServiceContext.hpp:27
OPENTREP::TravelDBFilePath_T
Definition:
OPENTREP_Types.hpp:46
OPENTREP::FacOpenTrepServiceContext::instance
static FacOpenTrepServiceContext & instance()
Definition:
FacOpenTrepServiceContext.cpp:22
OPENTREP::FacOpenTrepServiceContext::create
OPENTREP_ServiceContext & create(const TravelDBFilePath_T &, const SQLiteDBFilePath_T &)
Definition:
FacOpenTrepServiceContext.cpp:35
OPENTREP::FacServiceAbstract
Definition:
FacServiceAbstract.hpp:16
OPENTREP::FacOpenTrepServiceContext::FacOpenTrepServiceContext
FacOpenTrepServiceContext()
Definition:
FacOpenTrepServiceContext.hpp:71
OPENTREP::FacOpenTrepServiceContext
Factory for Bucket.
Definition:
FacOpenTrepServiceContext.hpp:19
OPENTREP::PORFilePath_T
Definition:
OPENTREP_Types.hpp:37
Generated on Mon Feb 3 2014 14:17:07 for OpenTREP by
1.8.6