69 bool ok = v->DeserializeFromString (str->
Get (),
this);
90 return Create<EmptyAttributeValue> ();
155 return "EmptyAttribute";
NS_FATAL_x macro definitions.
virtual bool HasGetter(void) const
Represent the type of an attribute.
Smart pointer class similar to boost::intrusive_ptr.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
Hold variables of type string.
virtual std::string GetValueTypeName(void) const
ns3::StringValue attribute value declarations.
Hold a value for an Attribute.
virtual bool Set(ObjectBase *object, const AttributeValue &value) const
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
virtual bool DeserializeFromString(std::string value, Ptr< const AttributeChecker > checker)
Anchor the ns-3 type and attribute system.
Ptr< AttributeValue > CreateValidValue(const AttributeValue &value) const
Create a valid value from the argument value, or reinterpret the argument as a string.
std::string Get(void) const
virtual bool Copy(const AttributeValue &source, AttributeValue &destination) const
Copy the source to the destination.
A class for an empty attribute value.
virtual ~AttributeAccessor()
ns3::AttributeValue, ns3::AttributeAccessor and ns3::AttributeChecker declarations.
allow setting and getting the value of an attribute.
virtual ~AttributeValue()
virtual Ptr< AttributeValue > Copy(void) const =0
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual bool HasSetter(void) const
virtual Ptr< AttributeValue > Create(void) const =0
virtual ~AttributeChecker()
virtual std::string SerializeToString(Ptr< const AttributeChecker > checker) const
~EmptyAttributeAccessor()
virtual Ptr< AttributeValue > Create(void) const
virtual Ptr< AttributeValue > Copy(void) const
virtual bool HasUnderlyingTypeInformation(void) const
virtual std::string GetUnderlyingTypeInformation(void) const
virtual bool Check(const AttributeValue &value) const
EmptyAttributeValue()
Default constructor.
virtual bool Check(const AttributeValue &value) const =0
virtual bool Get(const ObjectBase *object, AttributeValue &attribute) const