1.00.2
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
FlightPeriod.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <cassert>
6
// STDAIR
7
#include <
stdair/bom/FlightPeriod.hpp
>
8
9
namespace
stdair
{
10
11
// ////////////////////////////////////////////////////////////////////
12
FlightPeriod::FlightPeriod (
const
Key_T
& iKey)
13
: _key (iKey), _parent (NULL) {
14
}
15
16
// ////////////////////////////////////////////////////////////////////
17
FlightPeriod::FlightPeriod (
const
FlightPeriod
& iFlightPeriod)
18
:
_key
(iFlightPeriod.
getKey
()),
_parent
(NULL) {
19
}
20
21
// ////////////////////////////////////////////////////////////////////
22
FlightPeriod::~FlightPeriod
() {
23
}
24
25
// ////////////////////////////////////////////////////////////////////
26
std::string
FlightPeriod::toString
()
const
{
27
std::ostringstream oStr;
28
oStr <<
describeKey
();
29
return
oStr.str();
30
}
31
32
}
33
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::FlightPeriod::~FlightPeriod
~FlightPeriod()
Definition:
FlightPeriod.cpp:22
FlightPeriod.hpp
stdair::FlightPeriod::_parent
BomAbstract * _parent
Definition:
FlightPeriod.hpp:87
stdair::FlightPeriod::getKey
const Key_T & getKey() const
Definition:
FlightPeriod.hpp:28
stdair::FlightPeriod::_key
Key_T _key
Definition:
FlightPeriod.hpp:86
stdair::FlightPeriod::describeKey
const std::string describeKey() const
Definition:
FlightPeriod.hpp:59
stdair::FlightPeriod
Definition:
FlightPeriod.hpp:15
stdair::FlightPeriod::toString
std::string toString() const
Definition:
FlightPeriod.cpp:26
stdair::FlightPeriodKey
Definition:
FlightPeriodKey.hpp:13
Generated on Sun Jun 5 2016 02:35:44 for StdAir by
1.8.11