A Discrete-Event Network Simulator
enum.h File Reference

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

#include "attribute.h"
#include "attribute-accessor-helper.h"
#include <list>
+ 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.


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


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


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

Detailed Description

ns3::EnumValue attribute value declarations.

Definition in file enum.h.