A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
struct-value-test-suite.cc File Reference
#include "ns3/attribute-container.h"
#include "ns3/double.h"
#include "ns3/object.h"
#include "ns3/string.h"
#include "ns3/struct.h"
#include "ns3/test.h"
#include "ns3/uinteger.h"
#include <cstdint>
#include <set>
#include <string>
#include <utility>
Include dependency graph for struct-value-test-suite.cc:

Go to the source code of this file.

Classes

struct  PrivateStructTestData
 Structure with private fields used by the StructValue tests. More...
class  StructObject
 Object containing attributes represented by structures. More...
struct  StructTestData
 Structure used by the StructValue tests. More...
class  StructValueTestCase
 Test StructValue construction, checking, serialization, and access. More...
class  StructValueTestSuite
 StructValue test suite. More...

Typedefs

using ConstructedStructTestValue
 StructValue using a constructor function and getters for private fields.
using PrivateStructTestValue
 StructValue using getters and setters to access private fields.
using StructTestValue
 StructValue type used by the tests.

Variables

static StructValueTestSuite g_structValueTestSuite
 Static test suite registration.

Typedef Documentation

◆ ConstructedStructTestValue

Initial value:
AttributeValue implementation for structures.
Definition struct.h:144
Structure with private fields used by the StructValue tests.
Describe a function that constructs a structure from its field values.
Definition struct.h:262
Describe a structure field and the AttributeValue used to represent it.
Definition struct.h:227

StructValue using a constructor function and getters for private fields.

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

◆ PrivateStructTestValue

◆ StructTestValue

Variable Documentation

◆ g_structValueTestSuite

StructValueTestSuite g_structValueTestSuite
static

Static test suite registration.

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