#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 allowing to retrieve the associated BOM key type.
Definition at line 22 of file AirlineFeature.hpp.
stdair::AirlineFeature::AirlineFeature | ( | ) | [protected] |
Default constructors.
stdair::AirlineFeature::AirlineFeature | ( | const AirlineFeature & | ) | [protected] |
stdair::AirlineFeature::AirlineFeature | ( | const Key_T & | iKey | ) | [protected] |
Definition at line 13 of file AirlineFeature.cpp.
stdair::AirlineFeature::~AirlineFeature | ( | ) | [protected, virtual] |
Destructor.
Definition at line 17 of file AirlineFeature.cpp.
const Key_T& stdair::AirlineFeature::getKey | ( | ) | const [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 _forecasterMode, _historicalDataLimit, and _controlMode.
void stdair::AirlineFeature::toStream | ( | std::ostream & | ioOut | ) | const [inline, virtual] |
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().
void stdair::AirlineFeature::fromStream | ( | std::istream & | ioIn | ) | [inline, virtual] |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 45 of file AirlineFeature.hpp.
std::string stdair::AirlineFeature::toString | ( | ) | const [virtual] |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 30 of file AirlineFeature.cpp.
References describeKey(), _forecasterMode, _historicalDataLimit, and _controlMode.
Referenced by toStream().
const std::string stdair::AirlineFeature::describeKey | ( | ) | const [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 class FacBom [friend] |
Definition at line 17 of file AirlineFeature.hpp.
Key_T stdair::AirlineFeature::_key [protected] |
The key of both structure and objects.
Definition at line 64 of file AirlineFeature.hpp.
Referenced by getKey(), and describeKey().
The type of forecaster.
Definition at line 67 of file AirlineFeature.hpp.
Referenced by init(), and toString().
The size of the moving average window.
Definition at line 70 of file AirlineFeature.hpp.
Referenced by init(), and toString().
ControlMode_T stdair::AirlineFeature::_controlMode [protected] |
The type of inventory control.
Definition at line 73 of file AirlineFeature.hpp.
Referenced by init(), and toString().