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 () |
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 266 of file attribute.h.
| ns3::EmptyAttributeAccessor::EmptyAttributeAccessor | ( | ) |
Definition at line 107 of file attribute.cc.
References ns3::AttributeAccessor::AttributeAccessor().
Here is the call graph for this function:
|
override |
Definition at line 112 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 124 of file attribute.cc.
|
overridevirtual |
Implements ns3::AttributeAccessor.
Definition at line 131 of file attribute.cc.
|
overridevirtual |
Implements ns3::AttributeAccessor.
Definition at line 137 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 117 of file attribute.cc.