StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
stdair::GuillotineBlockKey Struct Reference

Key of a given guillotine block, made of a guillotine number. More...

#include <stdair/bom/GuillotineBlockKey.hpp>

+ Inheritance diagram for stdair::GuillotineBlockKey:

List of all members.

Public Member Functions

 GuillotineBlockKey (const GuillotineNumber_T &)
 GuillotineBlockKey (const GuillotineBlockKey &)
 ~GuillotineBlockKey ()
const GuillotineNumber_TgetGuillotineNumber () 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 a given guillotine block, made of a guillotine number.

Definition at line 26 of file GuillotineBlockKey.hpp.


Constructor & Destructor Documentation

stdair::GuillotineBlockKey::GuillotineBlockKey ( const GuillotineNumber_T iGuillotineNumber)

Constructor.

Definition at line 26 of file GuillotineBlockKey.cpp.

stdair::GuillotineBlockKey::GuillotineBlockKey ( const GuillotineBlockKey iKey)

Copy constructor.

Definition at line 31 of file GuillotineBlockKey.cpp.

Destructor.

Definition at line 36 of file GuillotineBlockKey.cpp.


Member Function Documentation

Get the guillotine number.

Definition at line 56 of file GuillotineBlockKey.hpp.

Referenced by stdair::GuillotineBlock::getGuillotineNumber().

void stdair::GuillotineBlockKey::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 40 of file GuillotineBlockKey.cpp.

References toString().

void stdair::GuillotineBlockKey::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 45 of file GuillotineBlockKey.cpp.

const std::string stdair::GuillotineBlockKey::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-block.

Reimplemented from stdair::KeyAbstract.

Definition at line 49 of file GuillotineBlockKey.cpp.

Referenced by stdair::GuillotineBlock::describeKey(), and toStream().

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

Serialisation.

Definition at line 71 of file GuillotineBlockKey.cpp.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Definition at line 27 of file GuillotineBlockKey.hpp.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines