A checker for EmptyAttributeValue. More...
#include "attribute.h"
Public Member Functions | |
EmptyAttributeChecker () | |
~EmptyAttributeChecker () | |
virtual bool | Check (const AttributeValue &value) const |
virtual bool | Copy (const AttributeValue &source, AttributeValue &destination) const |
Copy the source to the destination. More... | |
virtual Ptr< AttributeValue > | Create (void) const |
virtual std::string | GetUnderlyingTypeInformation (void) const |
virtual std::string | GetValueTypeName (void) const |
virtual bool | HasUnderlyingTypeInformation (void) const |
Public Member Functions inherited from ns3::AttributeChecker | |
AttributeChecker () | |
virtual | ~AttributeChecker () |
Ptr< AttributeValue > | CreateValidValue (const AttributeValue &value) const |
Create a valid value from the argument value, or reinterpret the argument as a string. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeChecker > | |
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... | |
A checker for EmptyAttributeValue.
Does nothing, since every EmptyAttributeValue does not contain anything and is, of course, valid.
Definition at line 296 of file attribute.h.
ns3::EmptyAttributeChecker::EmptyAttributeChecker | ( | ) |
Definition at line 139 of file attribute.cc.
ns3::EmptyAttributeChecker::~EmptyAttributeChecker | ( | ) |
Definition at line 142 of file attribute.cc.
|
virtual |
[in] | value | A pointer to the value to check |
Implements ns3::AttributeChecker.
Definition at line 146 of file attribute.cc.
|
virtual |
Copy the source to the destination.
[in] | source | Source AttributeValue |
[out] | destination | Destination AttributeValue |
Implements ns3::AttributeChecker.
Definition at line 178 of file attribute.cc.
|
virtual |
This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.
Implements ns3::AttributeChecker.
Definition at line 171 of file attribute.cc.
|
virtual |
Implements ns3::AttributeChecker.
Definition at line 165 of file attribute.cc.
|
virtual |
A typical return value here is FooValue where Foo is the name of the type being wrapped.
Implements ns3::AttributeChecker.
Definition at line 153 of file attribute.cc.
|
virtual |
If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.
Implements ns3::AttributeChecker.
Definition at line 159 of file attribute.cc.