Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PacketFormatJSONGroupBox Class Reference

Group box for configuring JSON packet formatting options. More...

#include <packet_format_group_box.h>

Inheritance diagram for PacketFormatJSONGroupBox:
PacketFormatGroupBox

Public Member Functions

 PacketFormatJSONGroupBox (QWidget *parent=0)
 Constructs a PacketFormatJSONGroupBox.
 
 ~PacketFormatJSONGroupBox ()
 Destroys the PacketFormatJSONGroupBox.
 
bool isValid () const override
 Checks if the JSON format configuration is valid.
 
void updatePrintArgs (print_args_t &print_args) override
 Updates the print arguments with the JSON format settings.
 
bool noDuplicateKeys ()
 Checks if duplicate keys are excluded from the JSON output.
 
- Public Member Functions inherited from PacketFormatGroupBox
 PacketFormatGroupBox (QWidget *parent=0)
 Constructs a PacketFormatGroupBox.
 

Additional Inherited Members

- Signals inherited from PacketFormatGroupBox
void formatChanged ()
 Signal emitted when the format configuration changes.
 

Detailed Description

Group box for configuring JSON packet formatting options.

Constructor & Destructor Documentation

◆ PacketFormatJSONGroupBox()

PacketFormatJSONGroupBox::PacketFormatJSONGroupBox ( QWidget *  parent = 0)
explicit

Constructs a PacketFormatJSONGroupBox.

Parameters
parentThe parent widget.

Member Function Documentation

◆ isValid()

bool PacketFormatJSONGroupBox::isValid ( ) const
overridevirtual

Checks if the JSON format configuration is valid.

Returns
True if the configuration is valid, false otherwise.

Reimplemented from PacketFormatGroupBox.

◆ noDuplicateKeys()

bool PacketFormatJSONGroupBox::noDuplicateKeys ( )

Checks if duplicate keys are excluded from the JSON output.

Returns
True if duplicate keys are omitted, false otherwise.

◆ updatePrintArgs()

void PacketFormatJSONGroupBox::updatePrintArgs ( print_args_t print_args)
overridevirtual

Updates the print arguments with the JSON format settings.

Parameters
print_argsThe print arguments structure to update.

Implements PacketFormatGroupBox.


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