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