Iterate over the objects aggregated to an ns3::Object. More...
#include <object.h>
 Collaboration diagram for ns3::Object::AggregateIterator:Public Member Functions | |
| AggregateIterator () | |
| bool | HasNext (void) const | 
| Ptr< const Object > | Next (void) | 
Private Member Functions | |
| AggregateIterator (Ptr< const Object > object) | |
| Constructor.   | |
Private Attributes | |
| uint32_t | m_current | 
| Current position in parent's aggegrates.   | |
| Ptr< const Object > | m_object | 
| Parent Object.   | |
Friends | |
| class | Object | 
Iterate over the objects aggregated to an ns3::Object.
This iterator does not allow you to iterate over the initial object used to call Object::GetAggregateIterator.
Note: this is a java-style iterator.
| ns3::Object::AggregateIterator::AggregateIterator | ( | ) | 
Definition at line 46 of file object.cc.
References NS_LOG_FUNCTION.
| bool ns3::Object::AggregateIterator::HasNext | ( | void | ) | const | 
Definition at line 54 of file object.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::AttributeIterator::DoIterate().
 Here is the caller graph for this function:Definition at line 60 of file object.cc.
References ns3::Object::Aggregates::buffer, ns3::Object::m_aggregates, and NS_LOG_FUNCTION.
Referenced by ns3::AttributeIterator::DoIterate().
 Here is the caller graph for this function:
      
  | 
  private |