StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:

List of all members.

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

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

Definition allowing to retrieve the associated BOM key type.

Definition at line 41 of file SegmentSnapshotTable.hpp.


Constructor & Destructor Documentation

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

Main constructor.

Definition at line 34 of file SegmentSnapshotTable.cpp.

stdair::SegmentSnapshotTable::~SegmentSnapshotTable ( )
protectedvirtual

Destructor.

Definition at line 38 of file SegmentSnapshotTable.cpp.


Member Function Documentation

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

Get the segment data table key.

Definition at line 47 of file SegmentSnapshotTable.hpp.

References _key.

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

Get the parent object.

Definition at line 52 of file SegmentSnapshotTable.hpp.

References _parent.

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().

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

Get the map of children holders.

Definition at line 64 of file SegmentSnapshotTable.hpp.

References _holderMap.

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

Get the segment-cabin index map.

Definition at line 69 of file SegmentSnapshotTable.hpp.

References _segmentCabinIndexMap.

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

Get the class index map.

Definition at line 74 of file SegmentSnapshotTable.hpp.

References _classIndexMap.

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.

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.

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.

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 119 of file SegmentSnapshotTable.cpp.

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.

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.

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.

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 168 of file SegmentSnapshotTable.cpp.

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.

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.

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.

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 217 of file SegmentSnapshotTable.cpp.

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.

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.

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.

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 267 of file SegmentSnapshotTable.cpp.

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.

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.

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.

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 316 of file SegmentSnapshotTable.cpp.

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.

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.

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.

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 366 of file SegmentSnapshotTable.cpp.

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 378 of file SegmentSnapshotTable.cpp.

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 390 of file SegmentSnapshotTable.cpp.

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 402 of file SegmentSnapshotTable.cpp.

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 414 of file SegmentSnapshotTable.cpp.

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.

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.

void stdair::SegmentSnapshotTable::initSnapshotBlocks ( const SegmentCabinIndexMap_T iSegmentCabinIndexMap,
const ClassIndexMap_T iClassIndexMap 
)
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().

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.

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().

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().

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

Serialisation.

Definition at line 464 of file SegmentSnapshotTable.cpp.

References _key.


Friends And Related Function Documentation

friend class FacBom
friend

Definition at line 32 of file SegmentSnapshotTable.hpp.

friend class FacBomManager
friend

Definition at line 33 of file SegmentSnapshotTable.hpp.

friend class boost::serialization::access
friend

Definition at line 34 of file SegmentSnapshotTable.hpp.


Member Data Documentation

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().

BomAbstract* stdair::SegmentSnapshotTable::_parent
protected

Pointer on the parent class (Inventory).

Definition at line 355 of file SegmentSnapshotTable.hpp.

Referenced by getParent().

HolderMap_T stdair::SegmentSnapshotTable::_holderMap
protected

Map holding the children.

Definition at line 358 of file SegmentSnapshotTable.hpp.

Referenced by getHolderMap().

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().

SnapshotBlock_T stdair::SegmentSnapshotTable::_bookingSnapshotBlock
protected
SnapshotBlock_T stdair::SegmentSnapshotTable::_cancellationSnapshotBlock
protected
SnapshotBlock_T stdair::SegmentSnapshotTable::_productOrientedNetBookingSnapshotBlock
protected
SnapshotBlock_T stdair::SegmentSnapshotTable::_priceOrientedNetBookingSnapshotBlock
protected
SnapshotBlock_T stdair::SegmentSnapshotTable::_productOrientedGrossBookingSnapshotBlock
protected
SnapshotBlock_T stdair::SegmentSnapshotTable::_priceOrientedGrossBookingSnapshotBlock
protected

Price oriented gross booking block.

Definition at line 383 of file SegmentSnapshotTable.hpp.

Referenced by getConstSegmentCabinDTDPriceOrientedGrossBookingSnapshotView(), and initSnapshotBlocks().

SnapshotBlock_T stdair::SegmentSnapshotTable::_availabilitySnapshotBlock
protected

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