AttributeValue implementation for Pair More...
Classes | |
class | ns3::PairChecker |
AttributeChecker implementation for PairValue. More... | |
class | ns3::internal::PairChecker< A, B > |
Internal checker class templated to each AttributeChecker for each entry in the pair. More... | |
class | ns3::PairValue< A, B > |
AttributeValue implementation for Pair. More... | |
Functions | |
template<typename A , typename B , typename T1 > | |
Ptr< const AttributeAccessor > | ns3::MakePairAccessor (T1 a1) |
Create an AttributeAccessor for std::pair<>. | |
template<class A , class B > | |
Ptr< AttributeChecker > | ns3::MakePairChecker () |
Make a PairChecker without abscissa and ordinate AttributeCheckers. | |
template<class A , class B > | |
Ptr< AttributeChecker > | ns3::MakePairChecker (const PairValue< A, B > &value) |
Make a PairChecker from a PairValue. | |
template<class A , class B > | |
Ptr< const AttributeChecker > | ns3::MakePairChecker (Ptr< const AttributeChecker > firstchecker, Ptr< const AttributeChecker > secondchecker) |
Make a PairChecker from abscissa and ordinate AttributeCheckers. | |
AttributeValue implementation for Pair
Ptr< const AttributeAccessor > ns3::MakePairAccessor | ( | T1 | a1 | ) |
Create an AttributeAccessor for std::pair<>.
A | [explicit] The type of pair.first. |
B | [explicit] The type of pair.second. |
T1 | [deduced] The argument pair type. |
[in] | a1 | The std::pair to be accessed. |
Definition at line 401 of file pair.h.
References ns3::MakeAccessorHelper().
Referenced by ns3::StaWifiMac::GetTypeId(), and PairObject::GetTypeId().
Ptr< AttributeChecker > ns3::MakePairChecker | ( | ) |
Make a PairChecker without abscissa and ordinate AttributeCheckers.
Definition at line 287 of file pair.h.
References ns3::MakeSimpleAttributeChecker().
Referenced by AttributeContainerSerializationTestCase::DoRun(), ns3::ApWifiMac::GetTimeAccessParamsChecker(), AttributeContainerObject::GetTypeId(), ns3::EhtConfiguration::GetTypeId(), ns3::StaWifiMac::GetTypeId(), PairObject::GetTypeId(), ns3::ApWifiMac::GetUintAccessParamsChecker(), ns3::MakePairChecker(), and ns3::MakePairChecker().
Ptr< AttributeChecker > ns3::MakePairChecker | ( | const PairValue< A, B > & | value | ) |
Make a PairChecker from a PairValue.
This function returns a Pointer to a non-const instance to allow subsequent setting of the underlying AttributeCheckers.
[in] | value | PairValue from which to derive abscissa and ordinate types. |
Definition at line 270 of file pair.h.
References ns3::MakePairChecker().
Ptr< const AttributeChecker > ns3::MakePairChecker | ( | Ptr< const AttributeChecker > | firstchecker, |
Ptr< const AttributeChecker > | secondchecker ) |
Make a PairChecker from abscissa and ordinate AttributeCheckers.
This function returns a Pointer to a const instance since both underlying AttributeCheckers are set.
[in] | firstchecker | AttributeChecker for abscissa. |
[in] | secondchecker | AttributeChecker for ordinate. |
Definition at line 277 of file pair.h.
References ns3::DynamicCast(), and ns3::MakePairChecker().