template<typename Value, auto Getter, auto Setter = nullptr>
struct ns3::StructField< Value, Getter, Setter >
Describe a structure field and the AttributeValue used to represent it.
A field can be accessed either directly through a pointer to a data member:
Describe a structure field and the AttributeValue used to represent it.
or through a getter and a setter:
- Template Parameters
-
| Value | The AttributeValue type used to represent the field. |
| Getter | Pointer to the represented data member or to its getter. |
| Setter | Pointer to the setter associated with a getter. It must be omitted when Getter points to a data member and may be omitted when a StructConstructor is provided. |
Definition at line 226 of file struct.h.