SUMO - Simulation of Urban MObility
GNEFrame::ACAttributes Class Reference

#include <GNEFrame.h>

Inheritance diagram for GNEFrame::ACAttributes:
Inheritance graph
Collaboration diagram for GNEFrame::ACAttributes:
Collaboration graph

Public Member Functions

 ACAttributes (GNEFrame *frameParent)
 constructor More...
 
bool areValuesValid () const
 check if parameters of attributes are valid More...
 
std::map< SumoXMLAttr, std::string > getAttributesAndValues () const
 get attributes and their values More...
 
int getNumberOfAddedAttributes () const
 get number of added attributes More...
 
void hideACAttributesModul ()
 hide group box More...
 
void showACAttributesModul (const GNEAttributeCarrier::TagProperties &myTagProperties)
 show ACAttributes modul More...
 
void showWarningMessage (std::string extra="") const
 show warning message with information about non-valid attributes More...
 
 ~ACAttributes ()
 destructor More...
 
FOX-callbacks

Called when help button is pressed

long onCmdHelp (FXObject *, FXSelector, void *)
 

Protected Member Functions

 ACAttributes ()
 FOX needs this. More...
 

Private Attributes

std::vector< ACAttributeRow * > myACAttributeRows
 vector with the ACAttribute Rows More...
 
GNEFramemyFrameParent
 pointer to Polygon Frame Parent More...
 
GNEAttributeCarrier::TagProperties myTagProperties
 current edited Tag Properties More...
 

Friends

class ACAttributeRow
 FOX-declaration. More...
 

Detailed Description

Definition at line 181 of file GNEFrame.h.

Constructor & Destructor Documentation

◆ ACAttributes() [1/2]

GNEFrame::ACAttributes::ACAttributes ( GNEFrame frameParent)

◆ ~ACAttributes()

GNEFrame::ACAttributes::~ACAttributes ( )

destructor

Definition at line 461 of file GNEFrame.cpp.

◆ ACAttributes() [2/2]

GNEFrame::ACAttributes::ACAttributes ( )
inlineprotected

FOX needs this.

Definition at line 221 of file GNEFrame.h.

Member Function Documentation

◆ areValuesValid()

◆ getAttributesAndValues()

std::map< SumoXMLAttr, std::string > GNEFrame::ACAttributes::getAttributesAndValues ( ) const

◆ getNumberOfAddedAttributes()

int GNEFrame::ACAttributes::getNumberOfAddedAttributes ( ) const

get number of added attributes

Definition at line 546 of file GNEFrame.cpp.

◆ hideACAttributesModul()

void GNEFrame::ACAttributes::hideACAttributesModul ( )

hide group box

Definition at line 487 of file GNEFrame.cpp.

References GNEFrame::hide().

Referenced by GNEPolygonFrame::disableModuls(), and GNEAdditionalFrame::disableModuls().

◆ onCmdHelp()

long GNEFrame::ACAttributes::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

◆ showACAttributesModul()

void GNEFrame::ACAttributes::showACAttributesModul ( const GNEAttributeCarrier::TagProperties myTagProperties)

◆ showWarningMessage()

Friends And Related Function Documentation

◆ ACAttributeRow

friend class ACAttributeRow
friend

FOX-declaration.

Definition at line 186 of file GNEFrame.h.

Referenced by ACAttributes().

Field Documentation

◆ myACAttributeRows

std::vector<ACAttributeRow*> GNEFrame::ACAttributes::myACAttributeRows
private

vector with the ACAttribute Rows

Definition at line 231 of file GNEFrame.h.

Referenced by ACAttributes(), areValuesValid(), getAttributesAndValues(), showACAttributesModul(), and showWarningMessage().

◆ myFrameParent

GNEFrame* GNEFrame::ACAttributes::myFrameParent
private

pointer to Polygon Frame Parent

Definition at line 221 of file GNEFrame.h.

Referenced by onCmdHelp(), and showWarningMessage().

◆ myTagProperties

GNEAttributeCarrier::TagProperties GNEFrame::ACAttributes::myTagProperties
private

current edited Tag Properties

Definition at line 228 of file GNEFrame.h.

Referenced by areValuesValid(), onCmdHelp(), GNEFrame::ACAttributeRow::onCmdSetAttribute(), showACAttributesModul(), and showWarningMessage().


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