#include <stdair/bom/SimpleNestingStructure.hpp>
Public Types | |
typedef NestingStructureKey | Key_T |
Public Member Functions | |
const Key_T & | getKey () const |
BomAbstract *const | getParent () const |
const HolderMap_T & | getHolderMap () const |
const NestingNodeList_T & | getNestingNodeList () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
std::string | toString () const |
const std::string | describeKey () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int iFileVersion) |
SimpleNestingStructure (const Key_T &) | |
virtual | ~SimpleNestingStructure () |
Friends | |
template<typename BOM > | |
class | FacBom |
class | FacBomManager |
class | boost::serialization::access |
Structure holding a nesting node map according to the yield.
Definition at line 26 of file SimpleNestingStructure.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 36 of file SimpleNestingStructure.hpp.
stdair::SimpleNestingStructure::SimpleNestingStructure | ( | const Key_T & | iKey | ) |
Main constructor.
Definition at line 36 of file SimpleNestingStructure.cpp.
|
virtual |
Destructor.
Definition at line 41 of file SimpleNestingStructure.cpp.
|
inline |
Get the nesting key.
Definition at line 41 of file SimpleNestingStructure.hpp.
|
inline |
Get the parent object.
Definition at line 46 of file SimpleNestingStructure.hpp.
|
inline |
Get the map of children holders.
Definition at line 53 of file SimpleNestingStructure.hpp.
const NestingNodeList_T & stdair::SimpleNestingStructure::getNestingNodeList | ( | ) | const |
Get the nesting node list
Definition at line 115 of file SimpleNestingStructure.cpp.
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 69 of file SimpleNestingStructure.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 78 of file SimpleNestingStructure.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 107 of file SimpleNestingStructure.cpp.
References describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 89 of file SimpleNestingStructure.hpp.
References stdair::NestingStructureKey::toString().
Referenced by toString().
void stdair::SimpleNestingStructure::serialize | ( | Archive & | ar, |
const unsigned int | iFileVersion | ||
) |
Serialisation.
|
friend |
Definition at line 27 of file SimpleNestingStructure.hpp.
|
friend |
Definition at line 28 of file SimpleNestingStructure.hpp.
|
friend |
Definition at line 29 of file SimpleNestingStructure.hpp.