OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
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
15namespace OPENTREP {
16 class Place;
17}
18
19namespace 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:29
static void from_base(values const &iPlaceValues, indicator, OPENTREP::Place &)
Definition DbaPlace.cpp:20
static void to_base(const OPENTREP::Place &, values &ioPlaceValues, indicator &)
Definition DbaPlace.cpp:274