21#include <nlohmann/json.hpp>
61 nlohmann::json
jarr = nlohmann::json::array();
72 catch (
const std::exception&) {
74 row[
chld->GetCName()] =
"err";
89 c->SetPrecision(
prec);
90 gROOT->ProcessLine(
c->GetFunctionExpressionString().c_str());
92 if (
c->hasValidExpression()) {
120 auto coll = table->GetCollection();
134 const char *
rtyp =
nullptr;
135 const void *
fooptr =
nullptr;
146 << std::hex << std::showbase << (size_t)
fooptr
#define R__LOG_ERROR(...)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
std::function< double(void *) fDoubleFoo)
std::string GetFunctionExpressionString() const
REveDataColumn(const std::string &n="REveDataColumn", const std::string &t="")
std::string EvalExpr(void *iptr) const
std::function< std::string(void *) fStringFoo)
void SetExpressionAndType(const std::string &expr, FieldType_e type)
bool hasValidExpression() const
void SetPrecision(Int_t prec)
std::function< bool(void *) fBoolFoo)
REveDataTable(const std::string &n="REveDataTable", const std::string &t="")
const REveDataCollection * fCollection
void AddNewColumn(const std::string &expr, const std::string &title, int prec=2)
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
virtual Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset)
Write core json.
virtual void AddElement(REveElement *el)
Add el to the list of children.
TClass instances represent classes, structs and namespaces in the ROOT type system.
const char * GetName() const override
Returns name of object.
const char * Data() const
ROOT::RLogChannel & REveLog()
Log channel for Eve diagnostics.