Definition at line 27 of file RFieldHolder.hxx.
Public Member Functions | |
RFieldHolder (std::shared_ptr< ROOT::Experimental::RNTupleReader > ntplReader, const std::string &parent_name, ROOT::Experimental::DescriptorId_t id) | |
const TClass * | GetClass () const override |
Returns class of contained object. | |
auto | GetId () const |
auto | GetNtplReader () const |
const void * | GetObject () const override |
Returns direct (temporary) object pointer. | |
auto | GetParentName () const |
Public Member Functions inherited from ROOT::Browsable::RHolder | |
virtual | ~RHolder ()=default |
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. | |
template<class T > | |
bool | InheritsFrom () const |
Private Attributes | |
ROOT::Experimental::DescriptorId_t | fFieldId |
std::shared_ptr< ROOT::Experimental::RNTupleReader > | fNtplReader |
std::string | fParentName |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Browsable::RHolder | |
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() | |
|
inline |
Definition at line 34 of file RFieldHolder.hxx.
|
inlineoverridevirtual |
Returns class of contained object.
Implements ROOT::Browsable::RHolder.
Definition at line 40 of file RFieldHolder.hxx.
|
inline |
Definition at line 47 of file RFieldHolder.hxx.
|
inline |
Definition at line 45 of file RFieldHolder.hxx.
|
inlineoverridevirtual |
Returns direct (temporary) object pointer.
Implements ROOT::Browsable::RHolder.
Definition at line 43 of file RFieldHolder.hxx.
|
inline |
Definition at line 46 of file RFieldHolder.hxx.
|
private |
Definition at line 31 of file RFieldHolder.hxx.
|
private |
Definition at line 28 of file RFieldHolder.hxx.
|
private |
Definition at line 29 of file RFieldHolder.hxx.