13#ifndef ROOT7_REveDataCollection
14#define ROOT7_REveDataCollection
28namespace Experimental {
123 REveDataCollection(
const std::string&
n =
"REveDataCollection",
const std::string& t =
"");
127 void AddItem(
void *data_ptr,
const std::string&
n,
const std::string& t);
typedef void((*Func_t)())
REveDataItemList * GetItemList()
void SetFilterExpr(const TString &filter)
TClass * GetItemClass() const
virtual ~REveDataCollection()
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 StreamPublicMethods(nlohmann::json &cj) const
REveDataItemList * fItemList
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.
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
const REveDataItem * GetDataItem(Int_t i) const
void AddTooltipExpression(const std::string &title, const std::string &expr)
virtual void ItemChanged(REveDataItem *item)
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
FillImpliedSelectedFunc_t fHandlerFillImplied
virtual ~REveDataItemList()
void ProcessSelection(ElementId_t id, bool multi, bool secondary, const std::set< int > &in_secondary_idcs)
void FillImpliedSelectedSet(Set_t &impSelSet) override
Populate set impSelSet with derived / dependant elements.
void SetItemColorRGB(Int_t idx, UChar_t r, UChar_t g, UChar_t b)
Bool_t SetRnrState(Bool_t) override
Set render state of this element and of its children to the same value.
std::string GetHighlightTooltip(const std::set< int > &secondary_idcs) const override
std::vector< TTip > fTooltipExpressions
void SetItemsChangeDelegate(ItemsChangeFunc_t)
static void DummyFillImpliedSelected(REveDataItemList *, Set_t &impSelSet)
void SetFillImpliedSelectedDelegate(FillImpliedSelectedFunc_t)
std::vector< REveDataItem * > fItems
ItemsChangeFunc_t fHandlerItemsChange
static void DummyItemsChange(REveDataItemList *, const std::vector< int > &)
Bool_t SingleRnrState() const override
std::function< void(REveDataItemList *, Set_t &)> FillImpliedSelectedFunc_t
void SetItemVisible(Int_t idx, Bool_t visible)
std::function< void(REveDataItemList *, const std::vector< int > &)> ItemsChangeFunc_t
REveDataItem(void *d, Color_t c)
void SetFiltered(Bool_t i)
Bool_t GetRnrSelf() const
Color_t GetMainColor() const
void SetMainColor(Color_t i)
Bool_t GetVisible() const
Bool_t GetFiltered() const
void SetRnrSelf(Bool_t i)
virtual std::string GetHighlightTooltip(const std::set< int > &) const
std::set< REveElement * > Set_t
TClass instances represent classes, structs and namespaces in the ROOT type system.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
std::string fTooltipTitle
REveDataColumn fTooltipFunction