1.00.10
C++ Standard Airline IT Object Library
BookingClassKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_BOOKINGCLASSKEY_HPP
2
#define __STDAIR_BOM_BOOKINGCLASSKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_basic_types.hpp
>
9
#include <
stdair/bom/KeyAbstract.hpp
>
10
11
namespace
stdair
{
12
16
struct
BookingClassKey
:
public
KeyAbstract
{
17
18
// /////////// Constructors and destructors ///////////
19
private
:
21
BookingClassKey
();
22
23
public
:
25
BookingClassKey
(
const
ClassCode_T
& iClassCode);
27
BookingClassKey
(
const
BookingClassKey
&);
29
~BookingClassKey
();
30
31
32
// /////////// Getters //////////
34
const
ClassCode_T
&
getClassCode
()
const
{
35
return
_classCode;
36
}
37
38
39
// /////////// Display support methods /////////
42
void
toStream
(std::ostream& ioOut)
const
;
43
46
void
fromStream
(std::istream& ioIn);
47
53
const
std::string
toString
()
const
;
54
55
56
private
:
57
// ///////////////// Attributes ///////////////
59
ClassCode_T
_classCode;
60
};
61
62
}
63
#endif // __STDAIR_BOM_BOOKINGCLASSKEY_HPP
stdair::BookingClassKey::toString
const std::string toString() const
Definition:
BookingClassKey.cpp:42
stdair::BookingClassKey::~BookingClassKey
~BookingClassKey()
Definition:
BookingClassKey.cpp:29
stdair::ClassCode_T
std::string ClassCode_T
Definition:
stdair_basic_types.hpp:57
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::BookingClassKey::fromStream
void fromStream(std::istream &ioIn)
Definition:
BookingClassKey.cpp:38
stdair_basic_types.hpp
stdair::BookingClassKey::getClassCode
const ClassCode_T & getClassCode() const
Definition:
BookingClassKey.hpp:34
KeyAbstract.hpp
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition:
KeyAbstract.hpp:27
stdair::BookingClassKey::toStream
void toStream(std::ostream &ioOut) const
Definition:
BookingClassKey.cpp:33
stdair::BookingClassKey
Definition:
BookingClassKey.hpp:16
Generated for StdAir by
1.8.18