A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
AttributeContainer Attribute

AttributeValue implementation for AttributeContainer More...

+ Collaboration diagram for AttributeContainer Attribute:

Classes

class  ns3::internal::AttributeContainerChecker< A, Sep, C >
 
class  ns3::AttributeContainerChecker
 AttributeChecker implementation for AttributeContainerValue. More...
 
class  ns3::AttributeContainerValue< A, Sep, C >
 A container for one type of attribute. More...
 

Functions

template<typename A , char Sep = ',', template< typename... > class C = std::list, typename T1 >
Ptr< const AttributeAccessorns3::MakeAttributeContainerAccessor (T1 a1)
 Make AttributeContainerAccessor using explicit types.
 
template<typename A , char Sep = ',', template< typename... > class C = std::list, typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeAttributeContainerAccessor (T1 a1, T2 a2)
 Make AttributeContainerAccessor using explicit types.
 
template<class A , char Sep = ',', template< class... > class C = std::list>
Ptr< AttributeCheckerns3::MakeAttributeContainerChecker ()
 Make uninitialized AttributeContainerChecker using explicit types.
 
template<class A , char Sep, template< class... > class C>
Ptr< AttributeCheckerns3::MakeAttributeContainerChecker (const AttributeContainerValue< A, Sep, C > &value)
 Make AttributeContainerChecker from AttributeContainerValue.
 
template<class A , char Sep = ',', template< class... > class C = std::list>
Ptr< const AttributeCheckerns3::MakeAttributeContainerChecker (Ptr< const AttributeChecker > itemchecker)
 Make AttributeContainerChecker using explicit types, initialize item checker.
 

Detailed Description

AttributeValue implementation for AttributeContainer

Function Documentation

◆ MakeAttributeContainerAccessor() [1/2]

template<typename A , char Sep = ',', template< typename... > class C = std::list, typename T1 >
Ptr< const AttributeAccessor > ns3::MakeAttributeContainerAccessor ( T1 a1)

Make AttributeContainerAccessor using explicit types.

Template Parameters
AAttributeValue type in container.
SepCharacter separator between elements for parsing.
CContainer type returned by Get.
T1[deduced] The type of the class data member, or the type of the class get functor or set method.
Parameters
[in]a1The address of the data member, or the get or set method.
Returns
AttributeContainerAccessor.

Definition at line 587 of file attribute-container.h.

References ns3::MakeAccessorHelper().

Referenced by AttributeContainerObject::GetTypeId(), ns3::ApWifiMac::GetTypeId(), ns3::EhtConfiguration::GetTypeId(), ns3::EmlsrManager::GetTypeId(), ns3::Txop::GetTypeId(), ns3::WifiAssocManager::GetTypeId(), and ns3::WifiPhy::GetTypeId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MakeAttributeContainerAccessor() [2/2]

template<typename A , char Sep = ',', template< typename... > class C = std::list, typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeAttributeContainerAccessor ( T1 a1,
T2 a2 )

Make AttributeContainerAccessor using explicit types.

Template Parameters
AAttributeValue type in container.
SepCharacter separator between elements for parsing.
CContainer type returned by Get.
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.
Parameters
[in]a2The address of the class method to set the attribute.
[in]a1The address of the data member, or the get or set method.
Returns
AttributeContainerAccessor.

Definition at line 594 of file attribute-container.h.

References ns3::MakeAccessorHelper().

+ Here is the call graph for this function:

◆ MakeAttributeContainerChecker() [1/3]

template<class A , char Sep = ',', template< class... > class C = std::list>
Ptr< AttributeChecker > ns3::MakeAttributeContainerChecker ( )

Make uninitialized AttributeContainerChecker using explicit types.

Template Parameters
AAttributeValue type in container.
SepCharacter separator between elements for parsing.
CContainer type returned by Get.
Returns
AttributeContainerChecker.

Definition at line 377 of file attribute-container.h.

References ns3::MakeSimpleAttributeChecker().

Referenced by AttributeContainerSerializationTestCase::DoRun(), ns3::ApWifiMac::GetTimeAccessParamsChecker(), AttributeContainerObject::GetTypeId(), ns3::EhtConfiguration::GetTypeId(), ns3::EmlsrManager::GetTypeId(), ns3::Txop::GetTypeId(), ns3::WifiAssocManager::GetTypeId(), ns3::WifiPhy::GetTypeId(), ns3::ApWifiMac::GetUintAccessParamsChecker(), ns3::MakeAttributeContainerChecker(), and ns3::MakeAttributeContainerChecker().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MakeAttributeContainerChecker() [2/3]

template<class A , char Sep, template< class... > class C>
Ptr< AttributeChecker > ns3::MakeAttributeContainerChecker ( const AttributeContainerValue< A, Sep, C > & value)

Make AttributeContainerChecker from AttributeContainerValue.

Template Parameters
A[deduced] AttributeValue type in container.
Sep[deduced] Character separator between elements for parsing.
C[deduced] Container type returned by Get.
Parameters
[in]valueAttributeContainerValue from which to deduce types.
Returns
AttributeContainerChecker for value.

Definition at line 360 of file attribute-container.h.

References ns3::MakeAttributeContainerChecker().

+ Here is the call graph for this function:

◆ MakeAttributeContainerChecker() [3/3]

template<class A , char Sep = ',', template< class... > class C = std::list>
Ptr< const AttributeChecker > ns3::MakeAttributeContainerChecker ( Ptr< const AttributeChecker > itemchecker)

Make AttributeContainerChecker using explicit types, initialize item checker.

Template Parameters
AAttributeValue type in container.
SepCharacter separator between elements for parsing.
CContainer type returned by Get.
Parameters
[in]itemcheckerAttributeChecker used for each item in the container.
Returns
AttributeContainerChecker.

Definition at line 367 of file attribute-container.h.

References ns3::DynamicCast(), and ns3::MakeAttributeContainerChecker().

+ Here is the call graph for this function: