NEST
2.6.0,not_revisioned_source_dir@0
|
Class for sequences of ranges acting like a compressed vector. More...
#include <multirange.h>
Classes | |
class | iterator |
Public Types | |
typedef std::pair< index, index > | Range |
typedef std::vector< Range > | RangeVector |
Public Member Functions | |
Multirange () | |
void | push_back (index x) |
void | clear () |
index | operator[] (index n) const |
index | size () const |
bool | empty () const |
iterator | begin () const |
iterator | end () const |
Private Attributes | |
RangeVector | ranges_ |
index | size_ |
Class for sequences of ranges acting like a compressed vector.
typedef std::pair<index,index> nest::Multirange::Range |
typedef std::vector<Range> nest::Multirange::RangeVector |
|
inline |
|
inline |
References ranges_.
|
inline |
References size_.
Referenced by nest::Subnet::global_empty().
|
inline |
References ranges_.
nest::index nest::Multirange::operator[] | ( | index | n | ) | const |
References nest::names::n, and ranges_.
|
inline |
References ranges_, size_, and nest::names::x.
Referenced by nest::Subnet::add_node(), and nest::Subnet::add_remote_node().
|
inline |
References size_.
Referenced by nest::Subnet::add_node(), nest::Subnet::add_remote_node(), and nest::Subnet::global_size().
|
private |
Referenced by begin(), clear(), end(), operator[](), and push_back().
|
private |
Referenced by clear(), empty(), push_back(), and size().