Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimNodeDef Class Referenceabstract

#include <NIVissimNodeDef.h>

Inheritance diagram for NIVissimNodeDef:
[legend]

Public Member Functions

int buildNodeCluster ()
virtual double getEdgePosition (int edgeid) const =0
 NIVissimNodeDef (int id, const std::string &name)
virtual ~NIVissimNodeDef ()

Static Public Member Functions

static void clearDict ()
static NIVissimNodeDefdictionary (int id)
static bool dictionary (int id, NIVissimNodeDef *o)
static int getMaxID ()

Protected Attributes

int myID
std::string myName

Private Types

typedef std::map< int, NIVissimNodeDef * > DictType

Static Private Attributes

static DictType myDict
static int myMaxID = 0

Detailed Description

Definition at line 31 of file NIVissimNodeDef.h.

Member Typedef Documentation

◆ DictType

typedef std::map<int, NIVissimNodeDef*> NIVissimNodeDef::DictType
private

Definition at line 54 of file NIVissimNodeDef.h.

Constructor & Destructor Documentation

◆ NIVissimNodeDef()

NIVissimNodeDef::NIVissimNodeDef ( int id,
const std::string & name )

Definition at line 42 of file NIVissimNodeDef.cpp.

References myID, and myName.

Referenced by dictionary(), getEdgePosition(), and NIVissimNodeDef_Edges::NIVissimNodeDef_Edges().

Here is the caller graph for this function:

◆ ~NIVissimNodeDef()

NIVissimNodeDef::~NIVissimNodeDef ( )
virtual

Definition at line 46 of file NIVissimNodeDef.cpp.

Member Function Documentation

◆ buildNodeCluster()

int NIVissimNodeDef::buildNodeCluster ( )

◆ clearDict()

void NIVissimNodeDef::clearDict ( )
static

Definition at line 117 of file NIVissimNodeDef.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ dictionary() [1/2]

NIVissimNodeDef * NIVissimNodeDef::dictionary ( int id)
static

Definition at line 65 of file NIVissimNodeDef.cpp.

References myDict.

◆ dictionary() [2/2]

bool NIVissimNodeDef::dictionary ( int id,
NIVissimNodeDef * o )
static

Definition at line 50 of file NIVissimNodeDef.cpp.

References myDict, myMaxID, and NIVissimNodeDef().

Referenced by NIVissimNodeDef_Edges::dictionary(), NIVissimNodeDef_Poly::dictionary(), and NIVissimConnectionCluster::getPositionForEdge().

Here is the caller graph for this function:

◆ getEdgePosition()

virtual double NIVissimNodeDef::getEdgePosition ( int edgeid) const
pure virtual

Implemented in NIVissimNodeDef_Edges.

References NIVissimNodeDef().

Referenced by NIVissimConnectionCluster::getPositionForEdge().

Here is the caller graph for this function:

◆ getMaxID()

int NIVissimNodeDef::getMaxID ( )
static

Definition at line 126 of file NIVissimNodeDef.cpp.

References myMaxID.

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

Field Documentation

◆ myDict

NIVissimNodeDef::DictType NIVissimNodeDef::myDict
staticprivate

Definition at line 55 of file NIVissimNodeDef.h.

Referenced by clearDict(), dictionary(), and dictionary().

◆ myID

int NIVissimNodeDef::myID
protected

Definition at line 50 of file NIVissimNodeDef.h.

Referenced by NIVissimNodeDef().

◆ myMaxID

int NIVissimNodeDef::myMaxID = 0
staticprivate

Definition at line 56 of file NIVissimNodeDef.h.

Referenced by dictionary(), and getMaxID().

◆ myName

std::string NIVissimNodeDef::myName
protected

Definition at line 51 of file NIVissimNodeDef.h.

Referenced by NIVissimNodeDef().


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