WSF
XWsfSeaTraffic::SeaPort Class Reference

#include <XWsfSeaTraffic.hpp>

Collaboration diagram for XWsfSeaTraffic::SeaPort:

Public Member Functions

 SeaPort ()
 SeaPort (WsfStringId aNameId)
 ~SeaPort ()
bool ProcessInput (UtInput &aInput)
bool Initialize (XWsfSeaTraffic &aSeaTraffic)
bool operator== (const SeaPort &aRhs) const

Public Attributes

WsfStringId mNameId
SeaRegion mPosition
std::vector< SeaRegionmPortRoute
std::vector< SeaRegionmLocalTrafficRegions
double mDepartureInterval
double mDepVehiclesInterval
double mLocVehiclesInterval
bool mUseAllLanes
std::vector< WsfStringIdmSeaLaneIds
std::vector< double > mDstPortWeights
std::vector< WsfStringIdmAirportIds

Detailed Description

Nested Class Defines a sea port by a position and optionally a path that leads to the port location. Ports contains a list of sea lanes that connect the port with other ports.

Constructor & Destructor Documentation

◆ SeaPort() [1/2]

XWsfSeaTraffic::SeaPort::SeaPort ( )
inline

References mNameId.

Referenced by Initialize(), and operator==().

◆ SeaPort() [2/2]

XWsfSeaTraffic::SeaPort::SeaPort ( WsfStringId aNameId)
inline

◆ ~SeaPort()

XWsfSeaTraffic::SeaPort::~SeaPort ( )
inline

Member Function Documentation

◆ Initialize()

bool XWsfSeaTraffic::SeaPort::Initialize ( XWsfSeaTraffic & aSeaTraffic)

◆ operator==()

bool XWsfSeaTraffic::SeaPort::operator== ( const SeaPort & aRhs) const
inline

References mNameId, and SeaPort().

◆ ProcessInput()

bool XWsfSeaTraffic::SeaPort::ProcessInput ( UtInput & aInput)

Parses the port ... end_port input block. Returns true if successful. Throws an input exception if an error is encountered. aInput: The input object.

References mDepartureInterval, mDstPortWeights, mLocalTrafficRegions, mPortRoute, mPosition, mSeaLaneIds, and mUseAllLanes.

Member Data Documentation

◆ mAirportIds

std::vector<WsfStringId> XWsfSeaTraffic::SeaPort::mAirportIds

◆ mDepartureInterval

double XWsfSeaTraffic::SeaPort::mDepartureInterval

◆ mDepVehiclesInterval

double XWsfSeaTraffic::SeaPort::mDepVehiclesInterval

Referenced by Initialize(), and SeaPort().

◆ mDstPortWeights

std::vector<double> XWsfSeaTraffic::SeaPort::mDstPortWeights

Referenced by Initialize(), and ProcessInput().

◆ mLocalTrafficRegions

std::vector<SeaRegion> XWsfSeaTraffic::SeaPort::mLocalTrafficRegions

Referenced by Initialize(), and ProcessInput().

◆ mLocVehiclesInterval

double XWsfSeaTraffic::SeaPort::mLocVehiclesInterval

Referenced by SeaPort().

◆ mNameId

WsfStringId XWsfSeaTraffic::SeaPort::mNameId

◆ mPortRoute

std::vector<SeaRegion> XWsfSeaTraffic::SeaPort::mPortRoute

Referenced by ProcessInput().

◆ mPosition

SeaRegion XWsfSeaTraffic::SeaPort::mPosition

Referenced by ProcessInput().

◆ mSeaLaneIds

std::vector<WsfStringId> XWsfSeaTraffic::SeaPort::mSeaLaneIds

Referenced by Initialize(), and ProcessInput().

◆ mUseAllLanes

bool XWsfSeaTraffic::SeaPort::mUseAllLanes

Referenced by Initialize(), ProcessInput(), and SeaPort().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved