1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
LegDateKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_LEGDATEKEY_HPP
2
#define __STDAIR_BOM_LEGDATEKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_basic_types.hpp
>
9
#include <
stdair/bom/KeyAbstract.hpp
>
10
11
namespace
stdair
{
12
16
struct
LegDateKey :
public
KeyAbstract
{
17
18
// /////////// Constructors and destructors ///////////
19
private
:
21
LegDateKey();
22
23
public
:
25
LegDateKey (
const
AirportCode_T
& iBoardingPoint);
27
LegDateKey (
const
LegDateKey&);
29
~LegDateKey
();
30
31
32
// /////////// Getters //////////
34
const
AirportCode_T
&
getBoardingPoint
()
const
{
35
return
_boardingPoint;
36
}
37
38
39
// /////////// Display support methods /////////
42
void
toStream
(std::ostream& ioOut)
const
;
43
46
void
fromStream
(std::istream& ioIn);
47
53
const
std::string
toString
()
const
;
54
55
56
private
:
57
// ///////////////// Attributes ///////////////
59
AirportCode_T
_boardingPoint;
60
};
61
62
}
63
#endif
// __STDAIR_BOM_LEGDATEKEY_HPP
KeyAbstract.hpp
stdair_basic_types.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::AirportCode_T
LocationCode_T AirportCode_T
Definition
stdair_basic_types.hpp:22
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition
KeyAbstract.hpp:27
stdair::LegDateKey::toString
const std::string toString() const
Definition
LegDateKey.cpp:42
stdair::LegDateKey::toStream
void toStream(std::ostream &ioOut) const
Definition
LegDateKey.cpp:33
stdair::LegDateKey::getBoardingPoint
const AirportCode_T & getBoardingPoint() const
Definition
LegDateKey.hpp:34
stdair::LegDateKey::fromStream
void fromStream(std::istream &ioIn)
Definition
LegDateKey.cpp:38
stdair::LegDateKey::~LegDateKey
~LegDateKey()
Definition
LegDateKey.cpp:29
Generated for StdAir by
1.17.0