A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::internal::StructValueTraits< T, Fields > Struct Template Reference

Select the StructValue implementation when no constructor function is provided. More...

#include "struct.h"

Inheritance diagram for ns3::internal::StructValueTraits< T, Fields >:
Collaboration diagram for ns3::internal::StructValueTraits< T, Fields >:

Additional Inherited Members

Public Types inherited from ns3::internal::StructValueTraitsBase< T, nullptr, Fields... >
using base_type
 TupleValue type used to store the structure fields.
using tuple_type
 Tuple of the values returned by the field AttributeValue objects.
using value_type
 Tuple of the field AttributeValue objects.
Static Public Member Functions inherited from ns3::internal::StructValueTraitsBase< T, nullptr, Fields... >
static T Construct (tuple_type values)
 Construct the represented structure from field values.
static tuple_type Read (const T &value)
 Read the field values from a structure.
Static Public Attributes inherited from ns3::internal::StructValueTraitsBase< T, nullptr, Fields... >
static constexpr std::size_t field_count
 Number of structure fields.

Detailed Description

template<typename T, typename... Fields>
struct ns3::internal::StructValueTraits< T, Fields >

Select the StructValue implementation when no constructor function is provided.

Template Parameters
TThe represented structure type.
FieldsFields represented by StructValue.

Definition at line 404 of file struct.h.


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