#include <attribute.h>
Public Member Functions | |
virtual bool | Check (const AttributeValue &value) const =0 |
virtual std::string | GetValueTypeName (void) const =0 |
virtual bool | HasUnderlyingTypeInformation (void) const =0 |
virtual std::string | GetUnderlyingTypeInformation (void) const =0 |
virtual Ptr< AttributeValue > | Create (void) const =0 |
Each type of attribute has an associated unique AttributeChecker subclass. The type of the subclass can be safely used by users to infer the type of the associated attribute. i.e., we expect binding authors to use the checker associated to an attribute to detect the type of the associated attribute.
Most subclasses of this base class are implemented by the ATTRIBUTE_HELPER_HEADER and ATTRIBUTE_HELPER_CPP macros.
virtual bool ns3::AttributeChecker::Check | ( | const AttributeValue & | value | ) | const [pure virtual] |
value | a pointer to the value to check |
virtual Ptr<AttributeValue> ns3::AttributeChecker::Create | ( | void | ) | const [pure virtual] |
virtual std::string ns3::AttributeChecker::GetUnderlyingTypeInformation | ( | void | ) | const [pure virtual] |
virtual std::string ns3::AttributeChecker::GetValueTypeName | ( | void | ) | const [pure virtual] |
virtual bool ns3::AttributeChecker::HasUnderlyingTypeInformation | ( | void | ) | const [pure virtual] |