Represents a single packet or group item in the expert information tree.
More...
#include <expert_info_model.h>
|
| static QString | groupKey (bool group_by_summary, int severity, int group, QString protocol, int expert_hf) |
| | Generates a grouping key based on item properties.
|
| |
Represents a single packet or group item in the expert information tree.
◆ ExpertPacketItem()
Constructs a new ExpertPacketItem.
- Parameters
-
| expert_info | The expert information structure. |
| cinfo | The column information. |
| parent | The parent item in the tree. |
◆ appendChild()
Appends a child item to this item.
- Parameters
-
| child | The child item to append. |
| hash | The hash key to associate with the child. |
◆ child() [1/2]
Retrieves the child item at a specific row.
- Parameters
-
| row | The row index of the child. |
- Returns
- A pointer to the child ExpertPacketItem.
◆ child() [2/2]
Retrieves the child item associated with a specific hash.
- Parameters
-
| hash | The hash key of the child. |
- Returns
- A pointer to the child ExpertPacketItem, or null if not found.
◆ childCount()
| int ExpertPacketItem::childCount |
( |
| ) |
const |
Gets the number of children this item has.
- Returns
- The child count.
◆ colInfo()
| QString ExpertPacketItem::colInfo |
( |
| ) |
const |
|
inline |
Retrieves the column info text.
- Returns
- The column info string.
◆ group()
| int ExpertPacketItem::group |
( |
| ) |
const |
|
inline |
Retrieves the expert group ID.
- Returns
- The group ID.
◆ groupKey() [1/2]
| QString ExpertPacketItem::groupKey |
( |
bool |
group_by_summary | ) |
|
Generates a grouping key for this specific item.
- Parameters
-
| group_by_summary | True to include the summary in the grouping key. |
- Returns
- The generated group key string.
◆ groupKey() [2/2]
| QString ExpertPacketItem::groupKey |
( |
bool |
group_by_summary, |
|
|
int |
severity, |
|
|
int |
group, |
|
|
QString |
protocol, |
|
|
int |
expert_hf |
|
) |
| |
|
static |
Generates a grouping key based on item properties.
- Parameters
-
| group_by_summary | True to include the summary in the grouping key. |
| severity | The severity level. |
| group | The group ID. |
| protocol | The protocol string. |
| expert_hf | The header field ID. |
- Returns
- The generated group key string.
◆ hfId()
| int ExpertPacketItem::hfId |
( |
| ) |
const |
|
inline |
Retrieves the header field ID.
- Returns
- The header field ID.
◆ packetNum()
| unsigned int ExpertPacketItem::packetNum |
( |
| ) |
const |
|
inline |
Retrieves the packet number.
- Returns
- The packet number.
◆ parentItem()
Retrieves the parent of this item.
- Returns
- A pointer to the parent ExpertPacketItem.
◆ protocol()
| QString ExpertPacketItem::protocol |
( |
| ) |
const |
|
inline |
Retrieves the protocol name.
- Returns
- The protocol string.
◆ row()
| int ExpertPacketItem::row |
( |
| ) |
const |
Gets the row index of this item relative to its parent.
- Returns
- The row index.
◆ severity()
| int ExpertPacketItem::severity |
( |
| ) |
const |
|
inline |
Retrieves the severity level.
- Returns
- The severity level.
◆ summary()
| QString ExpertPacketItem::summary |
( |
| ) |
const |
|
inline |
Retrieves the summary text.
- Returns
- The summary string.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/models/expert_info_model.h
- /builds/wireshark/wireshark/ui/qt/models/expert_info_model.cpp