Class representing the holder of BOM object containers (list and map). More...
#include <stdair/bom/BomHolder.hpp>
Inheritance diagram for stdair::BomHolder< BOM >: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 | |
| template<typename > | |
| class | FacBom |
| class | FacBomManager |
Class representing the holder of BOM object containers (list and map).
Definition at line 24 of file BomHolder.hpp.
| typedef stdair::BomHolderKey stdair::BomHolder< BOM >::Key_T |
Definition allowing to retrieve the associated BOM key type.
Definition at line 34 of file BomHolder.hpp.
| typedef std::list<BOM*> stdair::BomHolder< BOM >::BomList_T |
(STL) list of children.
Definition at line 39 of file BomHolder.hpp.
| typedef std::map<const MapKey_T, BOM*> stdair::BomHolder< BOM >::BomMap_T |
(STL) map of children.
Definition at line 44 of file BomHolder.hpp.
|
protected |
Constructor.
|
protected |
Copy constructor.
|
inlineprotected |
Main constructor.
Definition at line 94 of file BomHolder.hpp.
|
inlineprotected |
Destructor.
Definition at line 99 of file BomHolder.hpp.
|
inlinevirtual |
Dump a Business Object into an output stream.
| ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 54 of file BomHolder.hpp.
References stdair::BomHolder< BOM >::toString().
|
inlinevirtual |
Read a Business Object from an input stream.
| istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 63 of file BomHolder.hpp.
|
inlinevirtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 69 of file BomHolder.hpp.
Referenced by stdair::BomHolder< BOM >::toStream().
|
inline |
Get a string describing the key.
Definition at line 76 of file BomHolder.hpp.
Friend classes.
Definition at line 26 of file BomHolder.hpp.
|
friend |
Definition at line 27 of file BomHolder.hpp.
| Key_T stdair::BomHolder< BOM >::_key |
Key.
Definition at line 99 of file BomHolder.hpp.
| BomList_T stdair::BomHolder< BOM >::_bomList |
(STL) list of children.
Definition at line 111 of file BomHolder.hpp.
Referenced by stdair::FacBomManager::cloneHolder(), stdair::BomManager::getList(), stdair::BomManager::hasList(), stdair::FacBomManager::resetYieldBasedNestingStructure(), and stdair::serialiseHelper().
| BomMap_T stdair::BomHolder< BOM >::_bomMap |
(STL) map of children.
Definition at line 116 of file BomHolder.hpp.
Referenced by stdair::FacBomManager::cloneHolder(), stdair::BomManager::getMap(), stdair::BomManager::getObjectPtr(), stdair::BomManager::hasMap(), and stdair::serialiseHelper().
1.8.9.1