13#ifndef ROOT7_REveDataClasses
14#define ROOT7_REveDataClasses
25namespace Experimental {
69 void AddItem(
void *data_ptr,
const std::string&
n,
const std::string& t);
103 REveDataItem(
const std::string&
n =
"REveDataItem",
const std::string& t =
"");
125 REveDataTable(
const std::string&
n =
"REveDataTable",
const std::string& t =
"");
134 void AddNewColumn(
const std::string& expr,
const std::string& title,
int prec = 2);
158 REveDataColumn(
const std::string&
n =
"REveDataColumn",
const std::string& t =
"");
typedef void((*Func_t)())
void SetFilterExpr(const TString &filter)
std::vector< ItemInfo_t > fItems
TClass * GetItemClass() const
virtual ~REveDataCollection()
std::function< void(REveDataCollection *)> _handler_func
REveDataItem * GetDataItem(Int_t i) const
static Color_t fgDefaultColor
std::function< bool(void *)> fFilterFoo
Bool_t SingleRnrState() const override
void ReserveItems(Int_t items_size)
void * GetDataPtr(Int_t i) const
void SetHandlerFuncIds(std::function< void(REveDataCollection *, const Ids_t &)> handler_func)
virtual void ItemChanged(REveDataItem *item)
void AddItem(void *data_ptr, const std::string &n, const std::string &t)
Bool_t SetRnrState(Bool_t) override
Set render state of this element and of its children to the same value.
void SetItemClass(TClass *cls)
void SetMainColor(Color_t) override
Set main color of the element.
void SetHandlerFunc(std::function< void(REveDataCollection *)> handler_func)
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
std::function< void(REveDataCollection *, const Ids_t &)> _handler_func_ids
REveDataCollection(const std::string &n="REveDataCollection", const std::string &t="")
std::function< double(void *)> fDoubleFoo
std::string EvalExpr(void *iptr)
std::function< bool(void *)> fBoolFoo
REveDataColumn(const std::string &n="REveDataColumn", const std::string &t="")
std::function< std::string(void *)> fStringFoo
void SetExpressionAndType(const std::string &expr, FieldType_e type)
void SetPrecision(Int_t prec)
virtual ~REveDataColumn()
virtual void FillImpliedSelectedSet(Set_t &impSelSet) override
Populate set impSelSet with derived / dependant elements.
Bool_t SetRnrSelf(Bool_t) override
Set render state of this element, i.e.
virtual void SetItemColorRGB(UChar_t r, UChar_t g, UChar_t b)
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
void SetFiltered(Bool_t f)
REveDataItem(const std::string &n="REveDataItem", const std::string &t="")
Bool_t GetFiltered() const
virtual Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset)
Write core json.
const REveDataCollection * GetCollection() const
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)
void SetCollection(const REveDataCollection *col)
std::set< REveElement * > Set_t
TClass instances represent classes, structs and namespaces in the ROOT type system.
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
basic_json<> json
default JSON class
ItemInfo_t(void *dp, REveDataItem *di)