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 <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.

Classes

class  ns3::EnumChecker
 AttributeChecker implementation for EnumValue. More...
 
class  ns3::EnumValue
 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 T1 >
Ptr< const AttributeAccessor > ns3::MakeEnumAccessor (T1 a1)
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeEnumAccessor (T1 a1, T2 a2)
 
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.
 
Ptr< const AttributeChecker > ns3::MakeEnumChecker (Ptr< EnumChecker > checker)
 Terminate the recursion of variadic arguments.
 
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.
 

Detailed Description

ns3::EnumValue attribute value declarations.

Definition in file enum.h.