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;
 std::string GetName(void) const
Get the name. 
Smart pointer class similar to boost::intrusive_ptr. 
static TypeId GetRegistered(uint16_t i)
Get a TypeId by index. 
The attribute can be written at construction-time. 
virtual void EndVisitTypeId(void)
End the analysis of a TypeId. 
bool MustHideFromDocumentation(void) const
Check if this TypeId should not be listed in documentation. 
virtual ~AttributeDefaultIterator()=0
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
std::size_t GetAttributeN(void) const
Get the number of attributes. 
void Iterate(void)
This function will go through all the TypeIds and get only the attributes which are explicit values (...
struct TypeId::AttributeInformation GetAttribute(std::size_t i) const
Get Attribute information by index. 
virtual void DoVisitAttribute(std::string name, std::string defaultValue)
Visit an Attribute. 
virtual void VisitAttribute(TypeId tid, std::string name, std::string defaultValue, uint32_t index)
Visit an Attribute. 
static uint16_t GetRegisteredN(void)
Get the number of registered TypeIds. 
virtual void StartVisitTypeId(std::string name)
Begin the analysis of a TypeId. 
a unique identifier for an interface.