37 class AttributeAccessor;
38 class AttributeChecker;
virtual bool Copy(const AttributeValue &source, AttributeValue &destination) const =0
Copy the source to the destination.
virtual bool HasGetter(void) const
Represent the type of an attribute.
Smart pointer class similar to boost::intrusive_ptr.
virtual std::string GetValueTypeName(void) const
ns3::Ptr smart pointer declaration and implementation.
Hold a value for an Attribute.
virtual bool Get(const ObjectBase *object, AttributeValue &attribute) const =0
virtual bool Set(ObjectBase *object, const AttributeValue &value) const
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)
static Ptr< const AttributeAccessor > MakeEmptyAttributeAccessor()
Create an empty AttributeAccessor.
virtual bool HasGetter(void) const =0
Anchor the ns-3 type and attribute system.
Ptr< AttributeValue > CreateValidValue(const AttributeValue &value) const
Create a valid value from the argument value, or reinterpret the argument as a string.
virtual bool HasUnderlyingTypeInformation(void) const =0
virtual bool HasSetter(void) const =0
EmptyAttributeValue()
Default constructor.
virtual bool Copy(const AttributeValue &source, AttributeValue &destination) const
Copy the source to the destination.
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const =0
A class for an empty attribute value.
virtual ~AttributeAccessor()
virtual std::string GetValueTypeName(void) const =0
allow setting and getting the value of an attribute.
An accessor for EmptyAttributeValue.
virtual ~AttributeValue()
virtual Ptr< AttributeValue > Copy(void) const =0
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual bool HasSetter(void) const
virtual bool Set(ObjectBase *object, const AttributeValue &value) const =0
virtual Ptr< AttributeValue > Create(void) const =0
A checker for EmptyAttributeValue.
virtual ~AttributeChecker()
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const
~EmptyAttributeAccessor()
virtual Ptr< AttributeValue > Create(void) const
virtual Ptr< AttributeValue > Copy(void) const
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)=0
virtual bool HasUnderlyingTypeInformation(void) const
virtual std::string GetUnderlyingTypeInformation(void) const
virtual bool Check(const AttributeValue &value) const
static Ptr< AttributeChecker > MakeEmptyAttributeChecker()
Create an empty AttributeChecker.
virtual bool Check(const AttributeValue &value) const =0
virtual std::string GetUnderlyingTypeInformation(void) const =0
A template-based reference counting class.
virtual bool Get(const ObjectBase *object, AttributeValue &attribute) const
ns3::SimpleRefCount declaration and template implementation.