23 #ifndef GID_COLLECTION_H
24 #define GID_COLLECTION_H
61 void print_me(std::ostream& out)
const;
66 const_iterator
begin()
const;
67 const_iterator
end()
const;
95 throw std::out_of_range(
"pos points outside of the GIDCollection");
size_t index
Unsigned long type for enumerations.
Definition: nest.h:109
Definition: gid_collection.h:45
index operator*() const
Definition: gid_collection.h:73
Definition: lockptrdatum.h:40
const Name offset("offset")
Miscellaneous parameters.
Definition: nest_names.h:211
void print_me(std::ostream &out) const
Definition: gid_collection.cpp:51
const_iterator(const GIDCollection *gc, size_t offset)
Definition: gid_collection.h:47
const GIDCollection * gc_
Definition: gid_collection.h:48
Definition: tokenarray.h:62
std::vector< index > gid_array_
Definition: gid_collection.h:39
const const_iterator & operator++()
Definition: gid_collection.h:79
size_t size() const
Definition: gid_collection.h:125
std::pair< index, index > gid_range_
Definition: gid_collection.h:40
index operator[](const size_t pos) const
Definition: gid_collection.h:92
Definition: gid_collection.h:37
bool operator==(const GIDCollection &rhs) const
Definition: gid_collection.h:104
bool is_range_
Definition: gid_collection.h:41
bool operator!=(const const_iterator &rhs) const
Definition: gid_collection.h:86
Default types used by the NEST kernel.
size_t offset_
Definition: gid_collection.h:49
GIDCollection()
Definition: gid_collection.h:56
const_iterator begin() const
Definition: gid_collection.h:113
const_iterator end() const
Definition: gid_collection.h:119