Public Member Functions | |
void | AddDefault (int v, std::string name) |
void | Add (int v, std::string name) |
virtual bool | Check (const AttributeValue &value) const |
virtual std::string | GetValueTypeName (void) const |
virtual bool | HasUnderlyingTypeInformation (void) const |
virtual std::string | GetUnderlyingTypeInformation (void) const |
virtual Ptr< AttributeValue > | Create (void) const |
virtual bool | Copy (const AttributeValue &src, AttributeValue &dst) const |
Friends | |
class | EnumValue |
virtual bool ns3::EnumChecker::Check | ( | const AttributeValue & | value | ) | const [virtual] |
value | a pointer to the value to check |
Implements ns3::AttributeChecker.
virtual Ptr<AttributeValue> ns3::EnumChecker::Create | ( | void | ) | const [virtual] |
This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.
Implements ns3::AttributeChecker.
virtual std::string ns3::EnumChecker::GetUnderlyingTypeInformation | ( | void | ) | const [virtual] |
Implements ns3::AttributeChecker.
virtual std::string ns3::EnumChecker::GetValueTypeName | ( | void | ) | const [virtual] |
A typical return value here is FooValue where Foo is the name of the type being wrapped.
Implements ns3::AttributeChecker.
virtual bool ns3::EnumChecker::HasUnderlyingTypeInformation | ( | void | ) | const [virtual] |
If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.
Implements ns3::AttributeChecker.