Key of a given O&D-date, made of a list of OnD strings. a OnD string contains the airline code, the flight number, the date and the segment (origin and destination). More...
#include <stdair/bom/OnDDateKey.hpp>
 Inheritance diagram for stdair::OnDDateKey:Public Member Functions | |
| OnDDateKey (const OnDStringList_T &) | |
| OnDDateKey (const OnDDateKey &) | |
| ~OnDDateKey () | |
| const Date_T | getDate () const | 
| const AirportCode_T | getOrigin () const | 
| const AirportCode_T | getDestination () const | 
| const short | getNbOfSegments () const | 
| void | toStream (std::ostream &ioOut) const | 
| void | fromStream (std::istream &ioIn) | 
| const std::string | toString () const | 
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int iFileVersion) | 
Friends | |
| class | boost::serialization::access | 
Key of a given O&D-date, made of a list of OnD strings. a OnD string contains the airline code, the flight number, the date and the segment (origin and destination).
Definition at line 23 of file OnDDateKey.hpp.
| stdair::OnDDateKey::OnDDateKey | ( | const OnDStringList_T & | iOnDStringList | ) | 
Constructor.
Definition at line 33 of file OnDDateKey.cpp.
| stdair::OnDDateKey::OnDDateKey | ( | const OnDDateKey & | iKey | ) | 
Copy constructor.
Definition at line 38 of file OnDDateKey.cpp.
| stdair::OnDDateKey::~OnDDateKey | ( | ) | 
Destructor.
Definition at line 43 of file OnDDateKey.cpp.
| const Date_T stdair::OnDDateKey::getDate | ( | ) | const | 
Get the boarding date.
Definition at line 47 of file OnDDateKey.cpp.
References stdair::BomKeyManager::extractFlightDateKey(), and stdair::FlightDateKey::getDepartureDate().
Referenced by stdair::OnDDate::getDate().
| const AirportCode_T stdair::OnDDateKey::getOrigin | ( | ) | const | 
Get the origin.
Definition at line 54 of file OnDDateKey.cpp.
References stdair::BomKeyManager::extractSegmentDateKey(), and stdair::SegmentDateKey::getBoardingPoint().
Referenced by stdair::OnDDate::getOrigin().
| const AirportCode_T stdair::OnDDateKey::getDestination | ( | ) | const | 
Get the destination.
Definition at line 61 of file OnDDateKey.cpp.
References stdair::BomKeyManager::extractSegmentDateKey(), and stdair::SegmentDateKey::getOffPoint().
Referenced by stdair::OnDDate::getDestination().
      
  | 
  inline | 
Get the number of segments.
Definition at line 70 of file OnDDateKey.hpp.
Referenced by stdair::OnDDate::getNbOfSegments().
      
  | 
  virtual | 
Dump a Business Object Key into an output stream.
| ostream& | the output stream. | 
Reimplemented from stdair::KeyAbstract.
Definition at line 68 of file OnDDateKey.cpp.
References toString().
      
  | 
  virtual | 
Read a Business Object Key from an input stream.
| istream& | the input stream. | 
Reimplemented from stdair::KeyAbstract.
Definition at line 73 of file OnDDateKey.cpp.
      
  | 
  virtual | 
Get the serialised version of the Business Object Key.
That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.
For instance, "H" and "K" allow to differentiate among two marketing classes for the same segment-date.
Reimplemented from stdair::KeyAbstract.
Definition at line 77 of file OnDDateKey.cpp.
Referenced by stdair::OnDDate::describeKey(), and toStream().
| void stdair::OnDDateKey::serialize | ( | Archive & | ar, | 
| const unsigned int | iFileVersion | ||
| ) | 
Serialisation.
Definition at line 102 of file OnDDateKey.cpp.
      
  | 
  friend | 
Definition at line 24 of file OnDDateKey.hpp.
 
		  1.8.9.1