A class for an empty attribute value. More...
#include "attribute.h"
Public Member Functions | |
EmptyAttributeValue () | |
Default constructor. More... | |
![]() | |
AttributeValue () | |
virtual | ~AttributeValue () |
![]() | |
SimpleRefCount () | |
Default 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 operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Private Member Functions | |
virtual Ptr< AttributeValue > | Copy (void) const |
virtual bool | DeserializeFromString (std::string value, Ptr< const AttributeChecker > checker) |
virtual std::string | SerializeToString (Ptr< const AttributeChecker > checker) const |
A class for an empty attribute value.
AttributeValue implementation for EmptyAttribute.
Definition at line 232 of file attribute.h.
ns3::EmptyAttributeValue::EmptyAttributeValue | ( | void | ) |
|
privatevirtual |
Implements ns3::AttributeValue.
Definition at line 93 of file attribute.cc.
References NS_LOG_FUNCTION.
|
privatevirtual |
[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 105 of file attribute.cc.
References NS_LOG_FUNCTION.
|
privatevirtual |
[in] | checker | The checker associated to the attribute |
In the EmptyAttributeValue case, the string returned will be simply ""
Implements ns3::AttributeValue.
Definition at line 99 of file attribute.cc.
References NS_LOG_FUNCTION.