StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
stdair::FareFeaturesKey Struct Reference

Key of date-period. More...

#include <stdair/bom/FareFeaturesKey.hpp>

+ Inheritance diagram for stdair::FareFeaturesKey:

List of all members.

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

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.

Copy constructor.

Definition at line 38 of file FareFeaturesKey.cpp.

Destructor.

Definition at line 48 of file FareFeaturesKey.cpp.


Member Function Documentation

Get the fare trip type.

Definition at line 39 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getTripType().

Get the fare day duration.

Definition at line 46 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getAdvancePurchase().

Get the fare saturday stay option.

Definition at line 53 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getSaturdayStay().

Get the change fees criterion.

Definition at line 60 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getChangeFees().

Get the refundable option.

Definition at line 67 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getRefundableOption().

Get the minimum stay.

Definition at line 74 of file FareFeaturesKey.hpp.

Referenced by stdair::FareFeatures::getMinimumStay().

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().

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.

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 stdair::FareFeatures::describeKey(), and toStream().


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