Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEFixElementsDialog< T >::ConflictElement Class Reference

Conflict. More...

#include <GNEFixElementsDialog.h>

Public Member Functions

 ConflictElement (T element, const std::string &id, FXIcon *icon, const std::string &description)
 constructor
const std::string & getDescription () const
 get conflict description
getElement () const
 conflicted element
FXIcon * getIcon () const
 get element icon
const std::string & getID () const
 get element ID
 ~ConflictElement ()
 destructor

Private Member Functions

 ConflictElement ()=delete
 invalidate default constructor

Private Attributes

std::string myDescription
 conflict description
myElement
 conflicted element
FXIcon * myIcon = nullptr
 icon
std::string myID
 ID of the element.

Detailed Description

template<typename T>
class GNEFixElementsDialog< T >::ConflictElement

Conflict.

Definition at line 38 of file GNEFixElementsDialog.h.

Constructor & Destructor Documentation

◆ ConflictElement() [1/2]

template<typename T>
GNEFixElementsDialog< T >::ConflictElement::ConflictElement ( T element,
const std::string & id,
FXIcon * icon,
const std::string & description )
inline

constructor

Definition at line 42 of file GNEFixElementsDialog.h.

References myDescription, myElement, myIcon, and myID.

◆ ~ConflictElement()

template<typename T>
GNEFixElementsDialog< T >::ConflictElement::~ConflictElement ( )
inline

destructor

Definition at line 49 of file GNEFixElementsDialog.h.

◆ ConflictElement() [2/2]

template<typename T>
GNEFixElementsDialog< T >::ConflictElement::ConflictElement ( )
privatedelete

invalidate default constructor

Member Function Documentation

◆ getDescription()

template<typename T>
const std::string & GNEFixElementsDialog< T >::ConflictElement::getDescription ( ) const
inline

get conflict description

Definition at line 67 of file GNEFixElementsDialog.h.

References myDescription.

◆ getElement()

template<typename T>
T GNEFixElementsDialog< T >::ConflictElement::getElement ( ) const
inline

conflicted element

Definition at line 52 of file GNEFixElementsDialog.h.

References myElement.

◆ getIcon()

template<typename T>
FXIcon * GNEFixElementsDialog< T >::ConflictElement::getIcon ( ) const
inline

get element icon

Definition at line 62 of file GNEFixElementsDialog.h.

References myIcon.

◆ getID()

template<typename T>
const std::string & GNEFixElementsDialog< T >::ConflictElement::getID ( ) const
inline

get element ID

Definition at line 57 of file GNEFixElementsDialog.h.

References myID.

Field Documentation

◆ myDescription

template<typename T>
std::string GNEFixElementsDialog< T >::ConflictElement::myDescription
private

conflict description

Definition at line 82 of file GNEFixElementsDialog.h.

Referenced by ConflictElement(), and getDescription().

◆ myElement

template<typename T>
T GNEFixElementsDialog< T >::ConflictElement::myElement
private

conflicted element

Definition at line 73 of file GNEFixElementsDialog.h.

Referenced by ConflictElement(), and getElement().

◆ myIcon

template<typename T>
FXIcon* GNEFixElementsDialog< T >::ConflictElement::myIcon = nullptr
private

icon

Definition at line 79 of file GNEFixElementsDialog.h.

Referenced by ConflictElement(), and getIcon().

◆ myID

template<typename T>
std::string GNEFixElementsDialog< T >::ConflictElement::myID
private

ID of the element.

Definition at line 76 of file GNEFixElementsDialog.h.

Referenced by ConflictElement(), and getID().


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