StdAir Logo  1.00.18
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::BomArchive Class Reference

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

Detailed Description

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

Definition at line 28 of file BomArchive.hpp.

Member Function Documentation

◆ archive() [1/3]

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.

◆ archive() [2/3]

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.

◆ restore()

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.

◆ archive() [3/3]

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: