1.00.0
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
SnapshotStruct.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_SNAPSHOTSTRUCT_HPP
2
#define __STDAIR_BOM_SNAPSHOTSTRUCT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <string>
10
// StdAir
11
#include <
stdair/stdair_inventory_types.hpp
>
12
#include <
stdair/stdair_demand_types.hpp
>
13
#include <
stdair/basic/StructAbstract.hpp
>
14
#include <
stdair/bom/SnapshotTypes.hpp
>
15
16
namespace
stdair {
17
19
struct
SnapshotStruct
:
public
StructAbstract
{
20
public
:
21
// /////////////// Getters /////////////////
23
const
AirlineCode_T
&
getAirlineCode
()
const
{
24
return
_airlineCode;
25
}
26
28
const
DateTime_T
&
getSnapshotTime
()
const
{
29
return
_snapshotTime;
30
}
31
32
// /////////// Display support method /////////////
35
void
toStream
(std::ostream& ioOut)
const
;
36
39
void
fromStream
(std::istream& ioIn);
40
42
const
std::string
describe
()
const
;
43
44
45
// /////////////// Constructors and Destructors /////////////////
46
public
:
48
SnapshotStruct
(
const
AirlineCode_T
&,
const
DateTime_T
&);
49
51
SnapshotStruct
(
const
SnapshotStruct
&);
52
53
private
:
56
SnapshotStruct
();
57
58
public
:
60
~SnapshotStruct
();
61
62
63
private
:
64
// /////////////// Attributes /////////////////
66
const
AirlineCode_T
_airlineCode;
67
69
const
DateTime_T
_snapshotTime;
70
};
71
72
}
73
#endif // __STDAIR_BOM_SNAPSHOTSTRUCT_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1