StdAir Logo  1.00.15
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::SegmentSnapshotTableKey Struct Reference

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

#include <stdair/bom/SegmentSnapshotTableKey.hpp>

+ Inheritance diagram for stdair::SegmentSnapshotTableKey:

Public Member Functions

 SegmentSnapshotTableKey (const TableID_T &)
 
 SegmentSnapshotTableKey (const SegmentSnapshotTableKey &)
 
 ~SegmentSnapshotTableKey ()
 
const TableID_TgetTableID () 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 SegmentSnapshotTableKey.hpp.

Constructor & Destructor Documentation

◆ SegmentSnapshotTableKey() [1/2]

stdair::SegmentSnapshotTableKey::SegmentSnapshotTableKey ( const TableID_T & iTableID)

Constructor.

Definition at line 25 of file SegmentSnapshotTableKey.cpp.

◆ SegmentSnapshotTableKey() [2/2]

stdair::SegmentSnapshotTableKey::SegmentSnapshotTableKey ( const SegmentSnapshotTableKey & iKey)

Copy constructor.

Definition at line 31 of file SegmentSnapshotTableKey.cpp.

◆ ~SegmentSnapshotTableKey()

stdair::SegmentSnapshotTableKey::~SegmentSnapshotTableKey ( )

Destructor.

Definition at line 36 of file SegmentSnapshotTableKey.cpp.

Member Function Documentation

◆ getTableID()

const TableID_T & stdair::SegmentSnapshotTableKey::getTableID ( ) const
inline

Get the table ID.

Definition at line 56 of file SegmentSnapshotTableKey.hpp.

Referenced by stdair::SegmentSnapshotTable::getTableID().

◆ toStream()

void stdair::SegmentSnapshotTableKey::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 SegmentSnapshotTableKey.cpp.

References toString().

◆ fromStream()

void stdair::SegmentSnapshotTableKey::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 SegmentSnapshotTableKey.cpp.

◆ toString()

const std::string stdair::SegmentSnapshotTableKey::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 SegmentSnapshotTableKey.cpp.

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

◆ serialize()

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

Serialisation.

Definition at line 71 of file SegmentSnapshotTableKey.cpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 27 of file SegmentSnapshotTableKey.hpp.


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