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
NestingNode.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <sstream>
6
#include <cassert>
7
#include <iomanip>
8
#include <iostream>
9
//STDAIR
10
#include <
stdair/basic/BasConst_Inventory.hpp
>
11
#include <
stdair/bom/BomManager.hpp
>
12
#include <
stdair/bom/BookingClass.hpp
>
13
#include <
stdair/bom/BookingClassTypes.hpp
>
14
#include <
stdair/bom/NestingNode.hpp
>
15
16
namespace
stdair {
17
18
// ////////////////////////////////////////////////////////////////////
19
NestingNode::NestingNode () :
20
_key (
DEFAULT_NESTING_NODE_CODE
), _parent (NULL) {
21
assert (
false
);
22
}
23
24
// ////////////////////////////////////////////////////////////////////
25
NestingNode::NestingNode (
const
NestingNode& iNestingNode)
26
: _key (
DEFAULT_NESTING_NODE_CODE
), _parent (NULL) {
27
assert (
false
);
28
}
29
30
// ////////////////////////////////////////////////////////////////////
31
NestingNode::NestingNode (
const
Key_T
& iKey) : _key (iKey), _parent (NULL) {
32
}
33
34
// ////////////////////////////////////////////////////////////////////
35
NestingNode::~NestingNode
() {
36
}
37
38
// ////////////////////////////////////////////////////////////////////
39
std::string
NestingNode::toString
()
const
{
40
std::ostringstream oStr;
41
oStr <<
describeKey
();
42
43
oStr << _yield << std::endl;
44
45
return
oStr.str();
46
}
47
48
}
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1