1 #ifndef __STDAIR_BOM_TRAVELSOLUTIONSTRUCT_HPP
2 #define __STDAIR_BOM_TRAVELSOLUTIONSTRUCT_HPP
34 return _classAvailabilityMapHolder;
39 return _classObjectIDMapHolder;
44 return _classYieldMapHolder;
49 return _bidPriceVectorHolder;
54 return _classBpvMapHolder;
59 return _fareOptionList;
64 return _fareOptionList;
69 assert (_chosenFareOption != NULL);
70 return *_chosenFareOption;
98 _chosenFareOption = &iChosenFO;
109 void toStream (std::ostream& ioOut)
const;
125 const std::string
display()
const;
190 #endif // __STDAIR_BOM_TRAVELSOLUTIONSTRUCT_HPP
void addClassYieldMap(const ClassYieldMap_T &)
Structure holding the elements of a fare option.
void fromStream(std::istream &ioIn)
std::list< ClassBpvMap_T > ClassBpvMapHolder_T
std::vector< BidPrice_T > BidPriceVector_T
void toStream(std::ostream &ioOut) const
Handle on the StdAir library context.
void addBidPriceVector(const BidPriceVector_T &)
void addClassAvailabilityMap(const ClassAvailabilityMap_T &)
void addFareOption(const FareOptionStruct &)
const std::string describe() const
std::map< const ClassCode_T, Availability_T > ClassAvailabilityMap_T
const ClassBpvMapHolder_T & getClassBpvMapHolder() const
Base class for the light structures.
Structure holding the elements of a travel solution.
const ClassAvailabilityMapHolder_T & getClassAvailabilityMapHolder() const
std::list< ClassYieldMap_T > ClassYieldMapHolder_T
std::list< ClassAvailabilityMap_T > ClassAvailabilityMapHolder_T
const ClassObjectIDMapHolder_T & getClassObjectIDMapHolder() const
const FareOptionList_T & getFareOptionList() const
const std::string display() const
std::list< FareOptionStruct > FareOptionList_T
FareOptionList_T & getFareOptionListRef()
std::list< ClassObjectIDMap_T > ClassObjectIDMapHolder_T
std::map< const ClassCode_T, BookingClassID_T > ClassObjectIDMap_T
const FareOptionStruct & getChosenFareOption() const
void addSegment(const std::string &)
const SegmentPath_T & getSegmentPath() const
const ClassYieldMapHolder_T & getClassYieldMapHolder() const
const BidPriceVectorHolder_T & getBidPriceVectorHolder() const
const std::string describeSegmentPath() const
std::list< BidPriceVector_T > BidPriceVectorHolder_T
void setChosenFareOption(const FareOptionStruct &iChosenFO)
void addClassBpvMap(const ClassBpvMap_T &)
std::map< const ClassCode_T, YieldValue_T > ClassYieldMap_T
void addClassObjectIDMap(const ClassObjectIDMap_T &)
std::map< const ClassCode_T, const BidPriceVector_T * > ClassBpvMap_T