SUMO - Simulation of Urban MObility
Named::StoringVisitor Class Reference

Allows to store the object; used as context while traveling the rtree in TraCI. More...

#include <Named.h>

Collaboration diagram for Named::StoringVisitor:
Collaboration graph

Public Member Functions

void add (const Named *const o) const
 Adds the given object to the container. More...
 
 StoringVisitor (std::set< std::string > &ids)
 Contructor. More...
 
 ~StoringVisitor ()
 Destructor. More...
 

Data Fields

std::set< std::string > & myIDs
 The container. More...
 

Private Member Functions

StoringVisitoroperator= (const StoringVisitor &src)
 invalidated assignment operator More...
 
 StoringVisitor (const StoringVisitor &src)
 invalidated copy constructor More...
 

Detailed Description

Allows to store the object; used as context while traveling the rtree in TraCI.

Definition at line 94 of file Named.h.

Constructor & Destructor Documentation

◆ StoringVisitor() [1/2]

Named::StoringVisitor::StoringVisitor ( std::set< std::string > &  ids)
inline

Contructor.

Definition at line 97 of file Named.h.

◆ ~StoringVisitor()

Named::StoringVisitor::~StoringVisitor ( )
inline

Destructor.

Definition at line 100 of file Named.h.

◆ StoringVisitor() [2/2]

Named::StoringVisitor::StoringVisitor ( const StoringVisitor src)
private

invalidated copy constructor

Member Function Documentation

◆ add()

void Named::StoringVisitor::add ( const Named *const  o) const
inline

Adds the given object to the container.

Definition at line 103 of file Named.h.

References Named::getID().

Referenced by Named::addTo().

◆ operator=()

StoringVisitor& Named::StoringVisitor::operator= ( const StoringVisitor src)
private

invalidated assignment operator

Field Documentation

◆ myIDs

std::set<std::string>& Named::StoringVisitor::myIDs

The container.

Definition at line 108 of file Named.h.


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