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

Structure holding the elements of a travel solution. More...

#include <stdair/bom/CancellationStruct.hpp>

+ Inheritance diagram for stdair::CancellationStruct:

List of all members.

Public Member Functions

const SegmentPath_TgetSegmentPath () const
const ClassList_String_TgetClassList () const
const PartySize_TgetPartySize () const
const DateTime_TgetCancellationDateTime () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string describe () const
const std::string display () const
 CancellationStruct (const SegmentPath_T &, const ClassList_String_T &, const PartySize_T &, const DateTime_T &)
 ~CancellationStruct ()

Detailed Description

Structure holding the elements of a travel solution.

Definition at line 22 of file CancellationStruct.hpp.


Constructor & Destructor Documentation

stdair::CancellationStruct::CancellationStruct ( const SegmentPath_T iSegPath,
const ClassList_String_T iList,
const PartySize_T iSize,
const DateTime_T iDateTime 
)

Default constructor.

Definition at line 13 of file CancellationStruct.cpp.

Destructor.

Definition at line 22 of file CancellationStruct.cpp.


Member Function Documentation

Get the segment path.

Definition at line 26 of file CancellationStruct.hpp.

Get the class list.

Definition at line 31 of file CancellationStruct.hpp.

Get the party size.

Definition at line 36 of file CancellationStruct.hpp.

Get the datetime.

Definition at line 41 of file CancellationStruct.hpp.

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

Dump a Business Object into an output stream.

Parameters:
ostream&the output stream.

Reimplemented from stdair::StructAbstract.

Definition at line 26 of file CancellationStruct.cpp.

References describe().

void stdair::CancellationStruct::fromStream ( std::istream &  ioIn) [virtual]

Read a Business Object from an input stream.

Parameters:
istream&the input stream.

Reimplemented from stdair::StructAbstract.

Definition at line 31 of file CancellationStruct.cpp.

const std::string stdair::CancellationStruct::describe ( ) const [virtual]

Display of the structure.

Implements stdair::StructAbstract.

Definition at line 35 of file CancellationStruct.cpp.

Referenced by toStream().

const std::string stdair::CancellationStruct::display ( ) const

Display of the structure.

Definition at line 54 of file CancellationStruct.cpp.


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