Represents a single "Decode As" mapping entry in the UI.
More...
#include <decode_as_model.h>
Represents a single "Decode As" mapping entry in the UI.
◆ DecodeAsItem() [1/2]
| DecodeAsItem::DecodeAsItem |
( |
const char * |
table_name = NULL, |
|
|
const void * |
selector = NULL |
|
) |
| |
Construct a DecodeAsItem from a raw table name and selector.
- Parameters
-
| table_name | The dissector table name, or NULL for none. |
| selector | The selector value, or NULL for none. |
◆ DecodeAsItem() [2/2]
| DecodeAsItem::DecodeAsItem |
( |
const decode_as_t * |
entry, |
|
|
const void * |
selector = NULL |
|
) |
| |
Construct a DecodeAsItem from a decode_as_t entry and selector.
- Parameters
-
| entry | The decode_as_t entry describing the table. |
| selector | The selector value, or NULL for none. |
◆ currentDissector()
| QString DecodeAsItem::currentDissector |
( |
| ) |
const |
|
inline |
Return the name of the currently selected dissector.
- Returns
- The current dissector name string.
◆ defaultDissector()
| QString DecodeAsItem::defaultDissector |
( |
| ) |
const |
|
inline |
Return the name of the default dissector for this entry.
- Returns
- The default dissector name string.
◆ dissectorHandle()
Return the handle of the currently selected dissector.
- Returns
- The dissector handle.
◆ selectorDCERPC()
Return the selector as a DCE/RPC bind value.
- Returns
- Pointer to the DCE/RPC bind values, or nullptr if not set.
◆ selectorString()
| QString DecodeAsItem::selectorString |
( |
| ) |
const |
|
inline |
Return the selector as a string.
- Returns
- The string selector value.
◆ selectorUint()
| uint DecodeAsItem::selectorUint |
( |
| ) |
const |
|
inline |
Return the selector as an unsigned integer.
- Returns
- The uint selector value.
◆ selectorUUID()
| const guid_key * DecodeAsItem::selectorUUID |
( |
| ) |
const |
|
inline |
Return the selector as a UUID key.
- Returns
- Pointer to the UUID key.
◆ setDissectorHandle()
Set the dissector handle.
- Parameters
-
| handle | The dissector handle to use. |
◆ setSelector()
| void DecodeAsItem::setSelector |
( |
const QString & |
value | ) |
|
Set the selector value from a string.
- Parameters
-
| value | The new selector string. |
◆ setTable()
| void DecodeAsItem::setTable |
( |
const decode_as_t * |
entry | ) |
|
Set the dissector table from a decode_as_t entry.
- Parameters
-
| entry | The decode_as_t entry describing the table. |
◆ setUUID()
| void DecodeAsItem::setUUID |
( |
const guid_key & |
key | ) |
|
Set the UUID selector key.
- Parameters
-
| key | The UUID key to use as the selector. |
◆ tableName()
| const char * DecodeAsItem::tableName |
( |
| ) |
const |
|
inline |
Return the dissector table name.
- Returns
- The internal table name string.
◆ tableUIName()
| const char * DecodeAsItem::tableUIName |
( |
| ) |
const |
|
inline |
Return the dissector table name for display in the UI.
- Returns
- The UI-facing table name string.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/models/decode_as_model.h
- /builds/wireshark/wireshark/ui/qt/models/decode_as_model.cpp