StdAir Logo  1.00.15
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
AirlineClassListKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
2#define __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <iosfwd>
9// StdAir
12
14namespace boost {
15 namespace serialization {
16 class access;
17 }
18}
19
20namespace stdair {
21
27
28 // /////////// Constructors and destructors ///////////
29 private:
34
35 public:
41
46
51
52
53 public:
54 // /////////// Getters //////////
57 return _airlineCodeList;
58 }
59
62 return _classCodeList;
63 }
64
65
66 public:
67 // /////////// Display support methods /////////
73 void toStream (std::ostream& ioOut) const;
74
80 void fromStream (std::istream& ioIn);
81
91 const std::string toString() const;
92
93
94 public:
95 // /////////// (Boost) Serialisation support methods /////////
99 template<class Archive>
100 void serialize (Archive& ar, const unsigned int iFileVersion);
101
102 private:
107 void serialisationImplementationExport() const;
108 void serialisationImplementationImport();
109
110
111 private:
112 // ///////////////// Attributes ///////////////
116 AirlineCodeList_T _airlineCodeList;
117
121 ClassList_StringList_T _classCodeList;
122 };
123
124}
125#endif // __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
Handle on the StdAir library context.
std::vector< ClassList_String_T > ClassList_StringList_T
std::vector< AirlineCode_T > AirlineCodeList_T
Forward declarations.
void fromStream(std::istream &ioIn)
const std::string toString() const
const AirlineCodeList_T & getAirlineCodeList() const
void toStream(std::ostream &ioOut) const
void serialize(Archive &ar, const unsigned int iFileVersion)
const ClassList_StringList_T & getClassCodeList() const
friend class boost::serialization::access
Base class for the keys of Business Object Model (BOM) layer.