#include <network_mixins.hpp>
template<typename Impl, typename View, typename Accessor>
class cypress::ViewableMixin< Impl, View, Accessor >
Mixin used by the PopulationBase, PopulationViewBase, NeuronBase, Population, PopulationView and Neuron class to allow to provide a view (a subrange) of neurons in the object.
template<typename Impl, typename View, typename Accessor>
Returns a constant View object representing a range of neurons relative to this object.
- Parameters
-
begin | is the index of the first neuron in the resulting view, relative to the first neuron in this object. |
end | is the index of the last-plus-one neuron in the resulting view, relative to the first neuron in this object. |
- Returns
- a new view representing only the given range of neurons.
template<typename Impl, typename View, typename Accessor>
Returns a View object representing a range of neurons relative to this object.
- Parameters
-
begin | is the index of the first neuron in the resulting view, relative to the first neuron in this object. |
end | is the index of the last-plus-one neuron in the resulting view, relative to the first neuron in this object. |
- Returns
- a new view representing only the given range of neurons.
template<typename Impl, typename View, typename Accessor>
Returns a constant View object representing a range of neurons relative to this object.
- Parameters
-
begin | is the index of the first neuron in the resulting view, relative to the first neuron in this object. |
end | is the index of the last-plus-one neuron in the resulting view, relative to the first neuron in this object. |
- Returns
- a new view representing only the given range of neurons.
template<typename Impl, typename View, typename Accessor>
Returns a View object representing a range of neurons relative to this object.
- Parameters
-
begin | is the index of the first neuron in the resulting view, relative to the first neuron in this object. |
end | is the index of the last-plus-one neuron in the resulting view, relative to the first neuron in this object. |
- Returns
- a new view representing only the given range of neurons.
The documentation for this class was generated from the following file: