Matcher for dataset configurations per backend. More...
#include <JSONMatcher.hpp>
Public Member Functions | |
| MatcherPerBackend () | |
| For default construction. | |
| MatcherPerBackend (std::string backendName, TracingJSON config) | |
| Initialize one backend's JSON matcher from its configuration. | |
| auto | get (std::string const &datasetPath) const -> nlohmann::json const & |
| Get the JSON config associated with a regex pattern. | |
Public Attributes | |
| std::string | backendName |
Matcher for dataset configurations per backend.
| openPMD::json::MatcherPerBackend::MatcherPerBackend | ( | std::string | backendName, |
| TracingJSON | config ) |
Initialize one backend's JSON matcher from its configuration.
This constructor will parse the given config. It will distinguish between ordinary openPMD JSON configurations and dataset-specific configurations.
| backendName | The backend's JSON key. |
| config | The JSON configuration for one backend. E.g. for ADIOS2, this will be the sub-object/array found under config["adios2"]["dataset"]. |
| nlohmann::json const & openPMD::json::MatcherPerBackend::get | ( | std::string const & | datasetPath | ) | const -> nlohmann::json const & |
Get the JSON config associated with a regex pattern.
| datasetPath | The regex. |