Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RFieldHolder Class Reference

Definition at line 27 of file RFieldHolder.hxx.

Public Member Functions

 RFieldHolder (std::shared_ptr< ROOT::Experimental::Detail::RPageSource > ntplSource, const std::string &parent_name, ROOT::Experimental::DescriptorId_t id)
 
const TClassGetClass () const override
 Returns class of contained object.
 
auto GetId () const
 
auto GetNtplSource () const
 
const voidGetObject () const override
 Returns direct (temporary) object pointer.
 
auto GetParentName () const
 
- Public Member Functions inherited from ROOT::Experimental::Browsable::RHolder
virtual ~RHolder ()=default
 
template<class T >
bool CanCastTo () const
 
auto Copy () const
 Clone container.
 
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::Detail::RPageSourcefNtplSource
 
std::string fParentName
 

Additional Inherited Members

- Protected Member Functions inherited from ROOT::Experimental::Browsable::RHolder
virtual voidAccessObject ()
 Returns plain object pointer without care about ownership, should not be used often.
 
virtual RHolderDoCopy () const
 Create copy of container, works only when pointer can be shared.
 
virtual voidGetShared () const
 Returns pointer on existing shared_ptr<T>
 
virtual voidTakeObject ()
 Returns pointer with ownership, normally via unique_ptr<T>::release() or tobj->Clone()
 

#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/gui/browsable/src/RFieldHolder.hxx>

Inheritance diagram for RFieldHolder:
[legend]

Constructor & Destructor Documentation

◆ RFieldHolder()

RFieldHolder::RFieldHolder ( std::shared_ptr< ROOT::Experimental::Detail::RPageSource ntplSource,
const std::string &  parent_name,
ROOT::Experimental::DescriptorId_t  id 
)
inline

Definition at line 34 of file RFieldHolder.hxx.

Member Function Documentation

◆ GetClass()

const TClass * RFieldHolder::GetClass ( ) const
inlineoverridevirtual

Returns class of contained object.

Implements ROOT::Experimental::Browsable::RHolder.

Definition at line 39 of file RFieldHolder.hxx.

◆ GetId()

auto RFieldHolder::GetId ( ) const
inline

Definition at line 46 of file RFieldHolder.hxx.

◆ GetNtplSource()

auto RFieldHolder::GetNtplSource ( ) const
inline

Definition at line 44 of file RFieldHolder.hxx.

◆ GetObject()

const void * RFieldHolder::GetObject ( ) const
inlineoverridevirtual

Returns direct (temporary) object pointer.

Implements ROOT::Experimental::Browsable::RHolder.

Definition at line 42 of file RFieldHolder.hxx.

◆ GetParentName()

auto RFieldHolder::GetParentName ( ) const
inline

Definition at line 45 of file RFieldHolder.hxx.

Member Data Documentation

◆ fFieldId

ROOT::Experimental::DescriptorId_t RFieldHolder::fFieldId
private

Definition at line 31 of file RFieldHolder.hxx.

◆ fNtplSource

std::shared_ptr<ROOT::Experimental::Detail::RPageSource> RFieldHolder::fNtplSource
private

Definition at line 28 of file RFieldHolder.hxx.

◆ fParentName

std::string RFieldHolder::fParentName
private

Definition at line 29 of file RFieldHolder.hxx.

  • gui/browsable/src/RFieldHolder.hxx