A Discrete-Event Network Simulator
API
Files | Classes | Typedefs | Functions
ObjectVector Attribute


Attribute implementation for ObjectVector More...

Files

file  object-vector.h
 ns3::ObjectVectorValue attribute value declarations and template implementations.
 

Classes

class  ns3::ObjectVectorChecker
 
AttributeChecker implementation for ObjectVectorValue. More...
 

Typedefs

typedef ObjectPtrContainerValue ns3::ObjectVectorValue
 ObjectVectorValue is an alias for ObjectPtrContainerValue. More...
 

Functions

template<typename T , typename U >
Ptr< const AttributeAccessorns3::MakeObjectVectorAccessor (U T::*memberVariable)
 MakeAccessorHelper implementation for ObjectVector. More...
 
template<typename T , typename U , typename INDEX >
Ptr< const AttributeAccessorns3::MakeObjectVectorAccessor (Ptr< U >(T::*get)(INDEX) const, INDEX(T::*getN)(void) const)
 Create an AttributeAccessor using a container class indexed get method. More...
 
template<typename T , typename U , typename INDEX >
Ptr< const AttributeAccessorns3::MakeObjectVectorAccessor (INDEX(T::*getN)(void) const, Ptr< U >(T::*get)(INDEX) const)
 Create an AttributeAccessor using a container class indexed get method. More...
 
template<typename T >
Ptr< const AttributeCheckerns3::MakeObjectVectorChecker (void)
 
More...
 

Detailed Description


Attribute implementation for ObjectVector

Typedef Documentation

◆ ObjectVectorValue

ObjectVectorValue is an alias for ObjectPtrContainerValue.

Definition at line 40 of file object-vector.h.

Function Documentation

◆ MakeObjectVectorAccessor() [1/3]

template<typename T , typename U >
Ptr< const AttributeAccessor > ns3::MakeObjectVectorAccessor ( U T::*  memberVariable)

◆ MakeObjectVectorAccessor() [2/3]

template<typename T , typename U , typename INDEX >
Ptr< const AttributeAccessor > ns3::MakeObjectVectorAccessor ( Ptr< U >(T::*)(INDEX) const  get,
INDEX(T::*)(void) const  getN 
)

Create an AttributeAccessor using a container class indexed get method.

The two versions of this function differ only in argument order.

Template Parameters
T[deduced] The container class type.
U[deduced] The type of object the get method returns.
INDEX[deduced] The type of the index variable.
Parameters
[in]getThe class method to get a specific instance from the container.
[in]getNThe class method to return the number of objects in the container.
Returns
The AttributeAccessor.

Definition at line 126 of file object-vector.h.

◆ MakeObjectVectorAccessor() [3/3]

template<typename T , typename U , typename INDEX >
Ptr< const AttributeAccessor > ns3::MakeObjectVectorAccessor ( INDEX(T::*)(void) const  getN,
Ptr< U >(T::*)(INDEX) const  get 
)

Create an AttributeAccessor using a container class indexed get method.

The two versions of this function differ only in argument order.

Template Parameters
T[deduced] The container class type.
U[deduced] The type of object the get method returns.
INDEX[deduced] The type of the index variable.
Parameters
[in]getThe class method to get a specific instance from the container.
[in]getNThe class method to return the number of objects in the container.
Returns
The AttributeAccessor.

Definition at line 134 of file object-vector.h.

◆ MakeObjectVectorChecker()

template<typename T >
Ptr< const AttributeChecker > ns3::MakeObjectVectorChecker ( void  )


Returns
The AttributeChecker.
See also
AttributeChecker

Definition at line 119 of file object-vector.h.