OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FacPlaceHolder.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_FAC_FACPLACEHOLDER_HPP
2 #define __OPENTREP_FAC_FACPLACEHOLDER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // OPENTREP
9 
10 namespace OPENTREP {
11 
13  class PlaceHolder;
14  class Place;
15 
17  class FacPlaceHolder : public FacBomAbstract {
18  public:
19 
23  static FacPlaceHolder& instance();
24 
28  virtual ~FacPlaceHolder();
29 
33  PlaceHolder& create ();
34 
40  static void initLinkWithPlace (PlaceHolder&, Place&);
41 
42 
43  private:
47  FacPlaceHolder ();
49 
50  private:
52  static FacPlaceHolder* _instance;
53 
54  };
55 }
56 #endif // __OPENTREP_FAC_FACPLACEHOLDER_HPP
Class modelling a place/POR (point of reference).
Definition: Place.hpp:28
static FacPlaceHolder & instance()
static void initLinkWithPlace(PlaceHolder &, Place &)