Holder for RNTuple visualization data.
Definition at line 24 of file RVisualizationHolder.hxx.
Public Member Functions | |
| RVisualizationHolder (std::shared_ptr< ROOT::RNTupleReader > ntplReader, const std::string &fileName, const std::string &tupleName) | |
| template<class T> | |
| bool | CanCastTo () const |
| auto | Copy () const |
| Clone container. | |
| virtual void | Forget () |
| Clear all pointers without performing cleanup. | |
| template<class T> | |
| const T * | Get () const |
| Returns direct object pointer cast to provided class. | |
| template<class T> | |
| T * | get_object () |
| Returns plains pointer on object without ownership, only can be used for TObjects. | |
| template<class T> | |
| std::shared_ptr< T > | get_shared () |
| Returns shared_ptr of contained object. | |
| template<class T> | |
| std::unique_ptr< T > | get_unique () |
| Returns unique_ptr of contained object. | |
| const TClass * | GetClass () const override |
| Returns class of contained object. | |
| const std::string & | GetFileName () const |
| std::shared_ptr< ROOT::RNTupleReader > | GetNTupleReader () const |
| const void * | GetObject () const override |
| Returns direct (temporary) object pointer. | |
| const std::string & | GetTupleName () const |
| template<class T> | |
| bool | InheritsFrom () const |
Protected Member Functions | |
| virtual void * | AccessObject () |
| Returns plain object pointer without care about ownership, should not be used often. | |
| virtual RHolder * | DoCopy () const |
| Create copy of container, works only when pointer can be shared. | |
| virtual void * | GetShared () const |
| Returns pointer on existing shared_ptr<T>. | |
| virtual void * | TakeObject () |
| Returns pointer with ownership, normally via unique_ptr<T>::release() or tobj->Clone(). | |
Protected Attributes | |
| std::string | fFileName |
| std::shared_ptr< ROOT::RNTupleReader > | fNtplReader |
| std::string | fTupleName |
#include </home/stephan/code/root-2/gui/browsable/src/RVisualizationHolder.hxx>
|
inline |
Definition at line 31 of file RVisualizationHolder.hxx.
|
inlineprotectedvirtualinherited |
Returns plain object pointer without care about ownership, should not be used often.
Reimplemented in ROOT::Browsable::RAnyObjectHolder, and ROOT::Browsable::TObjectHolder.
Definition at line 43 of file RHolder.hxx.
|
inlineinherited |
Definition at line 67 of file RHolder.hxx.
|
inlineinherited |
Clone container.
Trivial for shared_ptr and TObject holder, does not work for unique_ptr
Definition at line 85 of file RHolder.hxx.
|
inlineprotectedvirtualinherited |
Create copy of container, works only when pointer can be shared.
Reimplemented in ROOT::Browsable::RAnyObjectHolder, ROOT::Browsable::RShared< T >, and ROOT::Browsable::TObjectHolder.
Definition at line 46 of file RHolder.hxx.
|
inlinevirtualinherited |
Clear all pointers without performing cleanup.
Reimplemented in ROOT::Browsable::RAnyObjectHolder, and ROOT::Browsable::TObjectHolder.
Definition at line 58 of file RHolder.hxx.
|
inlineinherited |
Returns direct object pointer cast to provided class.
Definition at line 75 of file RHolder.hxx.
|
inlineinherited |
Returns plains pointer on object without ownership, only can be used for TObjects.
Definition at line 121 of file RHolder.hxx.
|
inlineinherited |
Returns shared_ptr of contained object.
Definition at line 106 of file RHolder.hxx.
|
inlineinherited |
Returns unique_ptr of contained object.
Definition at line 89 of file RHolder.hxx.
|
inlineoverridevirtual |
Returns class of contained object.
Implements ROOT::Browsable::RHolder.
Definition at line 37 of file RVisualizationHolder.hxx.
|
inline |
Definition at line 43 of file RVisualizationHolder.hxx.
|
inline |
Definition at line 42 of file RVisualizationHolder.hxx.
|
inlineoverridevirtual |
Returns direct (temporary) object pointer.
Implements ROOT::Browsable::RHolder.
Definition at line 40 of file RVisualizationHolder.hxx.
|
inlineprotectedvirtualinherited |
Returns pointer on existing shared_ptr<T>.
Reimplemented in ROOT::Browsable::RShared< T >.
Definition at line 37 of file RHolder.hxx.
|
inline |
Definition at line 44 of file RVisualizationHolder.hxx.
|
inlineinherited |
Definition at line 61 of file RHolder.hxx.
|
inlineprotectedvirtualinherited |
Returns pointer with ownership, normally via unique_ptr<T>::release() or tobj->Clone().
Reimplemented in ROOT::Browsable::RAnyObjectHolder, ROOT::Browsable::RUnique< T >, and ROOT::Browsable::TObjectHolder.
Definition at line 40 of file RHolder.hxx.
|
protected |
Definition at line 27 of file RVisualizationHolder.hxx.
|
protected |
Definition at line 26 of file RVisualizationHolder.hxx.
|
protected |
Definition at line 28 of file RVisualizationHolder.hxx.