StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::SegmentSnapshotTable Class Reference

Class representing the actual attributes for an airline segment data tables. More...

#include <stdair/bom/SegmentSnapshotTable.hpp>

+ Inheritance diagram for stdair::SegmentSnapshotTable:

Public Types

typedef SegmentSnapshotTableKey Key_T
 

Public Member Functions

const Key_TgetKey () const
 
BomAbstract *const getParent () const
 
const TableID_TgetTableID () const
 
const HolderMap_TgetHolderMap () const
 
const SegmentCabinIndexMap_TgetSegmentCabinIndexMap () const
 
const ClassIndexMap_TgetClassIndexMap () const
 
const ClassIndex_TgetClassIndex (const MapKey_T &) const
 
const SegmentDataID_TgetSegmentDataID (const SegmentCabin &) const
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangeBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangeBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDCancellationSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangeCancellationSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDCancellationSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangeCancellationSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDProductOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDProductOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDPriceOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDPriceOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDProductOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDProductOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDPriceOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
ConstSegmentCabinDTDSnapshotView_T getConstSegmentCabinDTDAvailabilitySnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T) const
 
ConstSegmentCabinDTDRangeSnapshotView_T getConstSegmentCabinDTDRangeAvailabilitySnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T) const
 
SegmentCabinDTDSnapshotView_T getSegmentCabinDTDAvailabilitySnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T)
 
SegmentCabinDTDRangeSnapshotView_T getSegmentCabinDTDRangeAvailabilitySnapshotView (const SegmentDataID_T, const SegmentDataID_T, const DTD_T, const DTD_T)
 
void initSnapshotBlocks (const SegmentCabinIndexMap_T &, const ClassIndexMap_T &)
 
void toStream (std::ostream &ioOut) const
 
void fromStream (std::istream &ioIn)
 
std::string toString () const
 
const std::string describeKey () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int iFileVersion)
 

Protected Member Functions

 SegmentSnapshotTable (const Key_T &)
 
virtual ~SegmentSnapshotTable ()
 

Protected Attributes

Key_T _key
 
BomAbstract_parent
 
HolderMap_T _holderMap
 
SegmentCabinIndexMap_T _segmentCabinIndexMap
 
ClassIndexMap_T _classIndexMap
 
SnapshotBlock_T _bookingSnapshotBlock
 
SnapshotBlock_T _cancellationSnapshotBlock
 
SnapshotBlock_T _productOrientedNetBookingSnapshotBlock
 
SnapshotBlock_T _priceOrientedNetBookingSnapshotBlock
 
SnapshotBlock_T _productOrientedGrossBookingSnapshotBlock
 
SnapshotBlock_T _priceOrientedGrossBookingSnapshotBlock
 
SnapshotBlock_T _availabilitySnapshotBlock
 

Friends

template<typename BOM >
class FacBom
 
class FacBomManager
 
class boost::serialization::access
 

Detailed Description

Class representing the actual attributes for an airline segment data tables.

Definition at line 31 of file SegmentSnapshotTable.hpp.

Member Typedef Documentation

◆ Key_T

Definition allowing to retrieve the associated BOM key type.

Definition at line 41 of file SegmentSnapshotTable.hpp.

Constructor & Destructor Documentation

◆ SegmentSnapshotTable()

stdair::SegmentSnapshotTable::SegmentSnapshotTable ( const Key_T iKey)
protected

Main constructor.

Definition at line 33 of file SegmentSnapshotTable.cpp.

◆ ~SegmentSnapshotTable()

stdair::SegmentSnapshotTable::~SegmentSnapshotTable ( )
protectedvirtual

Destructor.

Definition at line 38 of file SegmentSnapshotTable.cpp.

Member Function Documentation

◆ getKey()

const Key_T & stdair::SegmentSnapshotTable::getKey ( ) const
inline

Get the segment data table key.

Definition at line 47 of file SegmentSnapshotTable.hpp.

References _key.

◆ getParent()

BomAbstract *const stdair::SegmentSnapshotTable::getParent ( ) const
inline

Get the parent object.

Definition at line 52 of file SegmentSnapshotTable.hpp.

References _parent.

◆ getTableID()

const TableID_T & stdair::SegmentSnapshotTable::getTableID ( ) const
inline

Get the table ID (part of the primary key).

Definition at line 57 of file SegmentSnapshotTable.hpp.

References _key, and stdair::SegmentSnapshotTableKey::getTableID().

◆ getHolderMap()

const HolderMap_T & stdair::SegmentSnapshotTable::getHolderMap ( ) const
inline

Get the map of children holders.

Definition at line 64 of file SegmentSnapshotTable.hpp.

References _holderMap.

◆ getSegmentCabinIndexMap()

const SegmentCabinIndexMap_T & stdair::SegmentSnapshotTable::getSegmentCabinIndexMap ( ) const
inline

Get the segment-cabin index map.

Definition at line 69 of file SegmentSnapshotTable.hpp.

References _segmentCabinIndexMap.

◆ getClassIndexMap()

const ClassIndexMap_T & stdair::SegmentSnapshotTable::getClassIndexMap ( ) const
inline

Get the class index map.

Definition at line 74 of file SegmentSnapshotTable.hpp.

References _classIndexMap.

◆ getClassIndex()

const ClassIndex_T & stdair::SegmentSnapshotTable::getClassIndex ( const MapKey_T iKey) const

Get the index corresponding to the given class.

Definition at line 88 of file SegmentSnapshotTable.cpp.

References _classIndexMap.

◆ getSegmentDataID()

const SegmentDataID_T & stdair::SegmentSnapshotTable::getSegmentDataID ( const SegmentCabin iSegmentCabin) const

Get the segment data ID corresponding to the givent segment-cabin.

Definition at line 97 of file SegmentSnapshotTable.cpp.

References _segmentCabinIndexMap.

◆ getConstSegmentCabinDTDBookingSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 106 of file SegmentSnapshotTable.cpp.

References _bookingSnapshotBlock, and _classIndexMap.

◆ getConstSegmentCabinDTDRangeBookingSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangeBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 118 of file SegmentSnapshotTable.cpp.

References _bookingSnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDBookingSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 130 of file SegmentSnapshotTable.cpp.

References _bookingSnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDRangeBookingSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangeBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 142 of file SegmentSnapshotTable.cpp.

References _bookingSnapshotBlock, and _classIndexMap.

◆ getConstSegmentCabinDTDCancellationSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDCancellationSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 155 of file SegmentSnapshotTable.cpp.

References _cancellationSnapshotBlock, and _classIndexMap.

◆ getConstSegmentCabinDTDRangeCancellationSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangeCancellationSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 167 of file SegmentSnapshotTable.cpp.

References _cancellationSnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDCancellationSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDCancellationSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 179 of file SegmentSnapshotTable.cpp.

References _cancellationSnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDRangeCancellationSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangeCancellationSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 191 of file SegmentSnapshotTable.cpp.

References _cancellationSnapshotBlock, and _classIndexMap.

◆ getConstSegmentCabinDTDProductOrientedNetBookingSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDProductOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 204 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedNetBookingSnapshotBlock.

◆ getConstSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 216 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedNetBookingSnapshotBlock.

◆ getSegmentCabinDTDProductOrientedNetBookingSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDProductOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 228 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedNetBookingSnapshotBlock.

◆ getSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 240 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedNetBookingSnapshotBlock.

◆ getConstSegmentCabinDTDPriceOrientedNetBookingSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDPriceOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 254 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedNetBookingSnapshotBlock.

◆ getConstSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 266 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedNetBookingSnapshotBlock.

◆ getSegmentCabinDTDPriceOrientedNetBookingSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDPriceOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 278 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedNetBookingSnapshotBlock.

◆ getSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 290 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedNetBookingSnapshotBlock.

◆ getConstSegmentCabinDTDProductOrientedGrossBookingSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDProductOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 303 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedGrossBookingSnapshotBlock.

