NEST
2.6.0,not_revisioned_source_dir@0
|
Wrapper for masked and unmasked pools. More...
Public Member Functions | |
PoolWrapper_ () | |
~PoolWrapper_ () | |
void | define (MaskedLayer< D > *) |
void | define (std::vector< std::pair< Position< D >, index > > *) |
Ntree< D, index >::masked_iterator | masked_begin (const Position< D > &pos) const |
Ntree< D, index >::masked_iterator | masked_end () const |
std::vector< std::pair < Position< D >, index > >::iterator | begin () const |
std::vector< std::pair < Position< D >, index > >::iterator | end () const |
Private Attributes | |
MaskedLayer< D > * | masked_layer_ |
std::vector< std::pair < Position< D >, index > > * | positions_ |
Wrapper for masked and unmasked pools.
The purpose is to avoid code doubling for cases with and without masks. Essentially, the class works as a fancy union.
nest::ConnectionCreator::PoolWrapper_< D >::PoolWrapper_ | ( | ) |
nest::ConnectionCreator::PoolWrapper_< D >::~PoolWrapper_ | ( | ) |
std::vector< std::pair< Position< D >, index > >::iterator nest::ConnectionCreator::PoolWrapper_< D >::begin | ( | void | ) | const |
Referenced by nest::ConnectionCreator::target_driven_connect_().
void nest::ConnectionCreator::PoolWrapper_< D >::define | ( | MaskedLayer< D > * | ml | ) |
References assert().
Referenced by nest::ConnectionCreator::target_driven_connect_().
void nest::ConnectionCreator::PoolWrapper_< D >::define | ( | std::vector< std::pair< Position< D >, index > > * | pos | ) |
References assert().
std::vector< std::pair< Position< D >, index > >::iterator nest::ConnectionCreator::PoolWrapper_< D >::end | ( | void | ) | const |
Referenced by nest::ConnectionCreator::target_driven_connect_().
Ntree< D, index >::masked_iterator nest::ConnectionCreator::PoolWrapper_< D >::masked_begin | ( | const Position< D > & | pos | ) | const |
Referenced by nest::ConnectionCreator::target_driven_connect_().
Ntree< D, index >::masked_iterator nest::ConnectionCreator::PoolWrapper_< D >::masked_end | ( | ) | const |
Referenced by nest::ConnectionCreator::target_driven_connect_().
|
private |
|
private |