An accessor for EmptyAttributeValue. More...
#include "attribute.h"
Inheritance diagram for ns3::EmptyAttributeAccessor:
Collaboration diagram for ns3::EmptyAttributeAccessor:Public Member Functions | |
| EmptyAttributeAccessor () | |
| ~EmptyAttributeAccessor () override | |
| bool | Get (const ObjectBase *object, AttributeValue &attribute) const override |
| bool | HasGetter () const override |
| bool | HasSetter () const override |
| bool | Set (ObjectBase *object, const AttributeValue &value) const override |
Public Member Functions inherited from ns3::AttributeAccessor | |
| AttributeAccessor () | |
| virtual | ~AttributeAccessor () |
| virtual bool | Get (const ObjectBase *object, AttributeValue &attribute) const =0 |
| virtual bool | HasGetter () const =0 |
| virtual bool | HasSetter () const =0 |
| virtual bool | Set (ObjectBase *object, const AttributeValue &value) const =0 |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
| SimpleRefCount () | |
| Default constructor. | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor. | |
| uint32_t | GetReferenceCount () const |
| Get the reference count of the object. | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment operator. | |
| void | Ref () const |
| Increment the reference count. | |
| void | Unref () const |
| Decrement the reference count. | |
An accessor for EmptyAttributeValue.
Does nothing, since every EmptyAttributeValue is the same.
Definition at line 267 of file attribute.h.
| ns3::EmptyAttributeAccessor::EmptyAttributeAccessor | ( | ) |
Definition at line 118 of file attribute.cc.
|
override |
Definition at line 123 of file attribute.cc.
|
overridevirtual |
| [in,out] | object | The object instance to get the value from |
| [out] | attribute | A pointer to where the value should be set. |
This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.
Implements ns3::AttributeAccessor.
Definition at line 135 of file attribute.cc.
|
overridevirtual |
Implements ns3::AttributeAccessor.
Definition at line 142 of file attribute.cc.
|
overridevirtual |
Implements ns3::AttributeAccessor.
Definition at line 148 of file attribute.cc.
|
overridevirtual |
| [in,out] | object | The object instance to set the value in |
| [in] | value | The value to set |
This method expects that the caller has checked that the input value is valid with AttributeChecker::Check.
Implements ns3::AttributeAccessor.
Definition at line 128 of file attribute.cc.