$treeview $search $mathjax
StdAir Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

stdair/bom/BomArchive.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_BOMARCHIVE_HPP
00002 #define __STDAIR_BOM_BOMARCHIVE_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <iosfwd>
00009 
00010 namespace stdair {
00011 
00013   class BomRoot;
00014   class Inventory;
00015   class FlightDate;
00016   class LegDate;
00017   class SegmentDate;
00018   class LegCabin;
00019   class SegmentCabin;
00020   class FareFamily;
00021   class BookingClass;
00022   struct BookingRequestStruct;
00023 
00028   class BomArchive {
00029   public:
00036     static void archive (const BomRoot&);
00037 
00044     static std::string archive (const Inventory&);
00045 
00053     static void restore (const std::string& iArchive, Inventory&);
00054 
00061     static void archive (const FlightDate&);
00062   };
00063   
00064 }
00065 #endif // __STDAIR_BOM_BOMARCHIVE_HPP