Helper class defining static methods for MakeTupleChecker and MakeTupleAccessor that are called when user specifies the list of AttributeValue types included in a TupleValue type. More...
#include "tuple.h"
Static Public Member Functions | |
template<class T1 > | |
static Ptr< const AttributeAccessor > | MakeTupleAccessor (T1 a1) |
Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set method. More... | |
template<class T1 , class T2 > | |
static Ptr< const AttributeAccessor > | MakeTupleAccessor (T1 a1, T2 a2) |
Create an AttributeAccessor using a pair of get functor and set methods from a class. More... | |
template<class... Ts> | |
static Ptr< const AttributeChecker > | MakeTupleChecker (Ts... checkers) |
Create a TupleChecker from AttributeCheckers associated with TupleValue elements. More... | |
Helper class defining static methods for MakeTupleChecker and MakeTupleAccessor that are called when user specifies the list of AttributeValue types included in a TupleValue type.
|
inlinestatic |
Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set method.
Args | [explicit] Attribute value types |
T1 | [deduced] The type of the class data member, or the type of the class get functor or set method. |
a1 | The address of the data member, or the get or set method. |
Definition at line 441 of file tuple.h.
References ns3::MakeAccessorHelper().
|
inlinestatic |
Create an AttributeAccessor using a pair of get functor and set methods from a class.
Args | [explicit] Attribute value types |
T1 | [deduced] The type of the class data member, or the type of the class get functor or set method. |
T2 | [deduced] The type of the getter class functor method. |
a2 | The address of the class method to set the attribute. |
a1 | The address of the data member, or the get or set method. |
Definition at line 450 of file tuple.h.
References ns3::MakeAccessorHelper().
|
inlinestatic |
Create a TupleChecker from AttributeCheckers associated with TupleValue elements.
Args | [explicit] Attribute value types |
Ts | [deduced] Attribute checker types |
checkers | attribute checkers |
Definition at line 432 of file tuple.h.
References ns3::Create().