1 #ifndef __STDAIR_BOM_SEGMENTSNAPSHOTTABLE_HPP 2 #define __STDAIR_BOM_SEGMENTSNAPSHOTTABLE_HPP 18 namespace serialization {
32 template <
typename BOM>
friend class FacBom;
34 friend class boost::serialization::access;
58 return _key.getTableID();
70 return _segmentCabinIndexMap;
75 return _classIndexMap;
115 getConstSegmentCabinDTDCancellationSnapshotView (
const SegmentDataID_T,
122 getConstSegmentCabinDTDRangeCancellationSnapshotView (
const SegmentDataID_T,
137 getSegmentCabinDTDRangeCancellationSnapshotView (
const SegmentDataID_T,
144 getConstSegmentCabinDTDProductOrientedNetBookingSnapshotView
150 getConstSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView
156 getSegmentCabinDTDProductOrientedNetBookingSnapshotView
162 getSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView
168 getConstSegmentCabinDTDPriceOrientedNetBookingSnapshotView
174 getConstSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView
180 getSegmentCabinDTDPriceOrientedNetBookingSnapshotView
186 getSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView
193 getConstSegmentCabinDTDProductOrientedGrossBookingSnapshotView
199 getConstSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView
205 getSegmentCabinDTDProductOrientedGrossBookingSnapshotView
211 getSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView
217 getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView
223 getConstSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView
229 getSegmentCabinDTDPriceOrientedGrossBookingSnapshotView
235 getSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView
242 getConstSegmentCabinDTDAvailabilitySnapshotView (
const SegmentDataID_T,
249 getConstSegmentCabinDTDRangeAvailabilitySnapshotView (
const SegmentDataID_T,
264 getSegmentCabinDTDRangeAvailabilitySnapshotView (
const SegmentDataID_T,
298 std::string toString()
const;
304 return _key.toString();
313 template<
class Archive>
314 void serialize (Archive& ar,
const unsigned int iFileVersion);
321 void serialisationImplementationExport()
const;
322 void serialisationImplementationImport();
390 #endif // __STDAIR_BOM_SEGMENTSNAPSHOTTABLE_HPP const HolderMap_T & getHolderMap() const
const ClassIndexMap_T & getClassIndexMap() const
SegmentCabinIndexMap_T _segmentCabinIndexMap
void fromStream(std::istream &ioIn)
BomAbstract *const getParent() const
SnapshotBlock_T::array_view< 1 >::type SegmentCabinDTDSnapshotView_T
const TableID_T & getTableID() const
std::map< const std::type_info *, BomAbstract * > HolderMap_T
Key of a given guillotine block, made of a guillotine number.
Class representing the actual attributes for an airline segment data tables.
Base class for the Business Object Model (BOM) layer.
SnapshotBlock_T _cancellationSnapshotBlock
SnapshotBlock_T::const_array_view< 2 >::type ConstSegmentCabinDTDRangeSnapshotView_T
SnapshotBlock_T _bookingSnapshotBlock
const Key_T & getKey() const
std::map< const SegmentCabin *, SegmentDataID_T > SegmentCabinIndexMap_T
SnapshotBlock_T _productOrientedNetBookingSnapshotBlock
std::map< const MapKey_T, ClassIndex_T > ClassIndexMap_T
SnapshotBlock_T::array_view< 2 >::type SegmentCabinDTDRangeSnapshotView_T
Class representing the actual attributes for an airline segment-cabin.
Utility class for linking StdAir-based objects.
Handle on the StdAir library context.
boost::multi_array< double, 2 > SnapshotBlock_T
Base class for Factory layer.
SnapshotBlock_T _availabilitySnapshotBlock
ClassIndexMap_T _classIndexMap
unsigned short SegmentDataID_T
void toStream(std::ostream &ioOut) const
SnapshotBlock_T _productOrientedGrossBookingSnapshotBlock
SnapshotBlock_T _priceOrientedGrossBookingSnapshotBlock
SnapshotBlock_T _priceOrientedNetBookingSnapshotBlock
SegmentSnapshotTableKey Key_T
SnapshotBlock_T::const_array_view< 1 >::type ConstSegmentCabinDTDSnapshotView_T
const std::string describeKey() const
unsigned short ClassIndex_T
const SegmentCabinIndexMap_T & getSegmentCabinIndexMap() const