Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEElementTable Class Reference

#include <GNEElementTable.h>

Inheritance diagram for GNEElementTable:
[legend]
Collaboration diagram for GNEElementTable:
[legend]

Data Structures

class  ColumnHeader
 row header More...
class  Row
 table row More...

Public Member Functions

void disableTable ()
 Disable table.
void enableTable ()
 Enable table.
ColumnHeader * getColumnHeader () const
 get column header
std::string getValue (const size_t rowIndex, const size_t columnIndex) const
 get value
 GNEElementTable (GNEElementList *elementList, const GNETagProperties *tagProperties, GNEElementList::Options options)
 constructor
bool isValid () const
 check if the current values of the table are valid
void resizeTable (const size_t numRows)
 resize table
void updateRow (const size_t index, GNEAttributeCarrier *AC)
 update row
 ~GNEElementTable ()
 destructor

Protected Attributes

ColumnHeader * myColumnHeader = nullptr
 column header
GNEElementList * myElementList = nullptr
 pointer to the parent element list
GNEElementList::Options myOptions = GNEElementList::Options::NONE
 GNEElementList options.
std::vector< Row * > myRows
 rows
FXVerticalFrame * myRowsFrame = nullptr
 vertical frame for rows
FXScrollWindow * myScrollWindow = nullptr
 scrollWindow for rows

Private Member Functions

 GNEElementTable (const GNEElementTable &)=delete
 Invalidated duplicate constructor.
GNEElementTable & operator= (const GNEElementTable &)=delete
 Invalidated assignment operator.

Detailed Description

Definition at line 35 of file GNEElementTable.h.

Constructor & Destructor Documentation

◆ GNEElementTable() [1/2]

GNEElementTable::GNEElementTable ( GNEElementList * elementList,
const GNETagProperties * tagProperties,
GNEElementList::Options options )

constructor

Definition at line 323 of file GNEElementTable.cpp.

References GUIDesignAuxiliarFrame, GUIDesignBackgroundColorWhite, GUIDesignScrollWindowFixedWidth, myColumnHeader, myElementList, myOptions, myRowsFrame, and myScrollWindow.

Referenced by GNEElementTable::ColumnHeader::ColumnHeader(), GNEElementTable(), operator=(), GNEElementTable::Row::operator=(), and GNEElementTable::Row::Row().

Here is the caller graph for this function:

◆ ~GNEElementTable()

GNEElementTable::~GNEElementTable ( )

destructor

Definition at line 338 of file GNEElementTable.cpp.

◆ GNEElementTable() [2/2]

GNEElementTable::GNEElementTable ( const GNEElementTable & )
privatedelete

Invalidated duplicate constructor.

References GNEElementTable().

Member Function Documentation

◆ disableTable()

void GNEElementTable::disableTable ( )

Disable table.

Definition at line 360 of file GNEElementTable.cpp.

References myRows.

Referenced by GNEElementTable::Row::operator=().

Here is the caller graph for this function:

◆ enableTable()

void GNEElementTable::enableTable ( )

Enable table.

Definition at line 349 of file GNEElementTable.cpp.

References myRows.

Referenced by GNEElementTable::Row::operator=().

Here is the caller graph for this function:

◆ getColumnHeader()

GNEElementTable::ColumnHeader * GNEElementTable::getColumnHeader ( ) const

get column header

Definition at line 343 of file GNEElementTable.cpp.

References myColumnHeader.

Referenced by GNEElementTable::Row::operator=().

Here is the caller graph for this function:

◆ getValue()

std::string GNEElementTable::getValue ( const size_t rowIndex,
const size_t columnIndex ) const

get value

Definition at line 408 of file GNEElementTable.cpp.

References myRows.

◆ isValid()

bool GNEElementTable::isValid ( ) const

check if the current values of the table are valid

Definition at line 371 of file GNEElementTable.cpp.

References myRows.

◆ operator=()

GNEElementTable & GNEElementTable::operator= ( const GNEElementTable & )
privatedelete

Invalidated assignment operator.

References GNEElementTable().

◆ resizeTable()

void GNEElementTable::resizeTable ( const size_t numRows)

resize table

Definition at line 383 of file GNEElementTable.cpp.

References myRows.

Referenced by GNEElementTable::Row::operator=().

Here is the caller graph for this function:

◆ updateRow()

void GNEElementTable::updateRow ( const size_t index,
GNEAttributeCarrier * AC )

update row

Definition at line 393 of file GNEElementTable.cpp.

References myRows.

Field Documentation

◆ myColumnHeader

ColumnHeader* GNEElementTable::myColumnHeader = nullptr
protected

column header

Definition at line 194 of file GNEElementTable.h.

Referenced by getColumnHeader(), and GNEElementTable().

◆ myElementList

GNEElementList* GNEElementTable::myElementList = nullptr
protected

pointer to the parent element list

Definition at line 188 of file GNEElementTable.h.

Referenced by GNEElementTable().

◆ myOptions

GNEElementList::Options GNEElementTable::myOptions = GNEElementList::Options::NONE
protected

GNEElementList options.

Definition at line 191 of file GNEElementTable.h.

Referenced by GNEElementTable(), and GNEElementTable::Row::Row().

◆ myRows

std::vector<Row*> GNEElementTable::myRows
protected

rows

Definition at line 203 of file GNEElementTable.h.

Referenced by disableTable(), enableTable(), getValue(), isValid(), resizeTable(), and updateRow().

◆ myRowsFrame

FXVerticalFrame* GNEElementTable::myRowsFrame = nullptr
protected

vertical frame for rows

Definition at line 200 of file GNEElementTable.h.

Referenced by GNEElementTable(), and GNEElementTable::Row::Row().

◆ myScrollWindow

FXScrollWindow* GNEElementTable::myScrollWindow = nullptr
protected

scrollWindow for rows

Definition at line 197 of file GNEElementTable.h.

Referenced by GNEElementTable().


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