Class representing the root of the schedule-related BOM tree. More...
#include <airtsp/bom/ReachableUniverse.hpp>
Public Types | |
typedef ReachableUniverseKey | Key_T |
Public Member Functions | |
const Key_T & | getKey () const |
const stdair::AirportCode_T & | getOrigin () const |
stdair::BomAbstract *const | getParent () const |
const stdair::HolderMap_T & | getHolderMap () const |
const SegmentPathPeriodListList_T & | getSegmentPathPeriodListList () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
std::string | toString () const |
const std::string | describeKey () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int iFileVersion) |
Protected Member Functions | |
ReachableUniverse (const Key_T &) | |
~ReachableUniverse () | |
Protected Attributes | |
Key_T | _key |
stdair::BomAbstract * | _parent |
stdair::HolderMap_T | _holderMap |
SegmentPathPeriodListList_T | _segmentPathPeriodListList |
Friends | |
template<typename BOM > | |
class | stdair::FacBom |
class | stdair::FacBomManager |
class | SegmentPathGenerator |
class | boost::serialization::access |
Class representing the root of the schedule-related BOM tree.
It is the pending, in the schedule universe, of the stdair::Inventory class. It corresponds to all the destinations, which can be reached from a given geographical point. That latter is an airport for now, and its key (airport code) is specified by the ReachableUniverseKey object.
Definition at line 41 of file ReachableUniverse.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 55 of file ReachableUniverse.hpp.
|
protected |
Main constructor.
Definition at line 32 of file ReachableUniverse.cpp.
|
protected |
Destructor.
Definition at line 37 of file ReachableUniverse.cpp.
|
inline |
Get the universe key (airport code representing the departure point of the "reachable universe").
Definition at line 63 of file ReachableUniverse.hpp.
References _key.
|
inline |
Get the (origin) airport (i.e., the primary key).
Definition at line 70 of file ReachableUniverse.hpp.
References _key, and AIRTSP::ReachableUniverseKey::getBoardingPoint().
|
inline |
Get the parent (i.e., the BomRoot) object.
Definition at line 77 of file ReachableUniverse.hpp.
References _parent.
|
inline |
Get the map of children holders (OriginDestinationSet objects).
Definition at line 84 of file ReachableUniverse.hpp.
References _holderMap.
|
inline |
Get the vector of SegmentPathPeriodLightList objects.
Definition at line 91 of file ReachableUniverse.hpp.
References _segmentPathPeriodListList.
|
inline |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Definition at line 103 of file ReachableUniverse.hpp.
References toString().
|
inline |
Read a Business Object from an input stream.
istream& | the input stream. |
Definition at line 112 of file ReachableUniverse.hpp.
std::string AIRTSP::ReachableUniverse::toString | ( | ) | const |
Get the serialised version of the Business Object.
Definition at line 41 of file ReachableUniverse.cpp.
References _key, and AIRTSP::ReachableUniverseKey::toString().
Referenced by AIRTSP::BomDisplay::csvDisplay(), and toStream().
|
inline |
Get a string describing the key.
Definition at line 123 of file ReachableUniverse.hpp.
References _key, and AIRTSP::ReachableUniverseKey::toString().
void AIRTSP::ReachableUniverse::serialize | ( | Archive & | ar, |
const unsigned int | iFileVersion | ||
) |
|
friend |
Friend classes.
Definition at line 45 of file ReachableUniverse.hpp.
|
friend |
Definition at line 46 of file ReachableUniverse.hpp.
|
friend |
Definition at line 47 of file ReachableUniverse.hpp.
|
friend |
Definition at line 48 of file ReachableUniverse.hpp.
|
protected |
Primary key (origin airport code).
Definition at line 174 of file ReachableUniverse.hpp.
Referenced by describeKey(), getKey(), getOrigin(), serialize(), and toString().
|
protected |
Pointer on the parent (BomRoot) object.
Definition at line 179 of file ReachableUniverse.hpp.
Referenced by getParent().
|
protected |
Map holding the children (OriginDestinationSet objects).
Definition at line 184 of file ReachableUniverse.hpp.
Referenced by getHolderMap().
|
protected |
The list (actually, a vector) of lists of SegmentPathPeriods, used solely for the construction of the main list of SegmentPathPeriods within the ReachableUniverseStructure.
Definition at line 191 of file ReachableUniverse.hpp.
Referenced by getSegmentPathPeriodListList().