A Discrete-Event Network Simulator
API
enum.h File Reference

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

#include "attribute-accessor-helper.h"
#include "attribute.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 >
 
class  ns3::EnumValue< T >
 Hold variables of type enum. More...
 

Namespaces

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

Functions

template<typename T , typename T1 >
Ptr< const AttributeAccessor > ns3::MakeEnumAccessor (T1 a1)
 
template<typename T , typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeEnumAccessor (T1 a1, T2 a2)
 
template<typename T >
Ptr< const AttributeChecker > ns3::MakeEnumChecker (Ptr< EnumChecker< T >> checker)
 Terminate the recursion of variadic arguments. More...
 
template<typename T , typename... Ts>
Ptr< const AttributeChecker > ns3::MakeEnumChecker (Ptr< EnumChecker< T >> checker, T v, std::string n, Ts... args)
 Handler for enum value, name pairs other than the default. More...
 
template<typename T , typename... Ts>
Ptr< const AttributeChecker > ns3::MakeEnumChecker (T v, std::string n, Ts... args)
 Make an EnumChecker pre-configured with a set of allowed values by name. More...
 

Detailed Description

ns3::EnumValue attribute value declarations.

Definition in file enum.h.