Structure holding the elements of a travel solution. More...
#include <stdair/bom/CancellationStruct.hpp>
Public Member Functions | |
const SegmentPath_T & | getSegmentPath () const |
const ClassList_String_T & | getClassList () const |
const PartySize_T & | getPartySize () const |
const DateTime_T & | getCancellationDateTime () 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 () |
Structure holding the elements of a travel solution.
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.
stdair::CancellationStruct::~CancellationStruct | ( | ) |
Destructor.
Definition at line 22 of file CancellationStruct.cpp.
const SegmentPath_T& stdair::CancellationStruct::getSegmentPath | ( | ) | const [inline] |
Get the segment path.
Definition at line 26 of file CancellationStruct.hpp.
const ClassList_String_T& stdair::CancellationStruct::getClassList | ( | ) | const [inline] |
Get the class list.
Definition at line 31 of file CancellationStruct.hpp.
const PartySize_T& stdair::CancellationStruct::getPartySize | ( | ) | const [inline] |
Get the party size.
Definition at line 36 of file CancellationStruct.hpp.
const DateTime_T& stdair::CancellationStruct::getCancellationDateTime | ( | ) | const [inline] |
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.
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.
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.