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
FFDisutilityCurveHolderStruct.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
2
#define __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <string>
10
// StdAir
11
#include <
stdair/stdair_rm_types.hpp
>
12
#include <
stdair/basic/StructAbstract.hpp
>
13
14
namespace
stdair {
15
// Type definition for the holder of disutility curves.
16
typedef
std::map<const std::string, FFDisutilityCurve_T>
FFDisutilityCurveHolder_T
;
17
19
struct
FFDisutilityCurveHolderStruct
:
public
StructAbstract
{
20
public
:
21
// /////////////// Getters /////////////////
23
const
FFDisutilityCurve_T
&
getFFDisutilityCurve
(
const
std::string&)
const
;
24
25
// ///////////// Business Methods //////////
27
void
addCurve
(
const
std::string&,
const
FFDisutilityCurve_T
&);
28
29
// /////////// Display support method /////////////
32
void
toStream
(std::ostream& ioOut)
const
;
33
36
void
fromStream
(std::istream& ioIn);
37
39
const
std::string
describe
()
const
;
40
41
42
// /////////////// Constructors and Destructors /////////////////
43
public
:
45
FFDisutilityCurveHolderStruct
();
46
48
FFDisutilityCurveHolderStruct
(
const
FFDisutilityCurveHolderStruct
&);
49
50
public
:
52
~FFDisutilityCurveHolderStruct
();
53
54
55
private
:
56
// /////////////// Attributes /////////////////
58
FFDisutilityCurveHolder_T
_disutilityCurveHolder;
59
};
60
61
}
62
#endif // __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1