ns3::Object::Object::AggregateIterator Class Reference

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

#include <object.h>

Collaboration diagram for ns3::Object::Object::AggregateIterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


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::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::Object::AggregateIterator::Next ( void   ) 

Returns:
the next aggregated object.


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

Generated on Fri Apr 9 15:01:08 2010 for NS-3 by  doxygen 1.5.8