#include <stdair/bom/AirlineStruct.hpp>
Public Member Functions | |
const AirlineCode_T & | getAirlineCode () const |
const std::string & | getAirlineName () const |
void | setAirlineCode (const AirlineCode_T &iAirlineCode) |
void | setAirlineName (const std::string &iAirlineName) |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | describe () const |
AirlineStruct (const AirlineCode_T &, const std::string &iAirlineName) | |
AirlineStruct () | |
AirlineStruct (const AirlineStruct &) | |
~AirlineStruct () | |
Structure holding parameters describing an airline.
Definition at line 18 of file AirlineStruct.hpp.
stdair::AirlineStruct::AirlineStruct | ( | const AirlineCode_T & | iAirlineCode, |
const std::string & | iAirlineName | ||
) |
Main constructor.
Definition at line 24 of file AirlineStruct.cpp.
stdair::AirlineStruct::AirlineStruct | ( | ) |
Default constructor.
Definition at line 15 of file AirlineStruct.cpp.
stdair::AirlineStruct::AirlineStruct | ( | const AirlineStruct & | iAirlineStruct | ) |
Default copy constructor.
Definition at line 19 of file AirlineStruct.cpp.
stdair::AirlineStruct::~AirlineStruct | ( | ) |
Destructor.
Definition at line 30 of file AirlineStruct.cpp.
|
inline |
Get the airline code.
Definition at line 22 of file AirlineStruct.hpp.
Referenced by soci::type_conversion< stdair::AirlineStruct >::to_base(), and stdair::DBManagerForAirlines::updateAirlineInDB().
|
inline |
Get the airline name.
Definition at line 27 of file AirlineStruct.hpp.
Referenced by soci::type_conversion< stdair::AirlineStruct >::to_base(), and stdair::DBManagerForAirlines::updateAirlineInDB().
|
inline |
Set the airline code.
Definition at line 33 of file AirlineStruct.hpp.
Referenced by soci::type_conversion< stdair::AirlineStruct >::from_base().
|
inline |
Set the airline name.
Definition at line 38 of file AirlineStruct.hpp.
Referenced by soci::type_conversion< stdair::AirlineStruct >::from_base().
void stdair::AirlineStruct::toStream | ( | std::ostream & | ioOut | ) | const |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Definition at line 34 of file AirlineStruct.cpp.
References describe().
|
virtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 39 of file AirlineStruct.cpp.
|
virtual |
Display of the structure.
Implements stdair::StructAbstract.
Definition at line 43 of file AirlineStruct.cpp.
Referenced by toStream().