◆ getConstSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 315 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedGrossBookingSnapshotBlock.

◆ getSegmentCabinDTDProductOrientedGrossBookingSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDProductOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 327 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedGrossBookingSnapshotBlock.

◆ getSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 339 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _productOrientedGrossBookingSnapshotBlock.

◆ getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 353 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedGrossBookingSnapshotBlock.

◆ getConstSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 365 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedGrossBookingSnapshotBlock.

◆ getSegmentCabinDTDPriceOrientedGrossBookingSnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDPriceOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 377 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedGrossBookingSnapshotBlock.

◆ getSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 389 of file SegmentSnapshotTable.cpp.

References _classIndexMap, and _priceOrientedGrossBookingSnapshotBlock.

◆ getConstSegmentCabinDTDAvailabilitySnapshotView()

ConstSegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDAvailabilitySnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
) const

Get the const view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 401 of file SegmentSnapshotTable.cpp.

References _availabilitySnapshotBlock, and _classIndexMap.

◆ getConstSegmentCabinDTDRangeAvailabilitySnapshotView()

ConstSegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getConstSegmentCabinDTDRangeAvailabilitySnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
) const

Get the const view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 413 of file SegmentSnapshotTable.cpp.

References _availabilitySnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDAvailabilitySnapshotView()

SegmentCabinDTDSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDAvailabilitySnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTD 
)

Get the view of snapshots for a given DTD and a range of segment-cabins.

Definition at line 425 of file SegmentSnapshotTable.cpp.

References _availabilitySnapshotBlock, and _classIndexMap.

◆ getSegmentCabinDTDRangeAvailabilitySnapshotView()

SegmentCabinDTDRangeSnapshotView_T stdair::SegmentSnapshotTable::getSegmentCabinDTDRangeAvailabilitySnapshotView ( const SegmentDataID_T  iSCIdxBegin,
const SegmentDataID_T  iSCIdxEnd,
const DTD_T  iDTDBegin,
const DTD_T  iDTDEnd 
)

Get the view of snapshots for a given range of DTD and a range of segment-cabins.

Definition at line 437 of file SegmentSnapshotTable.cpp.

References _availabilitySnapshotBlock, and _classIndexMap.

◆ initSnapshotBlocks()

void stdair::SegmentSnapshotTable::initSnapshotBlocks ( const SegmentCabinIndexMap_T iSegmentCabinIndexMap,
const ClassIndexMap_T iClassIndexMap 
)

◆ toStream()

void stdair::SegmentSnapshotTable::toStream ( std::ostream &  ioOut) const
inlinevirtual

Dump a Business Object into an output stream.

Parameters
ostream&the output stream.

Implements stdair::BomAbstract.

Definition at line 283 of file SegmentSnapshotTable.hpp.

References toString().

◆ fromStream()

void stdair::SegmentSnapshotTable::fromStream ( std::istream &  ioIn)
inlinevirtual

Read a Business Object from an input stream.

Parameters
istream&the input stream.

Implements stdair::BomAbstract.

Definition at line 292 of file SegmentSnapshotTable.hpp.

◆ toString()

std::string stdair::SegmentSnapshotTable::toString ( ) const
virtual

Get the serialised version of the Business Object.

Implements stdair::BomAbstract.

Definition at line 42 of file SegmentSnapshotTable.cpp.

References describeKey().

Referenced by toStream().

◆ describeKey()

const std::string stdair::SegmentSnapshotTable::describeKey ( ) const
inline

Get a string describing the key.

Definition at line 303 of file SegmentSnapshotTable.hpp.

References _key, and stdair::SegmentSnapshotTableKey::toString().

Referenced by toString().

◆ serialize()

template<class Archive >
void stdair::SegmentSnapshotTable::serialize ( Archive &  ar,
const unsigned int  iFileVersion 
)

Serialisation.

Definition at line 465 of file SegmentSnapshotTable.cpp.

References _key.

