AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
airtsp::Date_T Struct Reference

#include <airtsp/batches/BookingRequestParser.hpp>

Public Member Functions

 Date_T ()
 
void display () const
 
boost::gregorian::date getDate () const
 

Public Attributes

boost::gregorian::date _date
 
unsigned int _reldays
 
unsigned int _day
 
unsigned int _month
 
unsigned int _year
 

Detailed Description

Date.

Definition at line 27 of file BookingRequestParser.hpp.

Constructor & Destructor Documentation

airtsp::Date_T::Date_T ( )
inline

Constructor.

Definition at line 35 of file BookingRequestParser.hpp.

Member Function Documentation

void airtsp::Date_T::display ( ) const
inline

Definition at line 37 of file BookingRequestParser.hpp.

References _date, _day, _month, _reldays, and _year.

Referenced by airtsp::SearchString_T::display().

boost::gregorian::date airtsp::Date_T::getDate ( ) const
inline

Set the date from the staging details.

Definition at line 43 of file BookingRequestParser.hpp.

References _day, _month, and _year.

Referenced by airtsp::store_date::operator()().

Member Data Documentation

boost::gregorian::date airtsp::Date_T::_date

Definition at line 29 of file BookingRequestParser.hpp.

Referenced by display(), and airtsp::store_date::operator()().

unsigned int airtsp::Date_T::_reldays

Definition at line 30 of file BookingRequestParser.hpp.

Referenced by display().

unsigned int airtsp::Date_T::_day

Definition at line 31 of file BookingRequestParser.hpp.

Referenced by display(), and getDate().

unsigned int airtsp::Date_T::_month

Definition at line 32 of file BookingRequestParser.hpp.

Referenced by display(), and getDate().

unsigned int airtsp::Date_T::_year

Definition at line 33 of file BookingRequestParser.hpp.

Referenced by display(), and getDate().


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