Public Types | |
using | Value = uint64_t |
using | Values = std::vector< Value > |
using | Range = std::array< Value, 2 > |
using | Ranges = std::vector< Range > |
Public Member Functions | |
Selection (Ranges ranges) | |
const Ranges & | ranges () const |
Values | flatten () const |
size_t | flatSize () const |
bool | empty () const |
Static Public Member Functions | |
template<typename Iterator > | |
static Selection | fromValues (Iterator first, Iterator last) |
static Selection | fromValues (const Values &values) |
size_t bbp::sonata::Selection::flatSize | ( | ) | const |
Total number of elements constituting Selection
Values bbp::sonata::Selection::flatten | ( | ) | const |
Array of IDs constituting Selection
const Ranges& bbp::sonata::Selection::ranges | ( | ) | const |
Get a list of ranges constituting Selection