#include <stdair/bom/NestingNode.hpp>
Public Types | |
typedef NestingNodeKey | Key_T |
Public Member Functions | |
const Key_T & | getKey () const |
BomAbstract *const | getParent () const |
const HolderMap_T & | getHolderMap () const |
const Yield_T & | getYield () const |
void | setYield (const Yield_T &iYield) |
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) |
Protected Member Functions | |
NestingNode (const Key_T &) | |
virtual | ~NestingNode () |
Friends | |
template<typename BOM > | |
class | FacBom |
class | FacBomManager |
class | boost::serialization::access |
Structure holding the elements of a nesting node. A nesting node is a set of booking classes.
Definition at line 29 of file NestingNode.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 39 of file NestingNode.hpp.
|
protected |
Main constructor.
Definition at line 31 of file NestingNode.cpp.
|
protectedvirtual |
Destructor.
Definition at line 35 of file NestingNode.cpp.
|
inline |
Get the policy key.
Definition at line 44 of file NestingNode.hpp.
|
inline |
Get the parent object.
Definition at line 49 of file NestingNode.hpp.
|
inline |
Get the map of children holders.
Definition at line 56 of file NestingNode.hpp.
Referenced by stdair::FacBomManager::resetYieldBasedNestingStructure().
|
inline |
Getter for the yield.
Definition at line 61 of file NestingNode.hpp.
|
inline |
Setter for the yield.
Definition at line 68 of file NestingNode.hpp.
Referenced by stdair::FacBomManager::resetYieldBasedNestingStructure().
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 80 of file NestingNode.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 89 of file NestingNode.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 39 of file NestingNode.cpp.
References describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 100 of file NestingNode.hpp.
References stdair::NestingNodeKey::toString().
Referenced by stdair::FacBomManager::resetYieldBasedNestingStructure(), and toString().
void stdair::NestingNode::serialize | ( | Archive & | ar, |
const unsigned int | iFileVersion | ||
) |
Serialisation.
|
friend |
Definition at line 30 of file NestingNode.hpp.
|
friend |
Definition at line 31 of file NestingNode.hpp.
|
friend |
Definition at line 32 of file NestingNode.hpp.