An accessor for EmptyAttributeValue. More...
#include "attribute.h"
Public Member Functions | |
EmptyAttributeAccessor () | |
~EmptyAttributeAccessor () | |
virtual bool | Get (const ObjectBase *object, AttributeValue &attribute) const |
virtual bool | HasGetter (void) const |
virtual bool | HasSetter (void) const |
virtual bool | Set (ObjectBase *object, const AttributeValue &value) const |
Public Member Functions inherited from ns3::AttributeAccessor | |
AttributeAccessor () | |
virtual | ~AttributeAccessor () |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeAccessor > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
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 105 of file attribute.cc.
ns3::EmptyAttributeAccessor::~EmptyAttributeAccessor | ( | ) |
Definition at line 108 of file attribute.cc.
|
virtual |
[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 120 of file attribute.cc.
|
virtual |
Implements ns3::AttributeAccessor.
Definition at line 128 of file attribute.cc.
|
virtual |
Implements ns3::AttributeAccessor.
Definition at line 134 of file attribute.cc.
|
virtual |
[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 112 of file attribute.cc.