51 template <
typename ListIterator>
98 std::vector<Node*>::iterator
const &list_end) :
142 std::vector<Node*>::iterator
const &list_end) :
183 std::vector<Node*>::iterator
const &list_end) :
207 LocalNodeListBase<LocalLeafListIterator>::iterator
vector< Node * >::iterator local_end()
Return iterator to the end of the local child-list.
Definition: subnet.h:246
static bool is_leaf_(Node *n)
Definition: nodelist.h:202
bool operator!=(const LocalNodeListIterator &i) const
Definition: nodelist.h:109
Base class for all subnet nodes.
Definition: subnet.h:67
iterator end() const
Return iterator pointing to node past last node.
Definition: nodelist.h:71
Declarations for base class Node.
LocalChildListIterator operator++()
Definition: nodelist.cpp:137
LocalNodeListIterator operator++()
NodeList::iterator::operator++() Operator++ advances the iterator to the right neighbor in a post-ord...
Definition: nodelist.cpp:81
LocalChildListIterator(std::vector< Node * >::iterator const &node, std::vector< Node * >::iterator const &list_end)
Create iterator from pointer to Node in subnet.
Definition: nodelist.h:141
LocalNodeListBase(Subnet &subnet)
Definition: nodelist.h:57
Node const * operator*() const
Definition: nodelist.h:194
vector< Node * >::iterator current_node_
iterator to the current node in subnet
Definition: nodelist.h:156
bool operator==(const LocalLeafListIterator &i) const
Definition: nodelist.h:196
Node const * operator*() const
Definition: nodelist.h:149
LocalNodeListIterator(std::vector< Node * >::iterator const &node, std::vector< Node * >::iterator const &list_end)
Create iterator from pointer to Node in subnet.
Definition: nodelist.h:97
Iterator for post-order traversal of all local nodes in a subnet.
Definition: nodelist.h:90
bool local_empty() const
returns true if subnet has no local nodes
Definition: subnet.h:264
bool operator==(const LocalNodeListIterator &i) const
Definition: nodelist.h:108
Iterator for traversal of only local leaf nodes in a subnet.
Definition: nodelist.h:176
vector< Node * >::iterator current_node_
iterator to the current node in subnet
Definition: nodelist.h:113
vector< Node * >::iterator list_end_
Definition: nodelist.h:157
Node * operator*()
Definition: nodelist.h:193
bool empty() const
Returns true if no local nodes.
Definition: nodelist.h:75
LocalNodeListBase< LocalLeafListIterator > LocalLeafList
List interface to subnet providing iteration over local leaf nodes.
Definition: nodelist.h:215
bool operator!=(const LocalLeafListIterator &i) const
Definition: nodelist.h:197
LocalNodeListBase< LocalChildListIterator > LocalChildList
List interface to subnet providing iteration over immediate local child nodes.
Definition: nodelist.h:167
Iterator for traversal of all local immediate child nodes in a subnet.
Definition: nodelist.h:135
LocalNodeListBase< LocalNodeListIterator > LocalNodeList
List interface to subnet providing iteration over all local nodes.
Definition: nodelist.h:128
bool operator!=(const LocalChildListIterator &i) const
Definition: nodelist.h:152
ListIterator iterator
Definition: nodelist.h:55
LocalLeafListIterator(std::vector< Node * >::iterator const &node, std::vector< Node * >::iterator const &list_end)
Create iterator from pointer to Node in subnet.
Definition: nodelist.h:182
Node * operator*()
Definition: nodelist.h:105
Node const * operator*() const
Definition: nodelist.h:106
LocalLeafListIterator operator++()
Definition: nodelist.cpp:168
vector< Node * >::iterator list_end_
Definition: nodelist.h:114
Subnet & get_subnet() const
Returns subnet wrapped by NodeList.
Definition: nodelist.h:78
Subnet & subnet_
root of the network
Definition: nodelist.h:81
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
Base class for all NEST network objects.
Definition: node.h:96
Template for list interface to network tree.
Definition: nodelist.h:52
Node * operator*()
Definition: nodelist.h:148
bool operator==(const LocalChildListIterator &i) const
Definition: nodelist.h:151
iterator begin() const
Return iterator pointing to first node in subnet.
bool is_end_() const
Definition: nodelist.h:100
LocalNodeListIterator base_it_
Definition: nodelist.h:200