$treeview $search $mathjax
#include <stdair/bom/SegmentPeriod.hpp>
Inheritance diagram for stdair::SegmentPeriod:
Definition at line 15 of file SegmentPeriod.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 23 of file SegmentPeriod.hpp.
stdair::SegmentPeriod::SegmentPeriod | ( | const Key_T & | ) | [protected] |
Main constructor.
Definition at line 13 of file SegmentPeriod.cpp.
stdair::SegmentPeriod::~SegmentPeriod | ( | ) | [protected, virtual] |
Destructor.
Definition at line 29 of file SegmentPeriod.cpp.
const Key_T& stdair::SegmentPeriod::getKey | ( | ) | const [inline] |
BomAbstract* const stdair::SegmentPeriod::getParent | ( | ) | const [inline] |
const AirportCode_T& stdair::SegmentPeriod::getBoardingPoint | ( | ) | const [inline] |
Get the boarding point (part of the primary key).
Definition at line 34 of file SegmentPeriod.hpp.
References _key, and stdair::SegmentPeriodKey::getBoardingPoint().
const AirportCode_T& stdair::SegmentPeriod::getOffPoint | ( | ) | const [inline] |
Get the off point (part of the primary key).
Definition at line 39 of file SegmentPeriod.hpp.
References _key, and stdair::SegmentPeriodKey::getOffPoint().
const Duration_T& stdair::SegmentPeriod::getBoardingTime | ( | ) | const [inline] |
const Duration_T& stdair::SegmentPeriod::getOffTime | ( | ) | const [inline] |
const DateOffset_T& stdair::SegmentPeriod::getBoardingDateOffset | ( | ) | const [inline] |
Get the boarding date offset.
Definition at line 48 of file SegmentPeriod.hpp.
References _boardingDateOffset.
const DateOffset_T& stdair::SegmentPeriod::getOffDateOffset | ( | ) | const [inline] |
Get the off date offset.
Definition at line 53 of file SegmentPeriod.hpp.
References _offDateOffset.
const Duration_T& stdair::SegmentPeriod::getElapsedTime | ( | ) | const [inline] |
const CabinBookingClassMap_T& stdair::SegmentPeriod::getCabinBookingClassMap | ( | ) | const [inline] |
Get the cabin booking class map.
Definition at line 59 of file SegmentPeriod.hpp.
References _cabinBookingClassMap.
const HolderMap_T& stdair::SegmentPeriod::getHolderMap | ( | ) | const [inline] |
Get the map of children holders.
Definition at line 64 of file SegmentPeriod.hpp.
References _holderMap.
void stdair::SegmentPeriod::setBoardingTime | ( | const Duration_T & | iBoardingTime | ) | [inline] |
void stdair::SegmentPeriod::setOffTime | ( | const Duration_T & | iOffTime | ) | [inline] |
void stdair::SegmentPeriod::setBoardingDateOffset | ( | const DateOffset_T & | iDateOffset | ) | [inline] |
Set the boarding date offset.
Definition at line 77 of file SegmentPeriod.hpp.
References _boardingDateOffset.
void stdair::SegmentPeriod::setOffDateOffset | ( | const DateOffset_T & | iDateOffset | ) | [inline] |
Set the off date offset.
Definition at line 82 of file SegmentPeriod.hpp.
References _offDateOffset.
void stdair::SegmentPeriod::setElapsedTime | ( | const Duration_T & | iElapsedTime | ) | [inline] |
void stdair::SegmentPeriod::addCabinBookingClassList | ( | const CabinCode_T & | , | |
const ClassList_String_T & | ||||
) |
Add a pair cabin code and list of class codes within the cabin to the cabin booking class map.
Definition at line 41 of file SegmentPeriod.cpp.
References _cabinBookingClassMap.
void stdair::SegmentPeriod::toStream | ( | std::ostream & | ioOut | ) | const [inline, virtual] |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 100 of file SegmentPeriod.hpp.
References toString().
void stdair::SegmentPeriod::fromStream | ( | std::istream & | ioIn | ) | [inline, virtual] |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 104 of file SegmentPeriod.hpp.
std::string stdair::SegmentPeriod::toString | ( | ) | const [virtual] |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 33 of file SegmentPeriod.cpp.
References describeKey().
Referenced by toStream().
const std::string stdair::SegmentPeriod::describeKey | ( | ) | const [inline] |
Get a string describing the key.
Definition at line 110 of file SegmentPeriod.hpp.
References _key, and stdair::SegmentPeriodKey::toString().
Referenced by toString().
friend class FacBom [friend] |
Definition at line 16 of file SegmentPeriod.hpp.
friend class FacCloneBom [friend] |
Definition at line 17 of file SegmentPeriod.hpp.
friend class FacBomManager [friend] |
Definition at line 18 of file SegmentPeriod.hpp.
Key_T stdair::SegmentPeriod::_key [protected] |
Definition at line 135 of file SegmentPeriod.hpp.
Referenced by describeKey(), getBoardingPoint(), getKey(), and getOffPoint().
BomAbstract* stdair::SegmentPeriod::_parent [protected] |
Duration_T stdair::SegmentPeriod::_boardingTime [protected] |
Definition at line 137 of file SegmentPeriod.hpp.
Referenced by getBoardingTime(), and setBoardingTime().
Duration_T stdair::SegmentPeriod::_offTime [protected] |
Definition at line 139 of file SegmentPeriod.hpp.
Referenced by getBoardingDateOffset(), and setBoardingDateOffset().
DateOffset_T stdair::SegmentPeriod::_offDateOffset [protected] |
Definition at line 140 of file SegmentPeriod.hpp.
Referenced by getOffDateOffset(), and setOffDateOffset().
Duration_T stdair::SegmentPeriod::_elapsedTime [protected] |
Definition at line 141 of file SegmentPeriod.hpp.
Referenced by getElapsedTime(), and setElapsedTime().
Definition at line 142 of file SegmentPeriod.hpp.
Referenced by addCabinBookingClassList(), and getCabinBookingClassMap().
HolderMap_T stdair::SegmentPeriod::_holderMap [protected] |