OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
soci::type_conversion< OPENTREP::Place > Struct Reference

Specify how the Place class can be converted to (resp. from) values stored into (resp. retrieved from) database, using the SOCI framework. More...

#include <opentrep/dbadaptor/DbaPlace.hpp>

Public Types

typedef values base_type
 

Static Public Member Functions

static void from_base (values const &iPlaceValues, indicator, OPENTREP::Place &)
 
static void to_base (const OPENTREP::Place &, values &ioPlaceValues, indicator &)
 

Detailed Description

Specify how the Place class can be converted to (resp. from) values stored into (resp. retrieved from) database, using the SOCI framework.

Definition at line 27 of file DbaPlace.hpp.

Member Typedef Documentation

◆ base_type

typedef values soci::type_conversion< OPENTREP::Place >::base_type

Definition at line 29 of file DbaPlace.hpp.

Member Function Documentation

◆ from_base()

void soci::type_conversion< OPENTREP::Place >::from_base ( values const & iPlaceValues,
indicator ,
OPENTREP::Place & ioPlace )
static

Fill an Place object from the database values.

Definition at line 19 of file DbaPlace.cpp.

References OPENTREP::Place::addName(), OPENTREP::DEFAULT_DATE_STR, OPENTREP::Place::getKey(), OPENTREP::K_DEFAULT_PAGE_RANK, OPENTREP::Place::resetIndexSets(), OPENTREP::Place::resetMatrix(), OPENTREP::Place::setAdmin1AsciiName(), OPENTREP::Place::setAdmin1Code(), OPENTREP::Place::setAdmin1UtfName(), OPENTREP::Place::setAdmin2AsciiName(), OPENTREP::Place::setAdmin2Code(), OPENTREP::Place::setAdmin2UtfName(), OPENTREP::Place::setAdmin3Code(), OPENTREP::Place::setAdmin4Code(), OPENTREP::Place::setAltCountryCode(), OPENTREP::Place::setAsciiName(), OPENTREP::Place::setComment(), OPENTREP::Place::setCommonName(), OPENTREP::Place::setContinentName(), OPENTREP::Place::setCountryCode(), OPENTREP::Place::setCountryName(), OPENTREP::Place::setDateEnd(), OPENTREP::Place::setDateFrom(), OPENTREP::Place::setDSTOffset(), OPENTREP::Place::setElevation(), OPENTREP::Place::setEnvelopeID(), OPENTREP::Place::setFaaCode(), OPENTREP::Place::setFeatureClass(), OPENTREP::Place::setFeatureCode(), OPENTREP::Place::setGeonamesID(), OPENTREP::Place::setGMTOffset(), OPENTREP::Place::setGTopo30(), OPENTREP::Place::setIataCode(), OPENTREP::Place::setIataType(), OPENTREP::Place::setLatitude(), OPENTREP::Place::setLongitude(), OPENTREP::Place::setModificationDate(), OPENTREP::Place::setPageRank(), OPENTREP::Place::setPopulation(), OPENTREP::Place::setRawOffset(), OPENTREP::Place::setStateCode(), OPENTREP::Place::setTimeZone(), OPENTREP::Place::setWAC(), OPENTREP::Place::setWACName(), and OPENTREP::Place::setWikiLink().

◆ to_base()


The documentation for this struct was generated from the following files: