1.00.8
C++ Standard Airline IT Object Library
BreakPointStruct.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
2
#define __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <string>
10
// StdAir
11
#include <
stdair/stdair_date_time_types.hpp
>
12
#include <
stdair/basic/StructAbstract.hpp
>
13
#include <
stdair/bom/BreakPointTypes.hpp
>
14
15
namespace
stdair
{
16
18
struct
BreakPointStruct
:
public
StructAbstract
{
19
public
:
20
// /////////////// Getters /////////////////
22
const
DateTime_T
&
getBreakPointTime
()
const
{
23
return
_breakPointTime;
24
}
25
26
// /////////// Display support method /////////////
29
void
toStream
(std::ostream& ioOut)
const
;
30
33
void
fromStream
(std::istream& ioIn);
34
36
const
std::string
describe
()
const
;
37
38
39
// /////////////// Constructors and Destructors /////////////////
40
public
:
42
BreakPointStruct
(
const
DateTime_T
&);
43
45
BreakPointStruct
(
const
Date_T
&);
46
48
BreakPointStruct
(
const
BreakPointStruct
&);
49
50
private
:
53
BreakPointStruct
();
54
55
public
:
57
~BreakPointStruct
();
58
59
60
private
:
61
// /////////////// Attributes /////////////////
63
const
DateTime_T
_breakPointTime;
64
};
65
66
}
67
#endif // __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
BreakPointTypes.hpp
stdair::BreakPointStruct::toStream
void toStream(std::ostream &ioOut) const
Definition:
BreakPointStruct.cpp:41
stdair::BreakPointStruct
Definition:
BreakPointStruct.hpp:18
stdair::BreakPointStruct::~BreakPointStruct
~BreakPointStruct()
Definition:
BreakPointStruct.cpp:37
stdair::BreakPointStruct::describe
const std::string describe() const
Definition:
BreakPointStruct.cpp:50
stdair_date_time_types.hpp
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::DateTime_T
boost::posix_time::ptime DateTime_T
Definition:
stdair_date_time_types.hpp:26
stdair::BreakPointStruct::getBreakPointTime
const DateTime_T & getBreakPointTime() const
Definition:
BreakPointStruct.hpp:22
StructAbstract.hpp
stdair::StructAbstract
Base class for the light structures.
Definition:
StructAbstract.hpp:16
stdair::BreakPointStruct::fromStream
void fromStream(std::istream &ioIn)
Definition:
BreakPointStruct.cpp:46
stdair::Date_T
boost::gregorian::date Date_T
Definition:
stdair_date_time_types.hpp:20
Generated for StdAir by
1.8.16