#include <stdair/bom/SnapshotStruct.hpp>
Public Member Functions | |
const AirlineCode_T & | getAirlineCode () const |
const DateTime_T & | getSnapshotTime () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | describe () const |
SnapshotStruct (const AirlineCode_T &, const DateTime_T &) | |
SnapshotStruct (const SnapshotStruct &) | |
~SnapshotStruct () |
Structure holding the elements of a snapshot .
Definition at line 19 of file SnapshotStruct.hpp.
stdair::SnapshotStruct::SnapshotStruct | ( | const AirlineCode_T & | iAirlineCode, |
const DateTime_T & | iSnapshotTime | ||
) |
Constructor.
Definition at line 26 of file SnapshotStruct.cpp.
stdair::SnapshotStruct::SnapshotStruct | ( | const SnapshotStruct & | iSnapshot | ) |
Copy constructor.
Definition at line 19 of file SnapshotStruct.cpp.
stdair::SnapshotStruct::~SnapshotStruct | ( | ) |
Destructor.
Definition at line 32 of file SnapshotStruct.cpp.
|
inline |
Get the airline code.
Definition at line 23 of file SnapshotStruct.hpp.
|
inline |
Get the snapshot action time.
Definition at line 28 of file SnapshotStruct.hpp.
void stdair::SnapshotStruct::toStream | ( | std::ostream & | ioOut | ) | const |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 36 of file SnapshotStruct.cpp.
References describe().
|
virtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 41 of file SnapshotStruct.cpp.
|
virtual |
Display of the structure.
Implements stdair::StructAbstract.
Definition at line 45 of file SnapshotStruct.cpp.
Referenced by toStream().