PointerChecker implementation. More...
#include "pointer.h"
Private Member Functions | |
bool | Check (const AttributeValue &val) const override |
bool | Copy (const AttributeValue &source, AttributeValue &destination) const override |
Copy the source to the destination. More... | |
Ptr< AttributeValue > | Create () const override |
TypeId | GetPointeeTypeId () const override |
Get the TypeId of the base type. More... | |
std::string | GetUnderlyingTypeInformation () const override |
std::string | GetValueTypeName () const override |
bool | HasUnderlyingTypeInformation () const override |
Additional Inherited Members | |
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 () const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
Assignment operator. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count. More... | |
PointerChecker implementation.
|
inlineoverrideprivatevirtual |
[in] | value | A pointer to the value to check |
Implements ns3::AttributeChecker.
Definition at line 130 of file pointer.h.
References ns3::PeekPointer().
|
inlineoverrideprivatevirtual |
Copy the source to the destination.
[in] | source | Source AttributeValue |
[out] | destination | Destination AttributeValue |
Implements ns3::AttributeChecker.
|
inlineoverrideprivatevirtual |
This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.
Implements ns3::AttributeChecker.
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements ns3::AttributeChecker.
Definition at line 156 of file pointer.h.
References ns3::TypeId::GetName().
|
inlineoverrideprivatevirtual |
A typical return value here is FooValue where Foo is the name of the type being wrapped.
Implements ns3::AttributeChecker.
|
inlineoverrideprivatevirtual |
If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.
Implements ns3::AttributeChecker.