Structure representing the key of a sub-network. More...
#include <airtsp/bom/OriginDestinationSetKey.hpp>
 Inheritance diagram for AIRTSP::OriginDestinationSetKey:Public Member Functions | |
| OriginDestinationSetKey (const stdair::AirportCode_T &iDestination) | |
| OriginDestinationSetKey (const OriginDestinationSetKey &) | |
| ~OriginDestinationSetKey () | |
| const stdair::AirportCode_T & | getOffPoint () const | 
| void | toStream (std::ostream &ioOut) const | 
| void | fromStream (std::istream &ioIn) | 
| const std::string | toString () const | 
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int iFileVersion) | 
Friends | |
| class | boost::serialization::access | 
Structure representing the key of a sub-network.
As the origin airport code is already part of the ReachableUniverse (parent) class, that key is only made of the destination airport code.
Definition at line 30 of file OriginDestinationSetKey.hpp.
| AIRTSP::OriginDestinationSetKey::OriginDestinationSetKey | ( | const stdair::AirportCode_T & | iDestination | ) | 
Constructor.
Definition at line 26 of file OriginDestinationSetKey.cpp.
| AIRTSP::OriginDestinationSetKey::OriginDestinationSetKey | ( | const OriginDestinationSetKey & | iKey | ) | 
Copy constructor.
Definition at line 32 of file OriginDestinationSetKey.cpp.
| AIRTSP::OriginDestinationSetKey::~OriginDestinationSetKey | ( | ) | 
Destructor.
Definition at line 37 of file OriginDestinationSetKey.cpp.
      
  | 
  inline | 
Get the destination airport.
Definition at line 62 of file OriginDestinationSetKey.hpp.
Referenced by AIRTSP::OriginDestinationSet::getDestination().
| void AIRTSP::OriginDestinationSetKey::toStream | ( | std::ostream & | ioOut | ) | const | 
Dump a Business Object Key into an output stream.
| ostream& | the output stream. | 
Definition at line 41 of file OriginDestinationSetKey.cpp.
References toString().
| void AIRTSP::OriginDestinationSetKey::fromStream | ( | std::istream & | ioIn | ) | 
Read a Business Object Key from an input stream.
| istream& | the input stream. | 
Definition at line 46 of file OriginDestinationSetKey.cpp.
| const std::string AIRTSP::OriginDestinationSetKey::toString | ( | ) | const | 
Get the serialised version of the Business Object Key.
That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.
For instance, "H" and "K" allow to differentiate among two marketing classes for the same segment-date.
Definition at line 50 of file OriginDestinationSetKey.cpp.
Referenced by AIRTSP::OriginDestinationSet::describeKey(), toStream(), and AIRTSP::OriginDestinationSet::toString().
| void AIRTSP::OriginDestinationSetKey::serialize | ( | Archive & | ar, | 
| const unsigned int | iFileVersion | ||
| ) | 
Serialisation.
Definition at line 72 of file OriginDestinationSetKey.cpp.
      
  | 
  friend | 
Definition at line 31 of file OriginDestinationSetKey.hpp.
 
		  1.8.3.1