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) | |
Constructor. More... | |
Private Attributes | |
uint32_t | m_current |
Current position in parent's aggegrates. More... | |
Ptr< const Object > | m_object |
Parent Object. More... | |
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 47 of file object.cc.
References NS_LOG_FUNCTION.
bool ns3::Object::AggregateIterator::HasNext | ( | void | ) | const |
Definition at line 55 of file object.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::AttributeIterator::DoIterate().
Definition at line 61 of file object.cc.
References ns3::Object::Aggregates::buffer, ns3::Object::m_aggregates, and NS_LOG_FUNCTION.
Referenced by ns3::AttributeIterator::DoIterate().
|
private |