StdAir Logo  1.00.16
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::YieldStore Class Reference

#include <stdair/bom/YieldStore.hpp>

+ Inheritance diagram for stdair::YieldStore:

Public Types

typedef YieldStoreKey Key_T
 

Public Member Functions

void toStream (std::ostream &ioOut) const
 
BomAbstract *const getParent () const
 
void fromStream (std::istream &ioIn)
 
std::string toString () const
 
const std::string describeKey () const
 
const Key_TgetKey () const
 
const AirlineCode_TgetAirlineCode () const
 

Protected Member Functions

 YieldStore (const Key_T &)
 
 YieldStore (const YieldStore &)
 
 ~YieldStore ()
 

Protected Attributes

Key_T _key
 
BomAbstract_parent
 

Friends

template<typename BOM>
class FacBom
 
class FacBomManager
 

Detailed Description

Class representing the actual attributes for an airline YieldStore.

Definition at line 18 of file YieldStore.hpp.

Member Typedef Documentation

◆ Key_T

Definition allowing to retrieve the associated BOM key type.

Definition at line 25 of file YieldStore.hpp.

Constructor & Destructor Documentation

◆ YieldStore() [1/2]

stdair::YieldStore::YieldStore ( const Key_T & iKey)
protected

Default constructors.

Definition at line 13 of file YieldStore.cpp.

References _key, and _parent.

Referenced by YieldStore().

◆ YieldStore() [2/2]

stdair::YieldStore::YieldStore ( const YieldStore & )
protected

References YieldStore().

◆ ~YieldStore()

stdair::YieldStore::~YieldStore ( )
protected

Destructor.

Definition at line 17 of file YieldStore.cpp.

Member Function Documentation

◆ toStream()

void stdair::YieldStore::toStream ( std::ostream & ioOut) const
inlinevirtual

Dump a Business Object into an output stream.

Parameters
ostream&the output stream.

Implements stdair::BomAbstract.

Definition at line 31 of file YieldStore.hpp.

References toString().

◆ getParent()

BomAbstract *const stdair::YieldStore::getParent ( ) const
inline

Get the parent object.

Definition at line 34 of file YieldStore.hpp.

References _parent, and stdair::BomAbstract::BomAbstract().

◆ fromStream()

void stdair::YieldStore::fromStream ( std::istream & ioIn)
inlinevirtual

Read a Business Object from an input stream.

Parameters
istream&the input stream.

Implements stdair::BomAbstract.

Definition at line 38 of file YieldStore.hpp.

◆ toString()

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

Get the serialised version of the Business Object.

Implements stdair::BomAbstract.

Definition at line 21 of file YieldStore.cpp.

References _key.

Referenced by toStream().

◆ describeKey()

const std::string stdair::YieldStore::describeKey ( ) const
inline

Get a string describing the key.

Definition at line 44 of file YieldStore.hpp.

References _key.

◆ getKey()

const Key_T & stdair::YieldStore::getKey ( ) const
inline

Get the YieldStore key.

Definition at line 49 of file YieldStore.hpp.

References _key.

◆ getAirlineCode()

const AirlineCode_T & stdair::YieldStore::getAirlineCode ( ) const
inline

Get the airline code.

Definition at line 52 of file YieldStore.hpp.

References _key.

Friends And Related Symbol Documentation

◆ FacBom

template<typename BOM>
friend class FacBom
friend

Definition at line 19 of file YieldStore.hpp.

References FacBom.

Referenced by FacBom.

◆ FacBomManager

friend class FacBomManager
friend

Definition at line 20 of file YieldStore.hpp.

References FacBomManager.

Referenced by FacBomManager.

Member Data Documentation

◆ _key

Key_T stdair::YieldStore::_key
protected

The key of both structure and objects.

Definition at line 66 of file YieldStore.hpp.

Referenced by describeKey(), getAirlineCode(), getKey(), toString(), and YieldStore().

◆ _parent

BomAbstract* stdair::YieldStore::_parent
protected

Definition at line 67 of file YieldStore.hpp.

Referenced by getParent(), and YieldStore().


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