AirTSP Logo  1.01.3
C++ Simulated Airline Travel Solution Provider (TSP) Library
AIRTSP::OnDPeriodStruct Struct Reference

#include <airtsp/bom/OnDPeriodStruct.hpp>

+ Inheritance diagram for AIRTSP::OnDPeriodStruct:

Public Member Functions

const stdair::AirlineCode_T & getFirstAirlineCode () const
 
stdair::Date_T getDate () const
 
stdair::Duration_T getTime () const
 
const std::string describe () const
 
const std::string describeTSKey () const
 
 OnDPeriodStruct ()
 

Public Attributes

stdair::AirportCode_T _origin
 
stdair::AirportCode_T _destination
 
stdair::DatePeriod_T _datePeriod
 
stdair::Duration_T _timeRangeStart
 
stdair::Duration_T _timeRangeEnd
 
stdair::NbOfAirlines_T _nbOfAirlines
 
stdair::AirlineCode_T _airlineCode
 
stdair::ClassCode_T _classCode
 
stdair::AirlineCodeList_T _airlineCodeList
 
stdair::ClassCodeList_T _classCodeList
 
stdair::Date_T _dateRangeStart
 
stdair::Date_T _dateRangeEnd
 
unsigned int _itYear
 
unsigned int _itMonth
 
unsigned int _itDay
 
long _itHours
 
long _itMinutes
 
long _itSeconds
 

Detailed Description

Utility Structure for the parsing of FareRule structures.

Definition at line 16 of file OnDPeriodStruct.hpp.

Constructor & Destructor Documentation

◆ OnDPeriodStruct()

AIRTSP::OnDPeriodStruct::OnDPeriodStruct ( )

Default constructor.

Definition at line 17 of file OnDPeriodStruct.cpp.

Member Function Documentation

◆ getFirstAirlineCode()

const stdair::AirlineCode_T & AIRTSP::OnDPeriodStruct::getFirstAirlineCode ( ) const

Get the first airline code.

Definition at line 64 of file OnDPeriodStruct.cpp.

References _airlineCodeList.

◆ getDate()

stdair::Date_T AIRTSP::OnDPeriodStruct::getDate ( ) const

Get the date from the staging details.

Definition at line 28 of file OnDPeriodStruct.cpp.

References _itDay, _itMonth, and _itYear.

Referenced by AIRTSP::OnDParserHelper::storeDateRangeStart::operator()(), and AIRTSP::OnDParserHelper::storeDateRangeEnd::operator()().

◆ getTime()

stdair::Duration_T AIRTSP::OnDPeriodStruct::getTime ( ) const

Get the time from the staging details.

Definition at line 33 of file OnDPeriodStruct.cpp.

References _itHours, _itMinutes, and _itSeconds.

Referenced by AIRTSP::OnDParserHelper::storeStartRangeTime::operator()(), and AIRTSP::OnDParserHelper::storeEndRangeTime::operator()().

◆ describe()

const std::string AIRTSP::OnDPeriodStruct::describe ( ) const

Give a description of the structure (for display purposes).

Definition at line 40 of file OnDPeriodStruct.cpp.

References _airlineCode, _classCode, _datePeriod, _destination, _origin, _timeRangeEnd, and _timeRangeStart.

◆ describeTSKey()

const std::string AIRTSP::OnDPeriodStruct::describeTSKey ( ) const

Give a short description of the key required in the travel solution object to differentiate fare rule structures.

Definition at line 55 of file OnDPeriodStruct.cpp.

References _airlineCode, _classCode, _destination, and _origin.

Member Data Documentation

◆ _origin

stdair::AirportCode_T AIRTSP::OnDPeriodStruct::_origin

◆ _destination

stdair::AirportCode_T AIRTSP::OnDPeriodStruct::_destination

◆ _datePeriod

stdair::DatePeriod_T AIRTSP::OnDPeriodStruct::_datePeriod

◆ _timeRangeStart

stdair::Duration_T AIRTSP::OnDPeriodStruct::_timeRangeStart

◆ _timeRangeEnd

stdair::Duration_T AIRTSP::OnDPeriodStruct::_timeRangeEnd

◆ _nbOfAirlines

stdair::NbOfAirlines_T AIRTSP::OnDPeriodStruct::_nbOfAirlines

◆ _airlineCode

stdair::AirlineCode_T AIRTSP::OnDPeriodStruct::_airlineCode

◆ _classCode

stdair::ClassCode_T AIRTSP::OnDPeriodStruct::_classCode

◆ _airlineCodeList

stdair::AirlineCodeList_T AIRTSP::OnDPeriodStruct::_airlineCodeList

◆ _classCodeList

stdair::ClassCodeList_T AIRTSP::OnDPeriodStruct::_classCodeList

◆ _dateRangeStart

stdair::Date_T AIRTSP::OnDPeriodStruct::_dateRangeStart

◆ _dateRangeEnd

stdair::Date_T AIRTSP::OnDPeriodStruct::_dateRangeEnd

◆ _itYear

unsigned int AIRTSP::OnDPeriodStruct::_itYear

◆ _itMonth

unsigned int AIRTSP::OnDPeriodStruct::_itMonth

◆ _itDay

unsigned int AIRTSP::OnDPeriodStruct::_itDay

◆ _itHours

long AIRTSP::OnDPeriodStruct::_itHours

◆ _itMinutes

long AIRTSP::OnDPeriodStruct::_itMinutes

◆ _itSeconds


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