1 #ifndef __STDAIR_BOM_LEGDATE_HPP
2 #define __STDAIR_BOM_LEGDATE_HPP
26 template <
typename BOM>
friend class FacBom;
187 void updateDistanceFromElapsedTime();
271 #endif // __STDAIR_BOM_LEGDATE_HPP
void toStream(std::ostream &ioOut) const
const std::string toString() const
BomAbstract *const getParent() const
LocationCode_T AirportCode_T
const Duration_T & getOffTime() const
Class representing the actual attributes for an airline leg-cabin.
Utility class for linking StdAir-based objects.
FlightNumber_T _operatingFlightNumber
unsigned short FlightNumber_T
Handle on the StdAir library context.
boost::posix_time::time_duration Duration_T
CabinCapacity_T _capacity
std::map< const std::type_info *, BomAbstract * > HolderMap_T
const std::string describeKey() const
Base class for the Business Object Model (BOM) layer.
LegCabin * getLegCabin(const std::string &iLegCabinKeyStr) const
const Duration_T getTimeOffset() const
std::string AirlineCode_T
const Distance_T & getDistance() const
std::string toString() const
void setOperatingFlightNumber(const FlightNumber_T &iFlightNumber)
void setOffPoint(const AirportCode_T &iOffPoint)
AirlineCode_T _operatingAirlineCode
void setOperatingAirlineCode(const AirlineCode_T &iAirlineCode)
Base class for Factory layer.
const CabinCapacity_T & getCapacity() const
const Duration_T & getBoardingTime() const
void setBoardingTime(const Duration_T &iBoardingTime)
const std::string describeRoutingKey() const
const AirportCode_T & getBoardingPoint() const
const AirlineCode_T & getAirlineCode() const
void setOffDate(const Date_T &iOffDate)
boost::gregorian::date Date_T
const Date_T & getBoardingDate() const
const Duration_T & getElapsedTime() const
void setOffTime(const Duration_T &iOffTime)
Key of a given leg-cabin, made of a cabin code (only).
boost::gregorian::date_duration DateOffset_T
const AirportCode_T & getOffPoint() const
const Date_T & getOffDate() const
const Key_T & getKey() const
const DateOffset_T getDateOffset() const
void fromStream(std::istream &ioIn)
const AirportCode_T & getBoardingPoint() const
Base class for Factory layer.
const HolderMap_T & getHolderMap() const
void setElapsedTime(const Duration_T &)
unsigned long int Distance_T
void setBoardingDate(const Date_T &iBoardingDate)