A Discrete-Event Network Simulator
API
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.

Classes

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

Namespaces

 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)
 
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...
 
Ptr< const AttributeChecker > ns3::MakeEnumChecker (int v1, std::string n1, int v2=0, std::string n2="", int v3=0, std::string n3="", int v4=0, std::string n4="", int v5=0, std::string n5="", int v6=0, std::string n6="", int v7=0, std::string n7="", int v8=0, std::string n8="", int v9=0, std::string n9="", int v10=0, std::string n10="", int v11=0, std::string n11="", int v12=0, std::string n12="", int v13=0, std::string n13="", int v14=0, std::string n14="", int v15=0, std::string n15="", int v16=0, std::string n16="", int v17=0, std::string n17="", int v18=0, std::string n18="", int v19=0, std::string n19="", int v20=0, std::string n20="", int v21=0, std::string n21="", int v22=0, std::string n22="")
 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.