A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
enum.h File Reference

ns3::EnumValue attribute value declarations. More...

#include "attribute-accessor-helper.h"
#include "attribute.h"
#include "demangle.h"
#include <algorithm>
#include <list>
#include <numeric>
#include <sstream>
#include <type_traits>
#include <typeinfo>
+ Include dependency graph for enum.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::EnumChecker< T >
 AttributeChecker implementation for EnumValue. More...
 
class  ns3::EnumValue< T >
 Hold variables of type enum. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

template<typename T , typename T1 >
Ptr< const AttributeAccessorns3::MakeEnumAccessor (T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
 
template<typename T , typename T1 , typename T2 >
Ptr< const AttributeAccessorns3::MakeEnumAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class.
 
template<typename T >
Ptr< const AttributeCheckerns3::MakeEnumChecker (Ptr< EnumChecker< T > > checker)
 Terminate the recursion of variadic arguments.
 
template<typename T , typename... Ts>
Ptr< const AttributeCheckerns3::MakeEnumChecker (Ptr< EnumChecker< T > > checker, T v, std::string n, Ts... args)
 Handler for enum value, name pairs other than the default.
 
template<typename T , typename... Ts>
Ptr< const AttributeCheckerns3::MakeEnumChecker (T v, std::string n, Ts... args)
 Make an EnumChecker pre-configured with a set of allowed values by name.
 

Detailed Description

ns3::EnumValue attribute value declarations.

Definition in file enum.h.