StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair::BomArchive Class Reference

Utility class to archive/restore BOM objects with Boost serialisation. More...

#include <stdair/bom/BomArchive.hpp>

List of all members.

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 &)

Detailed Description

Utility class to archive/restore BOM objects with Boost serialisation.

Definition at line 28 of file BomArchive.hpp.


Member Function Documentation

void stdair::BomArchive::archive ( const BomRoot iBomRoot)
static

Recursively archive (dump in the underlying STL string) the objects of the BOM tree.

Parameters:
constBomRoot& 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.

Parameters:
constInventory& 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.

Parameters:
conststd::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.

Parameters:
constFlightDate& Root of the BOM tree to be archived.

Definition at line 52 of file BomArchive.cpp.


The documentation for this class was generated from the following files: