StdAir Logo  1.00.21
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::FareFeaturesKey Struct Reference

Key of date-period. More...

#include <stdair/bom/FareFeaturesKey.hpp>

Inheritance diagram for stdair::FareFeaturesKey:

Public Member Functions

 FareFeaturesKey (const TripType_T &, const DayDuration_T &, const SaturdayStay_T &, const ChangeFees_T &, const NonRefundable_T &, const DayDuration_T &)
 FareFeaturesKey (const FareFeaturesKey &)
 ~FareFeaturesKey ()
const TripType_TgetTripType () const
const DayDuration_TgetAdvancePurchase () const
const SaturdayStay_TgetSaturdayStay () const
const ChangeFees_TgetChangeFees () const
const NonRefundable_TgetRefundableOption () const
const DayDuration_TgetMinimumStay () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of date-period.

Definition at line 18 of file FareFeaturesKey.hpp.

Constructor & Destructor Documentation

◆ FareFeaturesKey() [1/2]

stdair::FareFeaturesKey::FareFeaturesKey ( const TripType_T & iTripType,
const DayDuration_T & iAdvancePurchase,
const SaturdayStay_T & iSaturdayStay,
const ChangeFees_T & iChangeFees,
const NonRefundable_T & iNonRefundable,
const DayDuration_T & iMinimumStay )

Main constructor.

Definition at line 26 of file FareFeaturesKey.cpp.

References FareFeaturesKey().

Referenced by FareFeaturesKey(), and FareFeaturesKey().

◆ FareFeaturesKey() [2/2]

stdair::FareFeaturesKey::FareFeaturesKey ( const FareFeaturesKey & iKey)

◆ ~FareFeaturesKey()

stdair::FareFeaturesKey::~FareFeaturesKey ( )

Destructor.

Definition at line 48 of file FareFeaturesKey.cpp.

Member Function Documentation

◆ getTripType()

const TripType_T & stdair::FareFeaturesKey::getTripType ( ) const
inline

Get the fare trip type.

Definition at line 39 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ getAdvancePurchase()

const DayDuration_T & stdair::FareFeaturesKey::getAdvancePurchase ( ) const
inline

Get the fare day duration.

Definition at line 46 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ getSaturdayStay()

const SaturdayStay_T & stdair::FareFeaturesKey::getSaturdayStay ( ) const
inline

Get the fare saturday stay option.

Definition at line 53 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ getChangeFees()

const ChangeFees_T & stdair::FareFeaturesKey::getChangeFees ( ) const
inline

Get the change fees criterion.

Definition at line 60 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ getRefundableOption()

const NonRefundable_T & stdair::FareFeaturesKey::getRefundableOption ( ) const
inline

Get the refundable option.

Definition at line 67 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ getMinimumStay()

const DayDuration_T & stdair::FareFeaturesKey::getMinimumStay ( ) const
inline

Get the minimum stay.

Definition at line 74 of file FareFeaturesKey.hpp.

Referenced by FareFeaturesKey().

◆ toStream()

void stdair::FareFeaturesKey::toStream ( std::ostream & ioOut) const
virtual

Dump a Business Object Key into an output stream.

Parameters
ostream&the output stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 52 of file FareFeaturesKey.cpp.

References toString().

◆ fromStream()

void stdair::FareFeaturesKey::fromStream ( std::istream & ioIn)
virtual

Read a Business Object Key from an input stream.

Parameters
istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 57 of file FareFeaturesKey.cpp.

◆ toString()

const std::string stdair::FareFeaturesKey::toString ( ) const
virtual

Get the serialised version of the Business Object Key. That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.

Reimplemented from stdair::KeyAbstract.

Definition at line 61 of file FareFeaturesKey.cpp.

Referenced by toStream().


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