![]() |
|


Additional Inherited Members | |
Public Types inherited from DataSelector | |
| enum | Prf { SINGLE =1 , DOUBLE =2 , ANY =3 , SINGLE =1 , DOUBLE =2 , ANY =3 } |
| Pulse repetition frequency mode. | |
| enum | Prf { SINGLE =1 , DOUBLE =2 , ANY =3 , SINGLE =1 , DOUBLE =2 , ANY =3 } |
| Pulse repetition frequency mode. | |
Public Types inherited from BeanLike | |
| typedef ReferenceMap | map_t |
Public Member Functions inherited from DataSelector | |
| DataSelector (const std::string &path, const std::string &quantity, unsigned int count=1000, drain::Range< double > elangle={-90.0, 90.0}, int dualPRF=0, drain::Range< int > timespan={0, 0}) | |
| DataSelector (const std::string ¶meters="") | |
| template<typename ... T> | |
| DataSelector (const ODIMPathElem &elem, const T &... args) | |
| Inits pathmatcher. | |
| template<typename ... T> | |
| DataSelector (ODIMPathElem::group_t e, const T &... args) | |
| DataSelector (const DataSelector &selector) | |
| bool | consumeParameters (std::string &args) |
| Sets parameters in predefined order or sets specified parameters. (Python style calling alternatives.) | |
| template<typename ... TT> | |
| void | setPathMatcher (TT... args) |
| const ODIMPathMatcher & | getPathMatcher () const |
| void | trimPathMatcher () |
| "Drop leading slashes", ie. remove leading empty elements. | |
| void | setQuantities (const std::string &s) |
| Sets basic quantities and quality quantities. These sets are separated by '/'. | |
| void | setQuantityRegExp (const std::string &s) |
| bool | quantityIsSet () const |
| const std::string & | getQuantity () const |
| Retrieve quantity list and regular expression, if defined. | |
| const drain::KeySelector & | getQuantitySelector () const |
| const drain::KeySelector & | getQualitySelector () const |
| void | setMaxCount (unsigned int i) |
| unsigned int | getMaxCount () const |
| void | setPrf (const std::string &s) |
| void | setPrf (Prf prf) |
| template<typename ... TT> | |
| void | setOrder (const TT &... args) |
| const DataOrder & | getOrder () const |
| void | selectPaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer) const |
| Collect paths with all the criteria: path, elevation(range), PRF, quantity... | |
| virtual void | updateBean () const |
| Updates member objects with their corresponding variable values . | |
| void | ensureDataGroup () |
| In path, ensure trailing DATA or QUANTITY element. | |
| void | reset () |
| Restore default values. | |
| void | getPaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer) const |
| Sets given parameters and implicitly determines missing parameters. | |
| bool | getPath (const Hi5Tree &src, ODIMPath &path) const |
| Returns the first path encountered with selector attributes and given groupFilter . | |
| bool | getLastPath (const Hi5Tree &src, ODIMPath &path, ODIMPathElem::group_t group=ODIMPathElem::DATA) const |
| Returns the last path encountered with selector attributes and given groupFilter . | |
| bool | getNextPath (const Hi5Tree &src, ODIMPath &path, ODIMPathElem::group_t group=ODIMPathElem::DATA) const |
| Returns the a path with index one greater than the retrieved last path. | |
| DataSelector (const std::string &path, const std::string &quantity, unsigned int count=1000, drain::Range< double > elangle={-90.0, 90.0}, DataSelector::Prf prf=Prf::ANY) | |
| DataSelector (const std::string ¶meters="") | |
| template<typename ... T> | |
| DataSelector (const ODIMPathElem &elem, const T &... args) | |
| Inits pathmatcher. | |
| template<typename ... T> | |
| DataSelector (ODIMPathElem::group_t e, const T &... args) | |
| DataSelector (const DataSelector &selector) | |
| bool | consumeParameters (std::string &args) |
| Sets parameters in predefined order or sets specified parameters. (Python style calling alternatives.) | |
| template<typename ... TT> | |
| void | setPathMatcher (TT... args) |
| const ODIMPathMatcher & | getPathMatcher () const |
| void | trimPathMatcher () |
| "Drop leading slashes", ie. remove leading empty elements. | |
| void | setQuantities (const std::string &s) |
| Sets basic quantities and quality quantities. These sets are separated by '/'. | |
| bool | quantityIsSet () const |
| const std::string & | getQuantity () const |
| Retrieve quantity list and regular expression, if defined. | |
| const QuantitySelector & | getQuantitySelector () const |
| void | setMaxCount (unsigned int i) |
| unsigned int | getMaxCount () const |
| void | setPrf (const std::string &s) |
| void | setPrf (Prf prf) |
| template<typename ... TT> | |
| void | setOrder (const TT &... args) |
| const DataOrder & | getOrder () const |
| void | reset () |
| Collect paths with all the criteria: path, elevation(range), PRF, quantity... | |
| void | getPaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer) const |
| Sets given parameters and implicitly determines missing parameters. | |
| bool | getPath (const Hi5Tree &src, ODIMPath &path) const |
| Returns the first path encountered with selector attributes and given groupFilter . | |
| bool | getLastPath (const Hi5Tree &src, ODIMPath &path, ODIMPathElem::group_t group=ODIMPathElem::DATA) const |
| Returns the last path encountered with selector attributes and given groupFilter . | |
| bool | getNextPath (const Hi5Tree &src, ODIMPath &path, ODIMPathElem::group_t group=ODIMPathElem::DATA) const |
| Returns the a path with index one greater than the retrieved last path. | |
| void | ensureDataGroup () |
| In path, ensure trailing DATA or QUANTITY element. | |
Public Member Functions inherited from BeanLike | |
| BeanLike (const BeanLike &b) | |
| BeanLike (const std::string &name, const std::string &description="") | |
| virtual const std::string & | getName () const |
| Return the name of an instance. | |
| virtual const std::string & | getDescription () const |
| Return a brief description. | |
| bool | hasParameters () const |
| template<class F > | |
| F | getParameter (const std::string &p) const |
| Gets a single parameter. | |
| const map_t & | getParameters () const |
| map_t & | getParameters () |
| template<class F > | |
| void | setParametersFromEntries (const F &args) |
| void | setParameters (std::initializer_list< Variable::init_pair_t > args) |
| Grants access to (if above hidden) | |
| virtual void | setParameters (const std::string &p, char assignmentSymbol='=', char separatorSymbol=0) |
| Sets comma-separated parameters in a predetermined order "a,b,c" or by specifing them "b=2". | |
| template<class T > | |
| void | setParameters (const std::map< std::string, T > &args) |
| Set parameters. | |
| template<class T > | |
| void | setParameters (const SmartMap< T > &args) |
| Set parameters. | |
| void | setParameter (const std::string &p, const Castable &value) |
| Sets a single parameter. | |
| template<class T > | |
| void | setParameter (const std::string &p, const VariableT< T > &value) |
| template<class F > | |
| void | setParameter (const std::string &p, const F &value) |
| Sets a single parameter. | |
| template<class F > | |
| void | setParameter (const std::string &p, std::initializer_list< F > value) |
| Sets a single parameter. | |
| BeanLike & | operator= (const BeanLike &b) |
| virtual std::ostream & | toStream (std::ostream &ostr, bool compact=true) const |
Static Public Member Functions inherited from DataSelector | |
| static void | getTimeMap (const Hi5Tree &srcRoot, ODIMPathElemMap &m) |
| static void | swapData (Hi5Tree &src, const ODIMPathElem &srcElem, Hi5Tree &dst) |
| Swap branches such that dst gets a /dataset or /data with a new index. | |
| static void | swapData (Hi5Tree &srcGroup, Hi5Tree &dst, ODIMPathElem::group_t groupType) |
| Like swapData(Hi5Tree & src,const ODIMPathElem &srcElem, Hi5Tree & dst), but src already at the level. | |
| static void | swapData (Hi5Tree &src, const ODIMPathElem &srcElem, Hi5Tree &dst) |
| Swap branches such that dst gets a /dataset or /data with a new index. | |
| static void | swapData (Hi5Tree &srcGroup, Hi5Tree &dst, ODIMPathElem::group_t groupType) |
| Like swapData(Hi5Tree & src,const ODIMPathElem &srcElem, Hi5Tree & dst), but src already at the level. | |
| static void | getTimeMap (const Hi5Tree &srcRoot, ODIMPathElemMap &m) |
Protected Member Functions inherited from DataSelector | |
| void | updateQuantities () const |
| Continue path matching started with getMainPaths() | |
| void | init () |
| Sets the default values and sets references. | |
| bool | collectPaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer, const ODIMPath &basepath=ODIMPath(), const std::string &parentQuantity="") const |
| Collect paths (only) with criteria: path, elevation(range), PRF, quantity. | |
| bool | collectPathsOLD (const Hi5Tree &src, std::list< ODIMPath > &pathContainer, const ODIMPath &basepath=ODIMPath()) const |
| void | prunePaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer) const |
Use DataOrder::criterion DATA , TIME or ELANGLE and #DataOrder::order MIN or MAX to sort paths. | |
| virtual void | updateBean () const override |
| Traverses the parameters and updates the corresponding member objects. | |
| void | updateQuantities () const |
| Continue path matching started with getMainPaths() | |
| void | init () |
| Sets the default values and sets references. | |
| bool | collectPaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer, const ODIMPath &basepath=ODIMPath(), const std::string &parentQuantity="", ODIMPathElem::group_t filter=ODIMPathElem::ALL_GROUPS) const |
| Collect paths (only) with criteria: path, elevation(range), PRF, quantity. | |
| void | prunePaths (const Hi5Tree &src, std::list< ODIMPath > &pathContainer) const |
Use DataOrder::criterion DATA , TIME or ELANGLE and #DataOrder::order MIN or MAX to sort paths. | |
Protected Member Functions inherited from BeanLike | |
| virtual void | storeLastArguments (const std::string &p) |
| Called after setParameters() | |
Protected Attributes inherited from DataSelector | |
| std::string | path |
| Regular expression of accepted paths, for example ".*‍/data$". Deprecated. | |
| ODIMPathMatcher | pathMatcher |
| std::string | quantities |
| Comma-separated list of conventional quantities, optionally followed by '/', and quality quantities. | |
| drain::KeySelector | quantitySelector |
| drain::KeySelector | qualitySelector |
| unsigned int | count |
| The maximum length of the list of matching keys. | |
| drain::Range< double > | elangle |
| The minimum and maximum elevation angle (applicable with volume scan data only). | |
| DataOrder | order |
| std::string | prf |
| Reject or accept VRAD(VH) | |
| drain::EnumFlagger< drain::SingleFlagger< Prf > > | prfSelector |
| drain::Range< int > | timespan |
| Time in seconds, compared to nominal time. | |
| QuantitySelector | quantitySelector |
Protected Attributes inherited from BeanLike | |
| const std::string | name |
| const std::string | description |
| map_t | parameters |
1.9.8