1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
NestingStructureKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_NESTINGSTRUCTUREKEY_HPP
2
#define __STDAIR_BOM_NESTINGSTRUCTUREKEY_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/bom/KeyAbstract.hpp
>
13
15
namespace
boost
{
16
namespace
serialization
{
17
class
access;
18
}
19
}
20
21
namespace
stdair
{
22
26
struct
NestingStructureKey :
public
KeyAbstract
{
27
friend
class
boost::serialization::access
;
28
29
// /////////// Constructors and destructors ///////////
30
private
:
34
NestingStructureKey();
35
36
public
:
40
NestingStructureKey (
const
NestingStructureCode_T
& iNestingStructureCode);
41
45
NestingStructureKey (
const
NestingStructureKey&);
46
50
~NestingStructureKey
();
51
52
53
public
:
54
// /////////// Getters //////////
56
const
NestingStructureCode_T
&
getNestingStructureCode
()
const
{
57
return
_nestingStructureCode;
58
}
59
60
61
public
:
62
// /////////// Display support methods /////////
68
void
toStream
(std::ostream& ioOut)
const
;
69
75
void
fromStream
(std::istream& ioIn);
76
86
const
std::string
toString
()
const
;
87
88
89
public
:
90
// /////////// (Boost) Serialisation support methods /////////
94
template
<
class
Archive>
95
void
serialize
(Archive& ar,
const
unsigned
int
iFileVersion);
96
97
private
:
102
void
serialisationImplementationExport()
const
;
103
void
serialisationImplementationImport();
104
105
106
private
:
107
// ///////////////// Attributes ///////////////
111
NestingStructureCode_T
_nestingStructureCode;
112
};
113
114
}
115
#endif
// __STDAIR_BOM_NESTINGSTRUCTUREKEY_HPP
KeyAbstract.hpp
stdair_inventory_types.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::NestingStructureCode_T
std::string NestingStructureCode_T
Definition
stdair_basic_types.hpp:50
boost
Forward declarations.
Definition
AirlineClassList.hpp:16
boost::serialization
Definition
AirlineClassList.hpp:17
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition
KeyAbstract.hpp:27
stdair::NestingStructureKey::toStream
void toStream(std::ostream &ioOut) const
Definition
NestingStructureKey.cpp:37
stdair::NestingStructureKey::~NestingStructureKey
~NestingStructureKey()
Definition
NestingStructureKey.cpp:33
stdair::NestingStructureKey::serialize
void serialize(Archive &ar, const unsigned int iFileVersion)
Definition
NestingStructureKey.cpp:68
stdair::NestingStructureKey::toString
const std::string toString() const
Definition
NestingStructureKey.cpp:46
stdair::NestingStructureKey::fromStream
void fromStream(std::istream &ioIn)
Definition
NestingStructureKey.cpp:42
stdair::NestingStructureKey::getNestingStructureCode
const NestingStructureCode_T & getNestingStructureCode() const
Definition
NestingStructureKey.hpp:56
stdair::NestingStructureKey::access
friend class boost::serialization::access
Definition
NestingStructureKey.hpp:27
Generated for StdAir by
1.17.0