StdAir Logo  1.00.12
C++ Standard Airline IT Object Library
BomArchive.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_BOMARCHIVE_HPP
2#define __STDAIR_BOM_BOMARCHIVE_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <iosfwd>
9
10namespace stdair {
11
13 class BomRoot;
14 class Inventory;
15 class FlightDate;
16 class LegDate;
17 class SegmentDate;
18 class LegCabin;
19 class SegmentCabin;
20 class FareFamily;
21 class BookingClass;
22 struct BookingRequestStruct;
23
28 class BomArchive {
29 public:
36 static void archive (const BomRoot&);
37
44 static std::string archive (const Inventory&);
45
53 static void restore (const std::string& iArchive, Inventory&);
54
61 static void archive (const FlightDate&);
62 };
63
64}
65#endif // __STDAIR_BOM_BOMARCHIVE_HPP
Handle on the StdAir library context.
Utility class to archive/restore BOM objects with Boost serialisation.
Definition: BomArchive.hpp:28
static void restore(const std::string &iArchive, Inventory &)
Definition: BomArchive.cpp:44
static void archive(const BomRoot &)
Definition: BomArchive.cpp:32
Class representing the actual attributes for the Bom root.
Definition: BomRoot.hpp:32
Class representing the actual attributes for an airline flight-date.
Definition: FlightDate.hpp:42
Class representing the actual attributes for an airline inventory.
Definition: Inventory.hpp:41