StdAir Logo  1.00.16
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
15
16namespace stdair {
17
20 public:
21 // /////////////// Getters /////////////////
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:
49
52
53 private:
57
58 public:
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
Handle on the StdAir library context.
boost::posix_time::ptime DateTime_T
std::string AirlineCode_T
Base class for the light structures.
const AirlineCode_T & getAirlineCode() const
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
const DateTime_T & getSnapshotTime() const
const std::string describe() const