A Discrete-Event Network Simulator
API
ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)> Struct Template Reference

Function pointer type. More...

Public Types

enum  { IsFunctionPointer = 1 }
 Value. More...
 
enum  { nArgs = 3 }
 Value. More...
 
typedef V1 Arg1Type
 First argument type. More...
 
typedef V2 Arg2Type
 Second argument type. More...
 
typedef V3 Arg3Type
 Third argument type. More...
 
typedef U ReturnType
 Return type. More...
 

Detailed Description

template<typename T>
template<typename U, typename V1, typename V2, typename V3>
struct ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)>

Function pointer type.

Template Parameters
U[deduced] Return type.
V1[deduced] Argument type.
V2[deduced] Argument type.
V3[deduced] Argument type.

Definition at line 274 of file type-traits.h.

Member Typedef Documentation

◆ Arg1Type

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
typedef V1 ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)>::Arg1Type

First argument type.


Definition at line 286 of file type-traits.h.

◆ Arg2Type

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
typedef V2 ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)>::Arg2Type

Second argument type.

Definition at line 287 of file type-traits.h.

◆ Arg3Type

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
typedef V3 ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)>::Arg3Type

Third argument type.


Definition at line 288 of file type-traits.h.

◆ ReturnType

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
typedef U ns3::TypeTraits< T >::FunctionPtrTraits< U(*)(V1, V2, V3)>::ReturnType

Return type.


Definition at line 285 of file type-traits.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
anonymous enum

Value.

Enumerator
IsFunctionPointer 

Function pointer.


Definition at line 277 of file type-traits.h.

◆ anonymous enum

template<typename T >
template<typename U , typename V1 , typename V2 , typename V3 >
anonymous enum

Value.

Enumerator
nArgs 

Number of arguments.


Definition at line 281 of file type-traits.h.


The documentation for this struct was generated from the following file: