ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Go to the source code of this file.
Namespaces | |
daq | |
Typedefs | |
using | Json = nlohmann::json |
using | JsonPointer = nlohmann::json_pointer< Json > |
Functions | |
template<class... Args> | |
DpSpecError | daq::MakeParseException (JsonPointer const &ptr, Args &&... args) |
template<char const * > | |
DpSpecError | daq::MakeParseException (JsonPointer const &ptr, char const *str) |
DpSpecError | daq::MakeValueMissingException (JsonPointer const &ptr) |
DpSpecError | daq::MakeWrongTypeException (JsonPointer const &ptr, char const *expected_type, char const *actual_type) |
DpSpecError | daq::MakeUnknownVariantException (JsonPointer const &ptr, char const *known_variants, char const *actual_variant) |
template<class T > | |
T | daq::GetMember (Json const &json, char const *name, JsonPointer const &breadcrumb, bool allow_empty=true) |
template<> | |
std::string | daq::GetMember< std::string > (Json const &json, char const *name, JsonPointer const &breadcrumb, bool allow_empty) |
void | daq::AssertIsObject (Json const &json, JsonPointer const &breadcrumb) |
void | daq::AssertIsArray (Json const &json, JsonPointer const &breadcrumb) |
std::vector< std::string > | daq::ParseArrayOfString (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::Filter | daq::ParseFilter (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::Transform | daq::ParseTransform (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::KeywordRules | daq::ParseKeywordRules (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::SourceFitsKeywords | daq::ParseSourceFitsKeywords (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::SourceFitsFile | daq::ParseSourceFitsFile (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::Target | daq::ParseTarget (Json const &json, JsonPointer const &breadcrumb) |
DpSpec::SourceTypes | daq::ParseSource (Json const &json, JsonPointer const &breadcrumb) |
DpSpec | daq::ParseDpSpec (nlohmann::json const &spec) |
Parse JSON to construct the DpSpec structure. More... | |
Origin | daq::ParseSourceOrigin (std::string const &origin) |
Parse origin string from DpSpec into component parts. More... | |
Definition in file dpSpec.cpp.
using Json = nlohmann::json |
Definition at line 13 of file dpSpec.cpp.
using JsonPointer = nlohmann::json_pointer<Json> |
Definition at line 14 of file dpSpec.cpp.