Key of date-period. More...
#include <stdair/bom/FareFeaturesKey.hpp>
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_T & | getTripType () const |
const DayDuration_T & | getAdvancePurchase () const |
const SaturdayStay_T & | getSaturdayStay () const |
const ChangeFees_T & | getChangeFees () const |
const NonRefundable_T & | getRefundableOption () const |
const DayDuration_T & | getMinimumStay () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | toString () const |
Key of date-period.
Definition at line 18 of file FareFeaturesKey.hpp.
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.
stdair::FareFeaturesKey::FareFeaturesKey | ( | const FareFeaturesKey & | iKey | ) |
Copy constructor.
Definition at line 38 of file FareFeaturesKey.cpp.
stdair::FareFeaturesKey::~FareFeaturesKey | ( | ) |
Destructor.
Definition at line 48 of file FareFeaturesKey.cpp.
|
inline |
Get the fare trip type.
Definition at line 39 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getTripType().
|
inline |
Get the fare day duration.
Definition at line 46 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getAdvancePurchase().
|
inline |
Get the fare saturday stay option.
Definition at line 53 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getSaturdayStay().
|
inline |
Get the change fees criterion.
Definition at line 60 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getChangeFees().
|
inline |
Get the refundable option.
Definition at line 67 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getRefundableOption().
|
inline |
Get the minimum stay.
Definition at line 74 of file FareFeaturesKey.hpp.
Referenced by stdair::FareFeatures::getMinimumStay().
|
virtual |
Dump a Business Object Key into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 52 of file FareFeaturesKey.cpp.
References toString().
|
virtual |
Read a Business Object Key from an input stream.
istream& | the input stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 57 of file FareFeaturesKey.cpp.
|
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().