A map of "data type" group_t (DATA or QUALITY) where the data can be retrieved using quantity keys (strings).
More...
|
| DataGroup (typename DT::tree_t &tree, const drain::KeySelector &slct=drain::KeySelector()) |
| Given a dataset subtree, like tree["dataset3"], constructs a data map of desired quantities.
|
|
| DataGroup (const datagroup_t &src) |
|
bool | has (const std::string &quantity) const |
|
const data_t & | getData (const std::string &quantity) const |
|
const data_t & | getData (const char *quantity) const |
|
data_t & | getData (const std::string &quantity) |
|
data_t & | getData (const char *quantity) |
|
const data_t & | getData (const drain::KeySelector &slct) const |
|
data_t & | create (const std::string &quantity) |
| Creates (or overrides) data array for quantity and scales it. More...
|
|
data_t & | getFirstData () |
|
const data_t & | getFirstData () const |
|
data_t & | getLastData () |
|
const data_t & | getLastData () const |
|
const drain::VariableMap & | getWhat () const |
|
drain::VariableMap & | getWhat () |
|
const drain::VariableMap & | getWhere () const |
|
drain::VariableMap & | getWhere () |
|
const drain::VariableMap & | getHow () const |
|
drain::VariableMap & | getHow () |
|
void | setExcluded (bool exclude=true) |
|
bool | isExcluded () const |
|
virtual const tree_t & | getTree () const |
|
virtual tree_t & | getTree () |
|
template<class DT, ODIMPathElem::group_t G>
class rack::DataGroup< DT, G >
A map of "data type" group_t (DATA or QUALITY) where the data can be retrieved using quantity keys (strings).
For example, dataGroup["DBZH"] may return data located at "data2" and qualityGroup["QIND"] may return data at "quality1".
Also based on TreeWrapper, so has a tree
inside...
- Template Parameters
-
DT | - data object type: PlainData<...> or Data<...> |
G | - the path element of children: ODIMPathElem:: DATASET, DATA, or QUALITY |
Applications: see SweepSrc and ProductDst below.