1 #ifndef __STDAIR_BOM_INVENTORY_HPP 2 #define __STDAIR_BOM_INVENTORY_HPP 20 namespace serialization {
26 class heap_allocation;
42 template <
typename BOM>
friend class FacBom;
45 friend class boost::serialization::access;
65 return _key.getAirlineCode();
103 FlightDate* getFlightDate (
const std::string& iFlightDateKeyStr)
const;
121 return _airlineFeature;
129 _airlineFeature = &iAirlineFeature;
155 std::string toString()
const;
161 return _key.toString();
170 template<
class Archive>
171 void serialize (Archive& ar,
const unsigned int iFileVersion);
181 void serialisationImplementationExport()
const;
182 void serialisationImplementationImport();
232 #endif // __STDAIR_BOM_INVENTORY_HPP
const HolderMap_T & getHolderMap() const
std::map< const std::type_info *, BomAbstract * > HolderMap_T
BomAbstract *const getParent() const
std::string AirlineCode_T
Class representing various configuration parameters (e.g., revenue management methods such EMSRb or M...
Base class for Factory layer.
AirlineFeature * getAirlineFeature() const
Key of a given inventory, made of the airline code.
Base class for the Business Object Model (BOM) layer.
void fromStream(std::istream &ioIn)
const std::string describeKey() const
Class representing the actual attributes for an airline flight-date.
void toStream(std::ostream &ioOut) const
Class representing the actual attributes for an airline inventory.
Utility class for linking StdAir-based objects.
Handle on the StdAir library context.
Key of a given flight-date, made of a flight number and a departure date.
Base class for Factory layer.
AirlineFeature * _airlineFeature
const Key_T & getKey() const
const AirlineCode_T & getAirlineCode() const