Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#include <network_mixins.hpp>
Public Member Functions | |
iterator_ (ImplPtr impl, NeuronIndex idx) | |
operator iterator_< Dir, true > () const | |
bool | operator== (const Self &o) const |
bool | operator!= (const Self &o) const |
bool | operator< (const Self &o) const |
bool | operator> (const Self &o) const |
bool | operator<= (const Self &o) const |
bool | operator>= (const Self &o) const |
Self | operator+ (NeuronIndex b) |
Self | operator- (NeuronIndex b) |
NeuronIndex | operator- (const Self &o) const |
Self & | operator++ () |
Self | operator++ (int) |
Self & | operator-- () |
Self | operator-- (int) |
Self & | operator+= (NeuronIndex n) |
Self & | operator-= (NeuronIndex n) |
template<typename U = Value, typename = typename std::enable_if<!Const, U>::type> | |
Value | operator* () |
template<typename U = Value, typename = typename std::enable_if<!Const, U>::type> | |
Value | operator-> () |
template<typename U = Value, typename = typename std::enable_if<!Const, U>::type> | |
Value | operator[] (NeuronIndex n) |
Value | operator* () const |
Value | operator-> () const |
Value | operator[] (NeuronIndex n) const |
Generic class implementing the various iterator types exposed by the Population class. Note that comparison operators only compare the neuron index and do not check for equivalence of the population object. Comparing iterators from different population objects is nonsense.
Dir | is the direction into which the iterator advances. |
Const | if true, the iterator allows no write access to the underlying population. If false, the corresponding access operators are enabled. |
|
inline |
Constructor, creates an iterator pointing at the neuron with the index idx in the given population.
impl | is a pointer at the underlying class. |
idx | is the index of the neuron. |
|
inline |
Allow implicit conversion to const-iterators.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |