#include <stdair/bom/FlightPeriod.hpp>
Public Types | |
typedef FlightPeriodKey | Key_T |
Public Member Functions | |
const Key_T & | getKey () const |
BomAbstract *const | getParent () const |
const FlightNumber_T & | getFlightNumber () const |
const PeriodStruct & | getPeriod () const |
const HolderMap_T & | getHolderMap () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
std::string | toString () const |
const std::string | describeKey () const |
Protected Member Functions | |
FlightPeriod (const Key_T &) | |
~FlightPeriod () | |
Protected Attributes | |
Key_T | _key |
BomAbstract * | _parent |
HolderMap_T | _holderMap |
Friends | |
template<typename BOM > | |
class | FacBom |
template<typename BOM > | |
class | FacCloneBom |
class | FacBomManager |
Class representing the actual attributes for an airline flight-period.
Definition at line 15 of file FlightPeriod.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 23 of file FlightPeriod.hpp.
|
protected |
Main constructor.
Definition at line 12 of file FlightPeriod.cpp.
|
protected |
Destructor.
Definition at line 22 of file FlightPeriod.cpp.
|
inline |
|
inline |
|
inline |
Get the flight number (part of the primary key).
Definition at line 34 of file FlightPeriod.hpp.
References _key, and stdair::FlightPeriodKey::getFlightNumber().
|
inline |
Get the departure period (part of the key).
Definition at line 39 of file FlightPeriod.hpp.
References _key, and stdair::FlightPeriodKey::getPeriod().
|
inline |
Get the map of children holders.
Definition at line 42 of file FlightPeriod.hpp.
References _holderMap.
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 49 of file FlightPeriod.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 53 of file FlightPeriod.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 26 of file FlightPeriod.cpp.
References describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 59 of file FlightPeriod.hpp.
References _key, and stdair::FlightPeriodKey::toString().
Referenced by toString().
|
friend |
Definition at line 16 of file FlightPeriod.hpp.
|
friend |
Definition at line 17 of file FlightPeriod.hpp.
|
friend |
Definition at line 18 of file FlightPeriod.hpp.
|
protected |
Definition at line 86 of file FlightPeriod.hpp.
Referenced by describeKey(), getFlightNumber(), getKey(), and getPeriod().
|
protected |
Definition at line 87 of file FlightPeriod.hpp.
Referenced by getParent().
|
protected |
Definition at line 88 of file FlightPeriod.hpp.
Referenced by getHolderMap().