Logo ROOT   6.12/06
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
TObjLink Class Reference

Wrapper around a TObject so it can be stored in a TList.

Definition at line 127 of file TList.h.

Public Member Functions

 TObjLink (TObject *obj)
 
virtual ~TObjLink ()
 
virtual Option_t * GetAddOption () const
 
TObject * GetObject () const
 
TObject ** GetObjectRef ()
 
virtual Option_t * GetOption () const
 
TObjLink * Next ()
 
TObjLinkPtr_t NextSP ()
 
TObjLink * Prev ()
 
TObjLinkPtr_t PrevSP ()
 
void SetObject (TObject *obj)
 
virtual void SetOption (Option_t *)
 

Private Types

using TObjLinkPtr_t = std::shared_ptr< TObjLink >
 
using TObjLinkWeakPtr_t = std::weak_ptr< TObjLink >
 

Private Member Functions

 TObjLink (const TObjLink &)=delete
 
 TObjLink ()=delete
 
TObjLink & operator= (const TObjLink &)=delete
 

Private Attributes

TObjLinkPtr_t fNext
 
TObject * fObject
 
TObjLinkWeakPtr_t fPrev
 

Friends

class TList
 

#include <TList.h>

Inheritance diagram for TObjLink:
[legend]

Member Typedef Documentation

using TObjLink::TObjLinkPtr_t = std::shared_ptr<TObjLink>
private

Definition at line 132 of file TList.h.

using TObjLink::TObjLinkWeakPtr_t = std::weak_ptr<TObjLink>
private

Definition at line 133 of file TList.h.

Constructor & Destructor Documentation

TObjLink::TObjLink ( const TObjLink &  )
privatedelete
TObjLink::TObjLink ( )
privatedelete
TObjLink::TObjLink ( TObject *  obj)
inline

Definition at line 146 of file TList.h.

virtual TObjLink::~TObjLink ( )
inlinevirtual

Definition at line 147 of file TList.h.

Member Function Documentation

virtual Option_t* TObjLink::GetAddOption ( ) const
inlinevirtual

Reimplemented in TObjOptLink.

Definition at line 152 of file TList.h.

TObject* TObjLink::GetObject ( ) const
inline

Definition at line 149 of file TList.h.

TObject** TObjLink::GetObjectRef ( )
inline

Definition at line 150 of file TList.h.

virtual Option_t* TObjLink::GetOption ( ) const
inlinevirtual

Reimplemented in TObjOptLink.

Definition at line 153 of file TList.h.

TObjLink* TObjLink::Next ( )
inline

Definition at line 155 of file TList.h.

TObjLinkPtr_t TObjLink::NextSP ( )
inline

Definition at line 157 of file TList.h.

TObjLink& TObjLink::operator= ( const TObjLink &  )
privatedelete
TObjLink* TObjLink::Prev ( )
inline

Definition at line 156 of file TList.h.

TObjLinkPtr_t TObjLink::PrevSP ( )
inline

Definition at line 158 of file TList.h.

void TObjLink::SetObject ( TObject *  obj)
inline

Definition at line 151 of file TList.h.

virtual void TObjLink::SetOption ( Option_t *  )
inlinevirtual

Reimplemented in TObjOptLink.

Definition at line 154 of file TList.h.

Friends And Related Function Documentation

friend class TList
friend

Definition at line 129 of file TList.h.

Member Data Documentation

TObjLinkPtr_t TObjLink::fNext
private

Definition at line 135 of file TList.h.

TObject* TObjLink::fObject
private

Definition at line 138 of file TList.h.

TObjLinkWeakPtr_t TObjLink::fPrev
private

Definition at line 136 of file TList.h.

Libraries for TObjLink:
[legend]

The documentation for this class was generated from the following file: