StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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;
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.
static void restore(const std::string &iArchive, Inventory &)
static void archive(const BomRoot &)
Class representing the actual attributes for the Bom root.
Definition BomRoot.hpp:32
Structure holding the elements of a booking request.
Class representing the actual attributes for a family fare.
Class representing the actual attributes for an airline flight-date.
Class representing the actual attributes for an airline inventory.
Definition Inventory.hpp:41
Class representing the actual attributes for an airline leg-cabin.
Definition LegCabin.hpp:25
Class representing the actual attributes for an airline segment-cabin.
Class representing the actual attributes for an airline segment-date.