#include <IndexRangeGroup.h>
Public Types | |
using | Index = unsigned int |
using | IndexVector = std::vector< Index > |
using | Name = std::string |
using | NameVector = std::vector< Name > |
using | RangeVector = std::vector< IndexRange > |
Public Member Functions | |
IndexRangeGroup () | |
IndexRangeGroup (Name a_name, const NameVector &a_labels, const RangeVector &a_ranges) | |
IndexRangeGroup (Name a_name, const RangeVector &a_ranges) | |
IndexRangeGroup (const IndexRange &ran) | |
IndexRangeGroup (std::string sgrp) | |
Index | size () const |
bool | operator< (const IndexRangeGroup &rhs) const |
bool | isValid () const |
IndexRange | range (Index iran) const |
IndexRange | range (Name name) const |
Name | label (Index ilab=0) const |
void | getIndices (IndexVector &idxs) const |
Public Attributes | |
Name | name |
NameVector | labels |
RangeVector | ranges |
Definition at line 20 of file IndexRangeGroup.h.
using IndexRangeGroup::Index = unsigned int |
Definition at line 24 of file IndexRangeGroup.h.
using IndexRangeGroup::IndexVector = std::vector<Index> |
Definition at line 25 of file IndexRangeGroup.h.
using IndexRangeGroup::Name = std::string |
Definition at line 26 of file IndexRangeGroup.h.
using IndexRangeGroup::NameVector = std::vector<Name> |
Definition at line 27 of file IndexRangeGroup.h.
Definition at line 28 of file IndexRangeGroup.h.
|
inline |
Definition at line 36 of file IndexRangeGroup.h.
|
inline |
Definition at line 39 of file IndexRangeGroup.h.
|
inline |
Definition at line 43 of file IndexRangeGroup.h.
|
inlineexplicit |
Definition at line 47 of file IndexRangeGroup.h.
|
inlineexplicit |
Definition at line 52 of file IndexRangeGroup.h.
|
inline |
Definition at line 94 of file IndexRangeGroup.h.
|
inline |
Definition at line 78 of file IndexRangeGroup.h.
Definition at line 89 of file IndexRangeGroup.h.
|
inline |
Definition at line 75 of file IndexRangeGroup.h.
|
inline |
Definition at line 79 of file IndexRangeGroup.h.
|
inline |
Definition at line 83 of file IndexRangeGroup.h.
|
inline |
Definition at line 72 of file IndexRangeGroup.h.
NameVector IndexRangeGroup::labels |
Definition at line 32 of file IndexRangeGroup.h.
Name IndexRangeGroup::name |
Definition at line 31 of file IndexRangeGroup.h.
RangeVector IndexRangeGroup::ranges |
Definition at line 33 of file IndexRangeGroup.h.