21 #include "ns3/attribute.h"
22 #include "ns3/callback.h"
23 #include "ns3/global-value.h"
24 #include "ns3/object-ptr-container.h"
25 #include "ns3/pointer.h"
26 #include "ns3/string.h"
45 bool calledStart =
false;
76 DynamicCast<const ObjectPtrContainerValue>(info.
initialValue);
127 std::string defaultValue,
virtual ~AttributeDefaultIterator()=0
virtual void VisitAttribute(TypeId tid, std::string name, std::string defaultValue, uint32_t index)
Visit an Attribute.
virtual void EndVisitTypeId()
End the analysis of a TypeId.
void Iterate()
This function will go through all the TypeIds and get only the attributes which are explicit values (...
virtual void DoVisitAttribute(std::string name, std::string defaultValue)
Visit an Attribute.
virtual void StartVisitTypeId(std::string name)
Begin the analysis of a TypeId.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
bool MustHideFromDocumentation() const
Check if this TypeId should not be listed in documentation.
@ ATTR_CONSTRUCT
The attribute can be written at construction-time.
static uint16_t GetRegisteredN()
Get the number of registered TypeIds.
std::size_t GetAttributeN() const
Get the number of attributes.
static TypeId GetRegistered(uint16_t i)
Get a TypeId by index.
TypeId::AttributeInformation GetAttribute(std::size_t i) const
Get Attribute information by index.
std::string GetName() const
Get the name.
Every class exported by the ns3 library is enclosed in the ns3 namespace.