ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Namespaces | Typedefs | Functions
dpSpec.cpp File Reference
#include <daq/json/dpSpec.hpp>
#include <iostream>
#include <fmt/format.h>
#include <daq/fits/json.hpp>
#include "internalParseUtils.hpp"

Go to the source code of this file.

Namespaces

 daq
 
 daq::json
 

Typedefs

using Json = nlohmann::json
 
using JsonPointer = nlohmann::json_pointer< Json >
 

Functions

DpSpec::Target daq::json::ParseTarget (Json const &json, JsonPointer const &breadcrumb)
 
DpSpec::SourceTypes daq::json::ParseSource (Json const &json, JsonPointer const &breadcrumb)
 
DpSpec daq::json::ParseDpSpec (nlohmann::json const &spec)
 Parse JSON to construct the DpSpec structure. More...
 
Location daq::json::ParseSourceLocation (std::string const &location)
 Parse location string from DpSpec into component parts. More...
 
void daq::json::to_json (nlohmann::json &j, DpSpec const &s)
 
void daq::json::to_json (nlohmann::json &j, DpSpec::Target const &s)
 
void daq::json::to_json (nlohmann::json &j, DpSpec::SourceTypes const &s)
 

Detailed Description

Definition in file dpSpec.cpp.

Typedef Documentation

◆ Json

using Json = nlohmann::json

Definition at line 15 of file dpSpec.cpp.

◆ JsonPointer

using JsonPointer = nlohmann::json_pointer<Json>

Definition at line 16 of file dpSpec.cpp.