StdAir Logo  1.00.16
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
FlightPeriodKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_FLIGHTPERIODKEY_HPP
2#define __STDAIR_BOM_FLIGHTPERIODKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STDAIR
10
11namespace stdair {
13 struct FlightPeriodKey : public KeyAbstract {
14
15 private:
16 // /////////// Default constructor //////////
18 public:
19 // /////////// Construction ///////////
25
26 // /////////// Getters //////////
29 return _flightNumber;
30 }
31
33 const PeriodStruct& getPeriod () const {
34 return _period;
35 }
36
37 // /////////// Display support methods /////////
40 void toStream (std::ostream& ioOut) const;
41
44 void fromStream (std::istream& ioIn);
45
51 const std::string toString() const;
52
53 private:
54 // Attributes
56 FlightNumber_T _flightNumber;
57
59 PeriodStruct _period;
60
61 };
62
63}
64#endif // __STDAIR_BOM_FLIGHTPERIODKEY_HPP
Handle on the StdAir library context.
unsigned short FlightNumber_T
const FlightNumber_T & getFlightNumber() const
const PeriodStruct & getPeriod() const
void toStream(std::ostream &ioOut) const
void fromStream(std::istream &ioIn)
const std::string toString() const
Base class for the keys of Business Object Model (BOM) layer.