Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
Element Class Reference

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
 
Bitbits
 
int32_t bitindex
 
int ** bitfields
 
int bits_ett_id
 
int32_t width
 
struct DatasetlinkedDS
 
int hf_id
 
int ett_id
 
struct Elementnext
 

Detailed Description

description of one element

All persisted information can be seen in this diagram:

Member Data Documentation

◆ array_size

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.)

◆ bitfields

int** Element::bitfields

Array of bit-hf refs. Only allocated for bitsets

◆ bitindex

int32_t Element::bitindex

target for next to write bit, if it has no explicit position

◆ bits

Bit* Element::bits

Array of bit-name definitions. Only allocated for bitsets

◆ linkedDS

struct Dataset* Element::linkedDS

points to DS for non-standard types

◆ name

char* Element::name

Name of the element, maybe a stringified index within the dataset, never NULL

◆ offset

int32_t Element::offset

Offset that is added to the values. displayed value = scale * raw value + offset

◆ scale

double Element::scale

A factor the given value is scaled

◆ type

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]

◆ unit

char* Element::unit

Unit to display, may point to an empty string

◆ width

int32_t Element::width

Contains the Element's size as returned by trdp_dissect_width(this->type)


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