StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair::SimpleNestingStructure Class Reference

#include <stdair/bom/SimpleNestingStructure.hpp>

+ Inheritance diagram for stdair::SimpleNestingStructure:

List of all members.

Public Types

typedef NestingStructureKey Key_T

Public Member Functions

const Key_TgetKey () const
BomAbstract *const getParent () const
const HolderMap_TgetHolderMap () const
const NestingNodeList_TgetNestingNodeList () 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 ()


class FacBom
class FacBomManager
class boost::serialization::access

Detailed Description

Structure holding a nesting node map according to the yield.

Definition at line 26 of file SimpleNestingStructure.hpp.

Member Typedef Documentation

Definition allowing to retrieve the associated BOM key type.

Definition at line 36 of file SimpleNestingStructure.hpp.

Constructor & Destructor Documentation

stdair::SimpleNestingStructure::SimpleNestingStructure ( const Key_T iKey)

Main constructor.

Definition at line 36 of file SimpleNestingStructure.cpp.

stdair::SimpleNestingStructure::~SimpleNestingStructure ( )


Definition at line 41 of file SimpleNestingStructure.cpp.

Member Function Documentation

const Key_T& stdair::SimpleNestingStructure::getKey ( ) const

Get the nesting key.

Definition at line 41 of file SimpleNestingStructure.hpp.

BomAbstract* const stdair::SimpleNestingStructure::getParent ( ) const

Get the parent object.

Definition at line 46 of file SimpleNestingStructure.hpp.

const HolderMap_T& stdair::SimpleNestingStructure::getHolderMap ( ) const

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.

void stdair::SimpleNestingStructure::toStream ( std::ostream &  ioOut) const

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().

void stdair::SimpleNestingStructure::fromStream ( std::istream &  ioIn)

Read a Business Object from an input stream.

istream&the input stream.

Implements stdair::BomAbstract.

Definition at line 78 of file SimpleNestingStructure.hpp.

std::string stdair::SimpleNestingStructure::toString ( ) const

Get the serialised version of the Business Object.

Implements stdair::BomAbstract.

Definition at line 107 of file SimpleNestingStructure.cpp.

References describeKey().

Referenced by toStream().

const std::string stdair::SimpleNestingStructure::describeKey ( ) const

Get a string describing the key.

Definition at line 89 of file SimpleNestingStructure.hpp.

References stdair::NestingStructureKey::toString().

Referenced by toString().

template<class Archive >
void stdair::SimpleNestingStructure::serialize ( Archive &  ar,
const unsigned int  iFileVersion 


Friends And Related Function Documentation

friend class FacBom

Definition at line 27 of file SimpleNestingStructure.hpp.

friend class FacBomManager

Definition at line 28 of file SimpleNestingStructure.hpp.

friend class boost::serialization::access

Definition at line 29 of file SimpleNestingStructure.hpp.

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