MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
cda_rail::Network::VertexInput Struct Reference

Unified vertex descriptor accepted by all public API functions. More...

#include <RailwayNetwork.hpp>

Public Member Functions

 VertexInput (size_t i)
 VertexInput (std::string_view v_name)
 VertexInput (Vertex vertex)

Friends

class Network
class Timetable

Detailed Description

Unified vertex descriptor accepted by all public API functions.

Implicitly convertible from a numeric index (size_t), a name (std::string_view), or a full Vertex object, so callers can pass any of these forms without explicit casts.

Constructor & Destructor Documentation

◆ VertexInput() [1/3]

cda_rail::Network::VertexInput::VertexInput ( size_t i)
inline

◆ VertexInput() [2/3]

cda_rail::Network::VertexInput::VertexInput ( std::string_view v_name)
inline

◆ VertexInput() [3/3]

cda_rail::Network::VertexInput::VertexInput ( Vertex vertex)
inline

◆ Network

friend class Network
friend

◆ Timetable

friend class Timetable
friend

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