|
| ODIMPathElem2 (const ODIMPathElem &elem, const double elangle, const std::string &date, const std::string &time) |
|
| ODIMPathElem (group_t group=ROOT, index_t index=1) |
|
| ODIMPathElem (const ODIMPathElem &e) |
|
| ODIMPathElem (const std::string &s) |
|
| ODIMPathElem (const char *s) |
|
void | reset () |
|
template<class T > |
ODIMPathElem & | operator= (const T &s) |
| Redirects to set(const std::string &) . More...
|
|
ODIMPathElem & | operator= (const char *s) |
| Calls set(const std::string &) . More...
|
|
virtual void | set (group_t g, index_t i=0) |
| The fundamental assignment operator. More...
|
|
virtual void | set (const std::string &s) |
| Assign a string to this path element. More...
|
|
bool | is (group_t g) const |
| Abbreviation of (group == NONE)
|
|
bool | isRoot () const |
| Abbreviation of (group == ROOT)
|
|
bool | empty () const |
| Equivalent to isRoot(). This method is required in recognizing the leading empty string. Consider "/usr/include".
|
|
bool | isIndexed () const |
| Abbreviation of (group == NONE) More...
|
|
bool | belongsTo (int groupFilter) const |
| Checks if the element belongs to any of groups given.
|
|
group_t | getType () const |
|
index_t | getIndex () const |
|
const std::string & | getPrefix () const |
| Returns the name without the index.
|
|
char | getCharCode () const |
|
const std::string & | getKey () const |
| Debugging/logging. Returns standard name. Does not check if type is OTHER.
|
|
virtual std::ostream & | toStream (std::ostream &sstr) const |
| For string presentation. More...
|
|
const std::string & | str () const |
| Writes the name, including the index, to output stream.
|
|
| operator const std::string & () const |
|
virtual bool | extractPrefix (const std::string &s, bool indexed) |
| Given the non-numeric prefix of a group, like "dataset" or "data", set the group. More...
|
|
template<> |
void | extractIndex (const std::string &s, ODIMPathElem::index_t &idx) |
|
template<> |
void | extractIndex (const std::string &s, ODIMPathElemMatcher::idx_range_t &idx) |
|
|
typedef drain::Flagger | flag_t |
|
typedef drain::Flagger::dict_t | dict_t |
|
typedef drain::Flagger::ivalue_t | group_t |
| In H5, "groups" correspond to "directories" or "folders" in Unix and Windows.
|
|
typedef int | index_t |
|
static bool | isIndexed (group_t group) |
|
static bool | isQuality (group_t group) |
|
static const dict_t & | getDictionary () |
|
static const std::string & | getKey (group_t g) |
| Debugging/logging. Returns standard name. Does not check if type is OTHER.
|
|
static const group_t | NONE = 0 |
| None (undefined)
|
|
static const group_t | ROOT = 1 |
|
static const group_t | DATASET = 2 |
| First level group, /dataset + digit .
|
|
static const group_t | DATA = 4 |
| Second level group, /data + digit .
|
|
static const group_t | ARRAY = 8 |
| Data group "data", at deepest level, like /dataset4/data2/quality1/data.
|
|
static const group_t | QUALITY = 16 |
| Special group on first or second level, /quality + digit , used for storing quality data.
|
|
static const group_t | DATA_GROUPS = DATASET | DATA | QUALITY |
| Group index mask for groups under which data arrays (ARRAY type) are found.
|
|
static const group_t | ALL_LEVELS = (ROOT | DATASET | DATA) |
| Abbreviation for linking (referencing) attributes at different levels (tree depths).
|
|
static const group_t | WHAT = 32 |
| Metadata group /what , at any depth.
|
|
static const group_t | WHERE = 64 |
| Metadata group /where , at any depth.
|
|
static const group_t | HOW = 128 |
| Metadata group /how , at any depth.
|
|
static const group_t | ATTRIBUTE_GROUPS = WHAT|WHERE|HOW |
| Group index mask for groups that contain only meta data.
|
|
static const group_t | ALL_GROUPS = 255 |
| User defined group, name stored as a separate string. Index allowed, but only catenated in the string.
|
|
static const group_t | PALETTE = 256 |
| Palette data (to be linked). EXPERIMENTAL.
|
|
static const group_t | LEGEND = 512 |
| Metadata array describing values in the image data (DATA). EXPERIMENTAL.
|
|
static const group_t | OTHER = 1024 |
| User defined group, name stored as a separate string. The string may still contain numbers, but no indices will be extracted. More...
|
|
static const group_t | IS_INDEXED = (DATASET | DATA | QUALITY ) |
| Group index mask for groups that have an index.
|
|
static const index_t | INDEX_MAX = std::numeric_limits<unsigned short int>::max() |
|
void | add (const std::string &s) |
|
virtual void | extractIndex (const std::string &s) |
| Given a string starting with a numeral, try to extract the index.
|
|
template<class T > |
static void | extractIndex (const std::string &s, T &idx) |
|
std::string | currentStr |
|