1.00.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
BreakPointStruct.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <cassert>
6
#include <sstream>
7
// StdAir
8
#include <
stdair/basic/BasConst_General.hpp
>
9
#include <
stdair/bom/BreakPointStruct.hpp
>
10
11
namespace
stdair {
12
13
// //////////////////////////////////////////////////////////////////////
14
BreakPointStruct::BreakPointStruct() {
15
assert (
false
);
16
}
17
18
// //////////////////////////////////////////////////////////////////////
19
BreakPointStruct::
20
BreakPointStruct (
const
BreakPointStruct
& iBreakPoint)
21
: _breakPointTime (iBreakPoint._breakPointTime) {
22
}
23
24
// //////////////////////////////////////////////////////////////////////
25
BreakPointStruct::
26
BreakPointStruct (
const
DateTime_T
& iBreakPointTime)
27
: _breakPointTime (iBreakPointTime) {
28
}
29
30
// //////////////////////////////////////////////////////////////////////
31
BreakPointStruct::
32
BreakPointStruct (
const
Date_T
& iBreakPointDate)
33
: _breakPointTime (iBreakPointDate,
DEFAULT_NULL_DURATION
) {
34
}
35
36
// //////////////////////////////////////////////////////////////////////
37
BreakPointStruct::~BreakPointStruct
() {
38
}
39
40
// //////////////////////////////////////////////////////////////////////
41
void
BreakPointStruct::toStream
(std::ostream& ioOut)
const
{
42
ioOut <<
describe
();
43
}
44
45
// //////////////////////////////////////////////////////////////////////
46
void
BreakPointStruct::fromStream
(std::istream& ioIn) {
47
}
48
49
// //////////////////////////////////////////////////////////////////////
50
const
std::string
BreakPointStruct::describe
()
const
{
51
std::ostringstream oStr;
52
oStr << _breakPointTime;
53
return
oStr.str();
54
}
55
56
}
Generated on Sun Dec 23 2012 19:41:19 for StdAir by
1.8.1.1