$treeview $search $mathjax
Utility class to archive/restore BOM objects with Boost serialisation. More...
#include <stdair/bom/BomArchive.hpp>
Static Public Member Functions | |
static void | archive (const BomRoot &) |
static std::string | archive (const Inventory &) |
static void | restore (const std::string &iArchive, Inventory &) |
static void | archive (const FlightDate &) |
Utility class to archive/restore BOM objects with Boost serialisation.
Definition at line 28 of file BomArchive.hpp.
void stdair::BomArchive::archive | ( | const BomRoot & | iBomRoot | ) | [static] |
Recursively archive (dump in the underlying STL string) the objects of the BOM tree.
const | BomRoot& Root of the BOM tree to be archived. |
Definition at line 32 of file BomArchive.cpp.
std::string stdair::BomArchive::archive | ( | const Inventory & | iInventory | ) | [static] |
Recursively archive (dump in the underlying STL string) the objects of the BOM tree.
const | Inventory& Root of the BOM tree to be archived. |
Definition at line 36 of file BomArchive.cpp.
void stdair::BomArchive::restore | ( | const std::string & | iArchive, | |
Inventory & | ioInventory | |||
) | [static] |
Recursively restore (from the underlying STL string) the objects of the BOM tree.
const | std::string& String holding the serialised objects. | |
Inventory& | Root of the BOM tree to be restored. |
Definition at line 44 of file BomArchive.cpp.
void stdair::BomArchive::archive | ( | const FlightDate & | iFlightDate | ) | [static] |
Recursively archive (dump in the underlying STL string) the objects of the BOM tree.
const | FlightDate& Root of the BOM tree to be archived. |
Definition at line 52 of file BomArchive.cpp.