101   void Add (
int value, std::string name);
   113   typedef std::list<std::pair<int,std::string> > 
ValueSet;
   118 template <
typename T1>
   121 template <
typename T1, 
typename T2>
   181                                              int v2 = 0, std::string n2 = 
"",
   182                                              int v3 = 0, std::string n3 = 
"",
   183                                              int v4 = 0, std::string n4 = 
"",
   184                                              int v5 = 0, std::string n5 = 
"",
   185                                              int v6 = 0, std::string n6 = 
"",
   186                                              int v7 = 0, std::string n7 = 
"",
   187                                              int v8 = 0, std::string n8 = 
"",
   188                                              int v9 = 0, std::string n9 = 
"",
   189                                              int v10 = 0, std::string n10 = 
"",
   190                                              int v11 = 0, std::string n11 = 
"",
   191                                              int v12 = 0, std::string n12 = 
"",
   192                                              int v13 = 0, std::string n13 = 
"",
   193                                              int v14 = 0, std::string n14 = 
"",
   194                                              int v15 = 0, std::string n15 = 
"",
   195                                              int v16 = 0, std::string n16 = 
"",
   196                                              int v17 = 0, std::string n17 = 
"",
   197                                              int v18 = 0, std::string n18 = 
"",
   198                                              int v19 = 0, std::string n19 = 
"",
   199                                              int v20 = 0, std::string n20 = 
"",
   200                                              int v21 = 0, std::string n21 = 
"",
   201                                              int v22 = 0, std::string n22 = 
"");
   208 template <
typename T1>
   211   return MakeAccessorHelper<EnumValue> (a1);
   214 template <
typename T1, 
typename T2>
   217   return MakeAccessorHelper<EnumValue> (a1, a2);
 Represent the type of an attribute. 
void AddDefault(int value, std::string name)
Add a default value. 
Smart pointer class similar to boost::intrusive_ptr. 
virtual std::string GetUnderlyingTypeInformation(void) const
virtual Ptr< AttributeValue > Create(void) const
Hold a value for an Attribute. 
Ptr< const AttributeAccessor > MakeEnumAccessor(T1 a1)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
virtual bool Copy(const AttributeValue &src, AttributeValue &dst) const
Copy the source to the destination. 
void Add(int value, std::string name)
Add a new value. 
Hold variables of type enum. 
int m_value
The stored integer value. 
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker declarations. 
bool GetAccessor(T &value) const
  Access the Enum value as type T. 
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)
std::list< std::pair< int, std::string > > ValueSet
Type of container for storing Enum values and symbol names. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
void Set(int value)
  Set the value. 
virtual bool Check(const AttributeValue &value) const
 AttributeChecker implementation for EnumValue. 
Ptr< const AttributeChecker > MakeEnumChecker(int v1, std::string n1, int v2, std::string n2, int v3, std::string n3, int v4, std::string n4, int v5, std::string n5, int v6, std::string n6, int v7, std::string n7, int v8, std::string n8, int v9, std::string n9, int v10, std::string n10, int v11, std::string n11, int v12, std::string n12, int v13, std::string n13, int v14, std::string n14, int v15, std::string n15, int v16, std::string n16, int v17, std::string n17, int v18, std::string n18, int v19, std::string n19, int v20, std::string n20, int v21, std::string n21, int v22, std::string n22)
Make an EnumChecker pre-configured with a set of allowed values by name. 
virtual std::string GetValueTypeName(void) const
ValueSet m_valueSet
The stored Enum values and symbol names. 
virtual bool HasUnderlyingTypeInformation(void) const
ns3::MakeAccessorHelper declarations and template implementations. 
virtual Ptr< AttributeValue > Copy(void) const