NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
nest::LocalChildListIterator Class Reference

Iterator for traversal of all local immediate child nodes in a subnet. More...

#include <nodelist.h>

Public Member Functions

LocalChildListIterator operator++ ()
 
Nodeoperator* ()
 
Node const * operator* () const
 
bool operator== (const LocalChildListIterator &i) const
 
bool operator!= (const LocalChildListIterator &i) const
 

Private Member Functions

 LocalChildListIterator (std::vector< Node * >::iterator const &node, std::vector< Node * >::iterator const &list_end)
 Create iterator from pointer to Node in subnet. More...
 

Private Attributes

vector< Node * >::iterator current_node_
 iterator to the current node in subnet More...
 
vector< Node * >::iterator list_end_
 

Friends

class LocalNodeListBase< LocalChildListIterator >
 

Detailed Description

Iterator for traversal of all local immediate child nodes in a subnet.

Constructor & Destructor Documentation

nest::LocalChildListIterator::LocalChildListIterator ( std::vector< Node * >::iterator const &  node,
std::vector< Node * >::iterator const &  list_end 
)
inlineprivate

Create iterator from pointer to Node in subnet.

Member Function Documentation

bool nest::LocalChildListIterator::operator!= ( const LocalChildListIterator i) const
inline
Node* nest::LocalChildListIterator::operator* ( )
inline

References current_node_.

Node const* nest::LocalChildListIterator::operator* ( ) const
inline

References current_node_.

LocalChildListIterator nest::LocalChildListIterator::operator++ ( )

References current_node_, and list_end_.

bool nest::LocalChildListIterator::operator== ( const LocalChildListIterator i) const
inline

References current_node_.

Friends And Related Function Documentation

friend class LocalNodeListBase< LocalChildListIterator >
friend

Member Data Documentation

vector<Node *>::iterator nest::LocalChildListIterator::current_node_
private

iterator to the current node in subnet

Referenced by operator*(), operator++(), and operator==().

vector<Node *>::iterator nest::LocalChildListIterator::list_end_
private

Referenced by operator++().


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