Iterate over the objects aggregated to an ns3::Object. More...
#include <object.h>
Public Member Functions | |
AggregateIterator () | |
bool | HasNext (void) const |
Ptr< const Object > | Next (void) |
Private Member Functions | |
AggregateIterator (Ptr< const Object > object) |
Private Attributes | |
uint32_t | m_current |
Ptr< const Object > | m_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.
bool ns3::Object::AggregateIterator::HasNext | ( | void | ) | const |
Definition at line 50 of file object.cc.
Referenced by ns3::AttributeIterator::DoIterate().
Definition at line 55 of file object.cc.
References ns3::Object::Aggregates::buffer, and ns3::Object::m_aggregates.
Referenced by ns3::AttributeIterator::DoIterate().