Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
IntegerTablesItem Class Reference
Inheritance diagram for IntegerTablesItem:
DissectorTablesItem ModelHelperTreeItem< DissectorTablesItem >

Public Member Functions

 IntegerTablesItem (unsigned int value, ftenum_t type, int display, QString dissectorDescription, DissectorTablesItem *parent)
 
virtual bool lessThan (DissectorTablesItem &right) const
 Compares this item with another for sorting purposes.
 
- Public Member Functions inherited from DissectorTablesItem
 DissectorTablesItem (QString tableName, QString dissectorDescription, DissectorTablesItem *parent)
 Constructs a new DissectorTablesItem.
 
virtual ~DissectorTablesItem ()
 Destroys the DissectorTablesItem.
 
QString tableName () const
 Retrieves the table name associated with this item.
 
QString dissectorDescription () const
 Retrieves the dissector description associated with this item.
 
- Public Member Functions inherited from ModelHelperTreeItem< DissectorTablesItem >
 ModelHelperTreeItem (DissectorTablesItem *parent)
 Constructs a new ModelHelperTreeItem.
 
virtual ~ModelHelperTreeItem ()
 Destroys the ModelHelperTreeItem and its children.
 
void appendChild (DissectorTablesItem *child)
 Appends a child item to the end of the children list.
 
void prependChild (DissectorTablesItem *child)
 Prepends a child item to the beginning of the children list.
 
void insertChild (int row, DissectorTablesItem *child)
 Inserts a child item at the specified row.
 
void removeChild (int row)
 Removes and deletes the child item at the specified row.
 
DissectorTablesItemchild (int row)
 Retrieves the child item at the specified row.
 
int childCount () const
 Gets the total number of child items.
 
int row ()
 Gets the row index of this item relative to its parent.
 
DissectorTablesItemparentItem ()
 Retrieves the parent item.
 

Protected Attributes

unsigned int value_
 
- Protected Attributes inherited from DissectorTablesItem
QString tableName_
 
QString dissectorDescription_
 
- Protected Attributes inherited from ModelHelperTreeItem< DissectorTablesItem >
DissectorTablesItemparent_
 
QList< QVariant > childItems_
 

Member Function Documentation

◆ lessThan()

bool IntegerTablesItem::lessThan ( DissectorTablesItem right) const
virtual

Compares this item with another for sorting purposes.

Parameters
rightThe other DissectorTablesItem to compare against.
Returns
True if this item is considered "less than" the right item, false otherwise.

Reimplemented from DissectorTablesItem.


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