Public Member Functions | Friends

ns3::Object::AggregateIterator Class Reference

Iterate over the objects aggregated to an ns3::Object. More...

#include <object.h>

Collaboration diagram for ns3::Object::AggregateIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool HasNext (void) const
Ptr< const ObjectNext (void)

Friends

class Object

Detailed Description

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.


Member Function Documentation

bool ns3::Object::AggregateIterator::HasNext ( void   )  const
Returns:
true if HasNext can be called and return a non-null pointer, false otherwise.
Ptr<const Object> ns3::Object::AggregateIterator::Next ( void   ) 
Returns:
the next aggregated object.

The documentation for this class was generated from the following file: