StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::BomRootKey Struct Reference

Key of the BOM structure root. More...

#include <stdair/bom/BomRootKey.hpp>

+ Inheritance diagram for stdair::BomRootKey:

Public Member Functions

 BomRootKey ()
 
 BomRootKey (const std::string &iIdentification)
 
 BomRootKey (const BomRootKey &)
 
 ~BomRootKey ()
 
const std::string & getID () const
 
void toStream (std::ostream &ioOut) const
 
void fromStream (std::istream &ioIn)
 
const std::string toString () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int iFileVersion)
 

Friends

class boost::serialization::access
 

Detailed Description

Key of the BOM structure root.

Definition at line 25 of file BomRootKey.hpp.

Constructor & Destructor Documentation

stdair::BomRootKey::BomRootKey ( )

Default constructor.

Definition at line 18 of file BomRootKey.cpp.

stdair::BomRootKey::BomRootKey ( const std::string &  iIdentification)

Constructor.

Definition at line 28 of file BomRootKey.cpp.

stdair::BomRootKey::BomRootKey ( const BomRootKey iBomRootKey)

Copy constructor.

Definition at line 23 of file BomRootKey.cpp.

stdair::BomRootKey::~BomRootKey ( )

Destructor.

Definition at line 33 of file BomRootKey.cpp.

Member Function Documentation

const std::string& stdair::BomRootKey::getID ( ) const
inline

Get the identification.

Definition at line 56 of file BomRootKey.hpp.

void stdair::BomRootKey::toStream ( std::ostream &  ioOut) const
virtual

Dump a Business Object Key into an output stream.

Parameters
ostream&the output stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 37 of file BomRootKey.cpp.

References toString().

void stdair::BomRootKey::fromStream ( std::istream &  ioIn)
virtual

Read a Business Object Key from an input stream.

Parameters
istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 42 of file BomRootKey.cpp.

const std::string stdair::BomRootKey::toString ( ) const
virtual

Get the serialised version of the Business Object Key.

That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.

For instance, "H" and "K" allow to differentiate among two marketing classes for the same segment-date.

Reimplemented from stdair::KeyAbstract.

Definition at line 46 of file BomRootKey.cpp.

Referenced by stdair::BomRoot::describeKey(), toStream(), and stdair::BomRoot::toString().

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

Serialisation.

Definition at line 68 of file BomRootKey.cpp.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 26 of file BomRootKey.hpp.


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