OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DbaPlace.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_DBA_DBAPLACE_HPP
2 #define __OPENTREP_DBA_DBAPLACE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // SOCI
8 #if defined(SOCI_HEADERS_BURIED)
9 #include <soci/core/soci.h>
10 #else // SOCI_HEADERS_BURIED
11 #include <soci/soci.h>
12 #endif // SOCI_HEADERS_BURIED
13 
14 // Forward declarations
15 namespace OPENTREP {
16  class Place;
17 }
18 
19 namespace soci {
20 
26  template <>
27  struct type_conversion<OPENTREP::Place> {
28 
29  typedef values base_type;
30 
34  static void from_base (values const& iPlaceValues, indicator,
36 
37 
41  static void to_base (const OPENTREP::Place&, values& ioPlaceValues,
42  indicator&);
43  };
44 }
45 #endif // __OPENTREP_DBA_DBAPLACE_HPP
Class modelling a place/POR (point of reference).
Definition: Place.hpp:28