Friends And Related Symbol Documentation

◆ FacBom

template<typename BOM >
friend class FacBom
friend

Definition at line 32 of file SegmentSnapshotTable.hpp.

◆ FacBomManager

friend class FacBomManager
friend

Definition at line 33 of file SegmentSnapshotTable.hpp.

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 34 of file SegmentSnapshotTable.hpp.

Member Data Documentation

◆ _key

Key_T stdair::SegmentSnapshotTable::_key
protected

Primary key (table ID and departure block).

Definition at line 352 of file SegmentSnapshotTable.hpp.

Referenced by describeKey(), getKey(), getTableID(), and serialize().

◆ _parent

BomAbstract* stdair::SegmentSnapshotTable::_parent
protected

Pointer on the parent class (Inventory).

Definition at line 355 of file SegmentSnapshotTable.hpp.

Referenced by getParent().

◆ _holderMap

HolderMap_T stdair::SegmentSnapshotTable::_holderMap
protected

Map holding the children.

Definition at line 358 of file SegmentSnapshotTable.hpp.

Referenced by getHolderMap().

◆ _segmentCabinIndexMap

SegmentCabinIndexMap_T stdair::SegmentSnapshotTable::_segmentCabinIndexMap
protected

Map holding the segment-cabin position within the snapshot blocks.

Definition at line 361 of file SegmentSnapshotTable.hpp.

Referenced by getSegmentCabinIndexMap(), getSegmentDataID(), and initSnapshotBlocks().

◆ _classIndexMap

ClassIndexMap_T stdair::SegmentSnapshotTable::_classIndexMap
protected

Map holding the value type (class, etc) within a a segment-cabin inside the snapshot blocks.

Definition at line 365 of file SegmentSnapshotTable.hpp.

Referenced by getClassIndex(), getClassIndexMap(), getConstSegmentCabinDTDAvailabilitySnapshotView(), getConstSegmentCabinDTDBookingSnapshotView(), getConstSegmentCabinDTDCancellationSnapshotView(), getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView(), getConstSegmentCabinDTDPriceOrientedNetBookingSnapshotView(), getConstSegmentCabinDTDProductOrientedGrossBookingSnapshotView(), getConstSegmentCabinDTDProductOrientedNetBookingSnapshotView(), getConstSegmentCabinDTDRangeAvailabilitySnapshotView(), getConstSegmentCabinDTDRangeBookingSnapshotView(), getConstSegmentCabinDTDRangeCancellationSnapshotView(), getConstSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView(), getConstSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView(), getConstSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView(), getConstSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView(), getSegmentCabinDTDAvailabilitySnapshotView(), getSegmentCabinDTDBookingSnapshotView(), getSegmentCabinDTDCancellationSnapshotView(), getSegmentCabinDTDPriceOrientedGrossBookingSnapshotView(), getSegmentCabinDTDPriceOrientedNetBookingSnapshotView(), getSegmentCabinDTDProductOrientedGrossBookingSnapshotView(), getSegmentCabinDTDProductOrientedNetBookingSnapshotView(), getSegmentCabinDTDRangeAvailabilitySnapshotView(), getSegmentCabinDTDRangeBookingSnapshotView(), getSegmentCabinDTDRangeCancellationSnapshotView(), getSegmentCabinDTDRangePriceOrientedGrossBookingSnapshotView(), getSegmentCabinDTDRangePriceOrientedNetBookingSnapshotView(), getSegmentCabinDTDRangeProductOrientedGrossBookingSnapshotView(), getSegmentCabinDTDRangeProductOrientedNetBookingSnapshotView(), and initSnapshotBlocks().

◆ _bookingSnapshotBlock

◆ _cancellationSnapshotBlock

◆ _productOrientedNetBookingSnapshotBlock

◆ _priceOrientedNetBookingSnapshotBlock

◆ _productOrientedGrossBookingSnapshotBlock

◆ _priceOrientedGrossBookingSnapshotBlock

◆ _availabilitySnapshotBlock


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