StdAir Logo  0.43.0
C++ Standard Airline IT Library
stdair::BomHolder Class Reference

Class representing the holder of BOM object containers (list and map). More...

#include <stdair/bom/BomHolder.hpp>

+ Inheritance diagram for stdair::BomHolder:

List of all members.

Public Types

typedef stdair::BomHolderKey Key_T
typedef std::list< BOM * > BomList_T
typedef std::map< const
MapKey_T, BOM * > 
BomMap_T

Public Member Functions

void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
std::string toString () const
const std::string describeKey () const

Public Attributes

Key_T _key
BomList_T _bomList
BomMap_T _bomMap

Protected Member Functions

 BomHolder ()
 BomHolder (const BomHolder &)
 BomHolder (const Key_T &iKey)
 ~BomHolder ()

Friends

class FacBom
class FacBomManager

Detailed Description

Class representing the holder of BOM object containers (list and map).


Member Typedef Documentation

Definition allowing to retrieve the associated BOM key type.

Definition at line 34 of file BomHolder.hpp.

(STL) list of children.

Definition at line 39 of file BomHolder.hpp.

(STL) map of children.

Definition at line 44 of file BomHolder.hpp.


Constructor & Destructor Documentation

stdair::BomHolder::BomHolder ( ) [protected]

Constructor.

stdair::BomHolder::BomHolder ( const BomHolder ) [protected]

Copy constructor.

stdair::BomHolder::BomHolder ( const Key_T iKey) [inline, protected]

Main constructor.

Definition at line 94 of file BomHolder.hpp.

stdair::BomHolder::~BomHolder ( ) [inline, protected]

Destructor.

Definition at line 99 of file BomHolder.hpp.


Member Function Documentation

void stdair::BomHolder::toStream ( std::ostream ioOut) const [inline, virtual]

Dump a Business Object into an output stream.

Parameters:
ostream&the output stream.

Implements stdair::BomAbstract.

Definition at line 54 of file BomHolder.hpp.

References toString().

void stdair::BomHolder::fromStream ( std::istream ioIn) [inline, virtual]

Read a Business Object from an input stream.

Parameters:
istream&the input stream.

Implements stdair::BomAbstract.

Definition at line 63 of file BomHolder.hpp.

std::string stdair::BomHolder::toString ( ) const [inline, virtual]

Get the serialised version of the Business Object.

Implements stdair::BomAbstract.

Definition at line 69 of file BomHolder.hpp.

Referenced by toStream().

const std::string stdair::BomHolder::describeKey ( ) const [inline]

Get a string describing the key.

Definition at line 76 of file BomHolder.hpp.


Friends And Related Function Documentation

friend class FacBom [friend]

Friend classes.

Definition at line 26 of file BomHolder.hpp.

friend class FacBomManager [friend]

Definition at line 27 of file BomHolder.hpp.


Member Data Documentation

Key.

Definition at line 99 of file BomHolder.hpp.


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