27 SegmentCabin::SegmentCabin (
const SegmentCabin& iSegmentCabin)
28 : _key (iSegmentCabin._key), _parent (NULL),
29 _capacity (iSegmentCabin._capacity),
30 _blockSpace (iSegmentCabin._blockSpace),
31 _bookingCounter (iSegmentCabin._bookingCounter),
32 _committedSpace (iSegmentCabin._committedSpace),
33 _availabilityPool (iSegmentCabin._availabilityPool),
34 _currentBidPrice (iSegmentCabin._currentBidPrice),
35 _fareFamilyActivation (iSegmentCabin._fareFamilyActivation) {
66 std::ostringstream oStr;
73 std::ostringstream oStr;
74 for (PolicyList_T::const_iterator itP =
_convexHull.begin();
76 const Policy* lPolicy = *itP;
77 assert (lPolicy != NULL);
Handle on the StdAir library context.
const NbOfBookings_T DEFAULT_CLASS_NB_OF_BOOKINGS
const CommittedSpace_T DEFAULT_COMMITTED_SPACE
NbOfRequests_T NbOfBookings_T
const Availability_T DEFAULT_AVAILABILITY
const CabinCode_T DEFAULT_CABIN_CODE
const BidPriceVector_T DEFAULT_BID_PRICE_VECTOR
const CabinCapacity_T DEFAULT_CABIN_CAPACITY
const BidPrice_T DEFAULT_BID_PRICE
const BlockSpace_T DEFAULT_BLOCK_SPACE
const std::string DEFAULT_KEY_FLD_DELIMITER
static PARENT & getParent(const CHILD &)
std::string toString() const
const std::string describeKey() const
NbOfBookings_T _bookingCounter
BidPriceVector_T _bidPriceVector
bool _fareFamilyActivation
Availability_T _availabilityPool
std::string toString() const
BidPrice_T _currentBidPrice
SegmentCabin(const Key_T &)
const MapKey_T getFullerKey() const
const std::string describeConvexHull() const
CommittedSpace_T _committedSpace
void updateFromReservation(const NbOfBookings_T &)
CabinCapacity_T _capacity
const CabinCode_T & getCabinCode() const
Class representing the actual attributes for an airline segment-date.
const std::string describeKey() const