A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
StructTestData Struct Reference

Structure used by the StructValue tests. More...

Collaboration diagram for StructTestData:

Public Member Functions

bool operator== (const StructTestData &) const =default
 Compare two structures.

Public Attributes

uint16_t count
 Count field.
std::string name
 Name field.
double value
 Value field.

Detailed Description

Structure used by the StructValue tests.

Definition at line 25 of file struct-value-test-suite.cc.

Member Function Documentation

◆ operator==()

bool StructTestData::operator== ( const StructTestData & ) const
default

Compare two structures.

Returns
true if all the fields are equal

Member Data Documentation

◆ count

uint16_t StructTestData::count

Count field.

Definition at line 28 of file struct-value-test-suite.cc.

◆ name

std::string StructTestData::name

Name field.

Definition at line 27 of file struct-value-test-suite.cc.

◆ value

double StructTestData::value

Value field.

Definition at line 29 of file struct-value-test-suite.cc.


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