PointerChecker implementation. More...
#include <pointer.h>
Inheritance diagram for ns3::internal::PointerChecker< T >:
Collaboration diagram for ns3::internal::PointerChecker< T >:Private Member Functions | |
| virtual bool | Check (const AttributeValue &val) const |
| virtual bool | Copy (const AttributeValue &source, AttributeValue &destination) const |
| Copy the source to the destination. More... | |
| virtual Ptr< AttributeValue > | Create (void) const |
| virtual TypeId | GetPointeeTypeId (void) const |
| Get the TypeId of the base type. More... | |
| virtual std::string | GetUnderlyingTypeInformation (void) const |
| virtual std::string | GetValueTypeName (void) const |
| virtual bool | HasUnderlyingTypeInformation (void) const |
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 () | |
| Constructor. More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor. More... | |
| uint32_t | GetReferenceCount (void) const |
| Get the reference count of the object. More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment. More... | |
| void | Ref (void) const |
| Increment the reference count. More... | |
| void | Unref (void) const |
| Decrement the reference count. More... | |
Static Public Member Functions inherited from ns3::SimpleRefCount< AttributeChecker > | |
| static void | Cleanup (void) |
| Noop. More... | |
PointerChecker implementation.
|
inlineprivatevirtual |
| value | a pointer to the value to check |
Implements ns3::AttributeChecker.
Definition at line 122 of file pointer.h.
References ns3::PointerValue::GetObject(), and ns3::PeekPointer().
Here is the call graph for this function:
|
inlineprivatevirtual |
Copy the source to the destination.
| source | source AttributeValue |
| destination | destination AttributeValue |
Implements ns3::AttributeChecker.
|
inlineprivatevirtual |
This method is typically used to create a temporary variable prior to calling Attribute::DeserializeFromString.
Implements ns3::AttributeChecker.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Implements ns3::AttributeChecker.
Definition at line 145 of file pointer.h.
References ns3::TypeId::GetName().
Here is the call graph for this function:
|
inlineprivatevirtual |
A typical return value here is FooValue where Foo is the name of the type being wrapped.
Implements ns3::AttributeChecker.
|
inlineprivatevirtual |
If this method returns false, the return value of the GetUnderlyingTypeInformation method cannot be relied upon.
Implements ns3::AttributeChecker.