Jpp
|
Auxiliary data structure for TObject with a user defined label. More...
#include <JRootObject.hh>
Public Member Functions | |
JRootObject (TObject *__p) | |
Constructor. More... | |
JRootObject (TObject *__p, const TString &__label) | |
Constructor. More... | |
TString | getLabel () const |
Get label. More... | |
void | setLabel (const TString &label) |
Set label. More... | |
void | Draw (const std::string &option) const |
Draw object. More... | |
virtual TObject * | get () const |
Get pointer. More... | |
virtual void | set (TObject *p) |
Set pointer. More... | |
void | set (const JPointer< T > &pointer) |
Set pointer. More... | |
virtual void | reset () |
Reset pointer. More... | |
void | reset (const JPointer< T > &pointer) |
Reset pointer. More... | |
void | reset (TObject *p) |
Reset pointer. More... | |
TObject *const & | getReference () const |
Get rereference to internal pointer. More... | |
TObject *& | getReference () |
Get rereference to internal pointer. More... | |
virtual bool | equals (const JAbstractPointer &object) const |
Equals. More... | |
bool | is_valid () const |
Check validity of pointer. More... | |
TObject * | operator-> () const |
Smart pointer operator. More... | |
operator TObject * () const | |
Type conversion operator. More... | |
Protected Attributes | |
TString | label |
TObject * | __p |
pointer to object More... | |
Auxiliary data structure for TObject with a user defined label.
Definition at line 27 of file JRootObject.hh.
|
inline |
|
inline |
Constructor.
__p | pointer to object |
__label | label |
Definition at line 49 of file JRootObject.hh.
|
inline |
Get label.
Definition at line 62 of file JRootObject.hh.
|
inline |
|
inline |
Draw object.
Definition at line 90 of file JRootObject.hh.
|
inlinevirtualinherited |
Get pointer.
Implements JLANG::JAbstractPointer< TObject >.
Definition at line 64 of file JPointer.hh.
|
inlinevirtualinherited |
Set pointer.
p | pointer to object |
Implements JLANG::JAbstractPointer< TObject >.
Definition at line 75 of file JPointer.hh.
|
inlineinherited |
|
inlinevirtualinherited |
Reset pointer.
Implements JLANG::JAbstractPointer< TObject >.
Definition at line 84 of file JPointer.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get rereference to internal pointer.
Definition at line 119 of file JPointer.hh.
|
inlineinherited |
Get rereference to internal pointer.
Definition at line 130 of file JPointer.hh.
|
inlinevirtualinherited |
Equals.
The equality is evaluated by comparison of the internal pointers.
object | abstract pointer |
Definition at line 48 of file JAbstractPointer.hh.
|
inlineinherited |
Check validity of pointer.
Definition at line 81 of file JAbstractPointer.hh.
|
inlineinherited |
Smart pointer operator.
Definition at line 110 of file JAbstractPointer.hh.
|
inlineinherited |
Type conversion operator.
Definition at line 124 of file JAbstractPointer.hh.
|
protected |
Definition at line 96 of file JRootObject.hh.
|
protectedinherited |
pointer to object
Definition at line 136 of file JPointer.hh.