Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
utils
field_information.h
Go to the documentation of this file.
1
10
#ifndef FIELD_INFORMATION_H_
11
#define FIELD_INFORMATION_H_
12
13
#include <config.h>
14
15
#include <
epan/proto.h
>
16
17
#include <
ui/qt/utils/proto_node.h
>
18
#include "
data_printer.h
"
19
20
#include <QObject>
21
22
class
FieldInformation
:
public
QObject,
public
IDataPrintable
23
{
24
Q_OBJECT
25
Q_INTERFACES(
IDataPrintable
)
26
27
public
:
28
29
struct
HeaderInfo
30
{
31
QString name;
32
QString description;
33
QString abbreviation;
34
bool
isValid;
35
enum
ftenum type;
36
int
parent;
37
int
id;
38
};
29
struct
HeaderInfo
{
…
};
39
40
struct
Position
41
{
42
int
start;
43
int
length;
44
};
40
struct
Position
{
…
};
45
46
explicit
FieldInformation
(
field_info
* fi, QObject * parent = Q_NULLPTR);
47
explicit
FieldInformation
(
const
ProtoNode
* node, QObject * parent = Q_NULLPTR);
48
49
bool
isValid()
const
;
50
bool
isLink()
const
;
51
52
field_info
* fieldInfo()
const
;
53
54
HeaderInfo
headerInfo()
const
;
55
Position
position()
const
;
56
Position
appendix()
const
;
57
58
void
setParentField(
field_info
* fi);
59
int
treeType();
60
FieldInformation
* parentField()
const
;
61
bool
tvbContains(
FieldInformation
*);
62
unsigned
flag(
unsigned
mask);
63
const
QString moduleName();
64
QString toString();
65
QString url();
66
67
const
QByteArray printableData();
68
69
private
:
70
71
field_info
* fi_;
72
field_info
* parent_fi_;
73
};
22
class
FieldInformation
:
public
QObject,
public
IDataPrintable
{
…
};
74
75
76
#endif
// FIELD_INFORMATION_H_
FieldInformation
Definition
field_information.h:23
IDataPrintable
Definition
idata_printable.h:23
ProtoNode
Definition
proto_node.h:21
data_printer.h
proto.h
proto_node.h
FieldInformation::HeaderInfo
Definition
field_information.h:30
FieldInformation::Position
Definition
field_information.h:41
field_info
Definition
proto.h:816
Generated by
1.9.8