15 FareFeaturesKey::FareFeaturesKey()
26 FareFeaturesKey::FareFeaturesKey (
const TripType_T& iTripType,
32 : _tripType (iTripType), _advancePurchase (iAdvancePurchase),
33 _saturdayStay (iSaturdayStay), _changeFees (iChangeFees),
34 _nonRefundable (iNonRefundable), _minimumStay (iMinimumStay) {
39 : _tripType (iKey.getTripType()),
40 _advancePurchase (iKey.getAdvancePurchase()),
41 _saturdayStay (iKey.getSaturdayStay()),
42 _changeFees (iKey.getChangeFees()),
43 _nonRefundable (iKey.getRefundableOption()),
44 _minimumStay (iKey.getMinimumStay()) {
53 ioOut <<
"FareFeaturesKey: " <<
toString() << std::endl;
62 std::ostringstream oStr;
63 oStr << _tripType <<
" -- " << _advancePurchase <<
"-"
64 << _saturdayStay <<
"-" << _changeFees <<
"-"
65 << _nonRefundable <<
"-" << _minimumStay;
const std::string toString() const
void fromStream(std::istream &ioIn)
Handle on the StdAir library context.
void toStream(std::ostream &ioOut) const
const DayDuration_T NO_STAY_DURATION
const SaturdayStay_T SATURDAY_STAY
const TripType_T TRIP_TYPE_ONE_WAY
const NonRefundable_T NON_REFUNDABLE
const DayDuration_T NO_ADVANCE_PURCHASE
const ChangeFees_T CHANGE_FEES