Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
Named::StoringVisitor Class Reference

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

#include <Named.h>

Public Member Functions

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

Data Fields

std::set< const Named * > & myObjects
 The container.
 

Private Member Functions

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

Detailed Description

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

Definition at line 90 of file Named.h.

Constructor & Destructor Documentation

◆ StoringVisitor() [1/2]

Named::StoringVisitor::StoringVisitor ( std::set< const Named * > &  objects)
inline

Constructor.

Definition at line 93 of file Named.h.

◆ ~StoringVisitor()

Named::StoringVisitor::~StoringVisitor ( )
inline

Destructor.

Definition at line 96 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 99 of file Named.h.

References myObjects.

Referenced by Named::addTo().

Here is the caller graph for this function:

◆ operator=()

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

invalidated assignment operator

Field Documentation

◆ myObjects

std::set<const Named*>& Named::StoringVisitor::myObjects

The container.

Definition at line 104 of file Named.h.

Referenced by add().


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