#include <stdair/bom/AirlineFeature.hpp>
Public Types | |
typedef AirlineFeatureKey | Key_T |
Public Member Functions | |
const Key_T & | getKey () const |
void | init (const ForecasterMode_T &, const HistoricalDataLimit_T &, const ControlMode_T &) |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
std::string | toString () const |
const std::string | describeKey () const |
Protected Member Functions | |
AirlineFeature () | |
AirlineFeature (const AirlineFeature &) | |
AirlineFeature (const Key_T &) | |
virtual | ~AirlineFeature () |
Protected Attributes | |
Key_T | _key |
ForecasterMode_T | _forecasterMode |
HistoricalDataLimit_T | _historicalDataLimit |
ControlMode_T | _controlMode |
Friends | |
class | FacBom |
Class representing the actual attributes for an airline booking class.
Definition at line 16 of file AirlineFeature.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 22 of file AirlineFeature.hpp.
|
protected |
Default constructors.
|
protected |
|
protected |
Definition at line 13 of file AirlineFeature.cpp.
|
protectedvirtual |
Destructor.
Definition at line 17 of file AirlineFeature.cpp.
|
inline |
void stdair::AirlineFeature::init | ( | const ForecasterMode_T & | iForecastMode, |
const HistoricalDataLimit_T & | iHistoricalDataLimit, | ||
const ControlMode_T & | iControlMode | ||
) |
Intialization method.
Definition at line 21 of file AirlineFeature.cpp.
References _controlMode, _forecasterMode, and _historicalDataLimit.
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 41 of file AirlineFeature.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 45 of file AirlineFeature.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 30 of file AirlineFeature.cpp.
References _controlMode, _forecasterMode, _historicalDataLimit, and describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 51 of file AirlineFeature.hpp.
References _key, and stdair::AirlineFeatureKey::toString().
Referenced by toString().
|
friend |
Definition at line 17 of file AirlineFeature.hpp.
|
protected |
The key of both structure and objects.
Definition at line 64 of file AirlineFeature.hpp.
Referenced by describeKey(), and getKey().
|
protected |
The type of forecaster.
Definition at line 67 of file AirlineFeature.hpp.
Referenced by init(), and toString().
|
protected |
The size of the moving average window.
Definition at line 70 of file AirlineFeature.hpp.
Referenced by init(), and toString().
|
protected |
The type of inventory control.
Definition at line 73 of file AirlineFeature.hpp.
Referenced by init(), and toString().