das2C
das core C utilities (v3)
Loading...
Searching...
No Matches
das_range Struct Reference

A constraint on one coordinate (or sub-field) used to select matching files. More...

#include <das3/uri.h>

Detailed Description

A constraint on one coordinate (or sub-field) used to select matching files.

Template fields that no range names are unconstrained. Ranges are half-open: [dBeg, dEnd).

"time" The whole time coordinate; dBeg and dEnd are vtTime. An entry is kept when the interval it covers overlaps the range. That interval runs from the time assembled out of every time field in the path so far to one unit of the finest such field later: a $Y directory covers a year, a file named to the day covers that day.

"sclk.mod64k" One sub-field, as "coord.field"; dBeg and dEnd are "time.year" numbers, truncated to integers, tested against that field alone. dBeg > dEnd is a rollover: the range runs from dBeg up to the field's nMax, then from nMin up to dEnd.

A file's name is taken as the start of its coverage. No search is made for a file that starts before dBeg and runs into the range.


The documentation for this struct was generated from the following file: