Definition at line 27 of file RFieldHolder.hxx.
|
| | RFieldHolder (std::shared_ptr< ROOT::RNTupleReader > ntplReader, const std::string &parent_name, ROOT::DescriptorId_t id, const std::string &displayName) |
| 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.
|
| auto | GetDisplayName () const |
| auto | GetId () const |
| auto | GetNtplReader () const |
| const void * | GetObject () const override |
| | Returns direct (temporary) object pointer.
|
| auto | GetParentName () const |
| template<class T> |
| bool | InheritsFrom () const |
|
| 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().
|
#include </home/stephan/code/root-2/gui/browsable/src/RFieldHolder.hxx>
◆ RFieldHolder()
◆ AccessObject()
| virtual void * ROOT::Browsable::RHolder::AccessObject |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ CanCastTo()
template<class T>
| bool ROOT::Browsable::RHolder::CanCastTo |
( |
| ) |
const |
|
inlineinherited |
◆ Copy()
| auto ROOT::Browsable::RHolder::Copy |
( |
| ) |
const |
|
inlineinherited |
Clone container.
Trivial for shared_ptr and TObject holder, does not work for unique_ptr
Definition at line 85 of file RHolder.hxx.
◆ DoCopy()
| virtual RHolder * ROOT::Browsable::RHolder::DoCopy |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ Forget()
| virtual void ROOT::Browsable::RHolder::Forget |
( |
| ) |
|
|
inlinevirtualinherited |
◆ Get()
template<class T>
| const T * ROOT::Browsable::RHolder::Get |
( |
| ) |
const |
|
inlineinherited |
Returns direct object pointer cast to provided class.
Definition at line 75 of file RHolder.hxx.
◆ get_object()
template<class T>
| T * ROOT::Browsable::RHolder::get_object |
( |
| ) |
|
|
inlineinherited |
Returns plains pointer on object without ownership, only can be used for TObjects.
Definition at line 121 of file RHolder.hxx.
◆ get_shared()
template<class T>
| std::shared_ptr< T > ROOT::Browsable::RHolder::get_shared |
( |
| ) |
|
|
inlineinherited |
Returns shared_ptr of contained object.
Definition at line 106 of file RHolder.hxx.
◆ get_unique()
template<class T>
| std::unique_ptr< T > ROOT::Browsable::RHolder::get_unique |
( |
| ) |
|
|
inlineinherited |
Returns unique_ptr of contained object.
Definition at line 89 of file RHolder.hxx.
◆ GetClass()
| const TClass * RFieldHolder::GetClass |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetDisplayName()
| auto RFieldHolder::GetDisplayName |
( |
| ) |
const |
|
inline |
◆ GetId()
| auto RFieldHolder::GetId |
( |
| ) |
const |
|
inline |
◆ GetNtplReader()
| auto RFieldHolder::GetNtplReader |
( |
| ) |
const |
|
inline |
◆ GetObject()
| const void * RFieldHolder::GetObject |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetParentName()
| auto RFieldHolder::GetParentName |
( |
| ) |
const |
|
inline |
◆ GetShared()
| virtual void * ROOT::Browsable::RHolder::GetShared |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ InheritsFrom()
template<class T>
| bool ROOT::Browsable::RHolder::InheritsFrom |
( |
| ) |
const |
|
inlineinherited |
◆ TakeObject()
| virtual void * ROOT::Browsable::RHolder::TakeObject |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ fDisplayName
| std::string RFieldHolder::fDisplayName |
|
private |
◆ fFieldId
◆ fNtplReader
◆ fParentName
| std::string RFieldHolder::fParentName |
|
private |
The documentation for this class was generated from the following file: