A class for an empty attribute value. More...
#include "attribute.h"
Public Member Functions | |
EmptyAttributeValue () | |
Default constructor. | |
Public Member Functions inherited from ns3::AttributeValue | |
AttributeValue () | |
virtual | ~AttributeValue () |
Public Member Functions inherited from ns3::SimpleRefCount< AttributeValue > | |
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. | |
Private Member Functions | |
Ptr< AttributeValue > | Copy () const override |
bool | DeserializeFromString (std::string value, Ptr< const AttributeChecker > checker) override |
std::string | SerializeToString (Ptr< const AttributeChecker > checker) const override |
A class for an empty attribute value.
Definition at line 230 of file attribute.h.
ns3::EmptyAttributeValue::EmptyAttributeValue | ( | ) |
|
overrideprivatevirtual |
Implements ns3::AttributeValue.
Definition at line 87 of file attribute.cc.
References ns3::Create(), and NS_LOG_FUNCTION.
|
overrideprivatevirtual |
[in] | value | A string representation of the value |
[in] | checker | A pointer to the checker associated to the attribute. |
In the trivial case of EmptyAttributeValue, this should always return true
Implements ns3::AttributeValue.
Definition at line 101 of file attribute.cc.
References NS_LOG_FUNCTION.
|
overrideprivatevirtual |
[in] | checker | The checker associated to the attribute |
In the EmptyAttributeValue case, the string returned will be simply ""
Implements ns3::AttributeValue.
Definition at line 94 of file attribute.cc.
References NS_LOG_FUNCTION.