13#ifndef ROOT7_REveDataClasses
14#define ROOT7_REveDataClasses
25namespace Experimental {
66 void AddItem(
void *data_ptr,
const std::string&
n,
const std::string& t);
101 REveDataItem(
const std::string&
n =
"REveDataItem",
const std::string& t =
"");
123 REveDataTable(
const std::string&
n =
"REveDataTable",
const std::string& t =
"");
132 void AddNewColumn(
const std::string& expr,
const std::string& title,
int prec = 2);
156 REveDataColumn(
const std::string&
n =
"REveDataColumn",
const std::string& t =
"");
typedef void((*Func_t)())
virtual void SetCollectionColorRGB(UChar_t r, UChar_t g, UChar_t b)
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
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)
virtual void SetCollectionVisible(bool)
void AddItem(void *data_ptr, const std::string &n, const std::string &t)
void SetItemClass(TClass *cls)
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.
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="")
virtual void SetItemRnrSelf(bool)
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)
ItemInfo_t(void *dp, REveDataItem *di)