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

Go to the source code of this file.

Classes

struct  daq::JsonObject< E, T >
 
struct  daq::JsonObject< E, std::string >
 
struct  daq::JsonObject< E, double >
 

Namespaces

 daq
 

Typedefs

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

Functions

template<class E , class... Args>
daq::MakeParseException (JsonPointer const &ptr, Args &&... args)
 
template<class E , char const * >
daq::MakeParseException (JsonPointer const &ptr, char const *str)
 
template<class E >
daq::MakeValueMissingException (JsonPointer const &ptr)
 
template<class E >
daq::MakeWrongTypeException (JsonPointer const &ptr, char const *expected_type, char const *actual_type)
 
template<class E >
daq::MakeUnknownVariantException (JsonPointer const &ptr, char const *known_variants, char const *actual_variant)
 
template<class E >
std::pair< Json const &, JsonPointerdaq::GetMember (Json const &json, char const *name, JsonPointer const &breadcrumb)
 
template<class E , class BinaryFunction >
std::pair< Json const &, JsonPointerdaq::GetMember (Json const &json, char const *name, JsonPointer const &breadcrumb, BinaryFunction const &f)
 
template<class E >
void daq::AssertIsObject (Json const &json, JsonPointer const &breadcrumb)
 
template<class E >
void daq::AssertIsArray (Json const &json, JsonPointer const &breadcrumb)
 
template<class E >
std::vector< std::string > daq::ParseArrayOfString (Json const &json, JsonPointer const &breadcrumb)
 

Detailed Description

Definition in file internalParseUtils.hpp.

Typedef Documentation

◆ Json

using Json = nlohmann::json

Definition at line 18 of file internalParseUtils.hpp.

◆ JsonPointer

using JsonPointer = nlohmann::json_pointer<Json>

Definition at line 19 of file internalParseUtils.hpp.