|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
description of one element More...
#include <packet-trdp-dict.h>
Public Attributes | |
| char * | name |
| char * | unit |
| ElementType | type |
| int32_t | array_size |
| double | scale |
| int32_t | offset |
| Bit * | bits |
| int32_t | bitindex |
| int ** | bitfields |
| int | bits_ett_id |
| int32_t | width |
| struct Dataset * | linkedDS |
| int | hf_id |
| int | ett_id |
| struct Element * | next |
description of one element
All persisted information can be seen in this diagram:
| int32_t Element::array_size |
Amount this value occurred. 1 is default; 0 indicates a dynamic list (the dynamic list is preceeded by an integer revealing the actual size.)
| int** Element::bitfields |
Array of bit-hf refs. Only allocated for bitsets
| int32_t Element::bitindex |
target for next to write bit, if it has no explicit position
| Bit* Element::bits |
Array of bit-name definitions. Only allocated for bitsets
| struct Dataset* Element::linkedDS |
points to DS for non-standard types
| char* Element::name |
Name of the element, maybe a stringified index within the dataset, never NULL
| int32_t Element::offset |
Offset that is added to the values. displayed value = scale * raw value + offset
| double Element::scale |
A factor the given value is scaled
| ElementType Element::type |
Numeric type of the variable (see Usermanual, chapter 4.2) or defined at ::TRDP_BOOL8, TRDP_UINT8, TRDP_UINT16 and so on, and its typeName[1..30]
| char* Element::unit |
Unit to display, may point to an empty string
| int32_t Element::width |
Contains the Element's size as returned by trdp_dissect_width(this->type)