ObjectPtrContainerChecker implementation class. More...
#include "object-ptr-container.h"
Public Member Functions | |
bool | Check (const AttributeValue &value) const override |
bool | Copy (const AttributeValue &source, AttributeValue &destination) const override |
Copy the source to the destination. | |
Ptr< AttributeValue > | Create () const override |
TypeId | GetItemTypeId () const override |
Get the TypeId of the container class type. | |
std::string | GetUnderlyingTypeInformation () const override |
std::string | GetValueTypeName () const override |
bool | HasUnderlyingTypeInformation () const override |
virtual TypeId | GetItemTypeId () const =0 |
Get the TypeId of the container class type. | |
Public Member Functions inherited from ns3::AttributeChecker | |
AttributeChecker () | |
virtual | ~AttributeChecker () |
virtual bool | Check (const AttributeValue &value) const =0 |
virtual bool | Copy (const AttributeValue &source, AttributeValue &destination) const =0 |
Copy the source to the destination. | |
virtual Ptr< AttributeValue > | Create () const =0 |
Ptr< AttributeValue > | CreateValidValue (const AttributeValue &value) const |
Create a valid value from the argument value, or reinterpret the argument as a string. | |
virtual std::string | GetUnderlyingTypeInformation () const =0 |
virtual std::string | GetValueTypeName () const =0 |
virtual bool | HasUnderlyingTypeInformation () const =0 |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeChecker > | |
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. | |
ObjectPtrContainerChecker implementation class.
Definition at line 199 of file object-ptr-container.h.
|
inlineoverridevirtual |
[in] | value | A pointer to the value to check |
Implements ns3::AttributeChecker.
Definition at line 207 of file object-ptr-container.h.
|
inlineoverridevirtual |
Copy the source to the destination.
[in] | source | Source AttributeValue |
[out] | destination | Destination AttributeValue |
Implements ns3::AttributeChecker.
Definition at line 232 of file object-ptr-container.h.
|
inlineoverridevirtual |
This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.
Implements ns3::AttributeChecker.
Definition at line 227 of file object-ptr-container.h.
|
inlineoverridevirtual |
Get the TypeId of the container class type.
Implements ns3::ObjectPtrContainerChecker.
Definition at line 202 of file object-ptr-container.h.
|
inlineoverridevirtual |
Implements ns3::AttributeChecker.
Definition at line 222 of file object-ptr-container.h.
|
inlineoverridevirtual |
A typical return value here is FooValue where Foo is the name of the type being wrapped.
Implements ns3::AttributeChecker.
Definition at line 212 of file object-ptr-container.h.
|
inlineoverridevirtual |
If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.
Implements ns3::AttributeChecker.
Definition at line 217 of file object-ptr-container.h.