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 > first) | |
Private Attributes | |
Ptr< const Object > | m_first |
Ptr< const Object > | m_current |
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.
Definition at line 71 of file object.h.
bool ns3::Object::AggregateIterator::HasNext | ( | void | ) | const |
Definition at line 46 of file object.cc.
References m_current, m_first, and ns3::PeekPointer().
Referenced by ns3::AttributeIterator::DoIterate().
Definition at line 55 of file object.cc.
References m_current.
Referenced by ns3::AttributeIterator::DoIterate().
Ptr<const Object> ns3::Object::AggregateIterator::m_current [private] |
Ptr<const Object> ns3::Object::AggregateIterator::m_first [private] |