StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::SnapshotStruct Struct Reference

#include <stdair/bom/SnapshotStruct.hpp>

+ Inheritance diagram for stdair::SnapshotStruct:

Public Member Functions

const AirlineCode_TgetAirlineCode () const
 
const DateTime_TgetSnapshotTime () 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 ()
 

Detailed Description

Structure holding the elements of a snapshot .

Definition at line 19 of file SnapshotStruct.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Get the airline code.

Definition at line 23 of file SnapshotStruct.hpp.

const DateTime_T& stdair::SnapshotStruct::getSnapshotTime ( ) const
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.

Parameters
ostream&the output stream.

Definition at line 36 of file SnapshotStruct.cpp.

References describe().

void stdair::SnapshotStruct::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 41 of file SnapshotStruct.cpp.

const std::string stdair::SnapshotStruct::describe ( ) const
virtual

Display of the structure.

Implements stdair::StructAbstract.

Definition at line 45 of file SnapshotStruct.cpp.

Referenced by toStream().


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