|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Auxiliary data structure for TObject with a user defined label. More...
#include <JRootObject.hh>
Public Member Functions | |
| JRootObject (TObject *__p) | |
| Constructor. | |
| JRootObject (TObject *__p, const TString &__label) | |
| Constructor. | |
| TString | getLabel () const |
| Get label. | |
| void | setLabel (const TString &label) |
| Set label. | |
| void | Draw (const std::string &option) const |
| Draw object. | |
| virtual JClass_t * | get () const override |
| Get pointer. | |
| virtual void | set (JClass_t *p) override |
| Set pointer. | |
| template<class T > | |
| void | set (const JPointer< T > &pointer) |
| Set pointer. | |
| virtual void | reset () override |
| Reset pointer. | |
| template<class T > | |
| void | reset (const JPointer< T > &pointer) |
| Reset pointer. | |
| void | reset (JClass_t *p) |
| Reset pointer. | |
| JClass_t *const & | getReference () const |
| Get rereference to internal pointer. | |
| JClass_t *& | getReference () |
| Get rereference to internal pointer. | |
| virtual bool | equals (const JAbstractPointer &object) const |
| Equals. | |
| bool | is_valid () const |
| Check validity of pointer. | |
| JClass_t * | operator-> () const |
| Smart pointer operator. | |
| operator JClass_t * () const | |
| Type conversion operator. | |
Protected Attributes | |
| TString | label |
| JClass_t * | __p |
| pointer to object | |
Auxiliary data structure for TObject with a user defined label.
Definition at line 29 of file JRootObject.hh.
|
inline |
Constructor.
| __p | pointer to object |
Definition at line 39 of file JRootObject.hh.
|
inline |
Constructor.
| __p | pointer to object |
| __label | label |
Definition at line 52 of file JRootObject.hh.
|
inline |
Get label.
Definition at line 65 of file JRootObject.hh.
|
inline |
|
inline |
Draw object.
Definition at line 93 of file JRootObject.hh.
|
inlineoverridevirtualinherited |
Get pointer.
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JMultiPointer< JClass_t >, JLANG::JMultiPointer< JHead_t >, JLANG::JMultiPointer< JTail_t >, JLANG::JMultiPointer< JTypeList< JDAQEvent, JNullType > >, JLANG::JMultiPointer< JTypeList< JHead_t, JTail_t > >, and JLANG::JMultiPointer< T >.
Definition at line 64 of file JPointer.hh.
|
inlineoverridevirtualinherited |
Set pointer.
| p | pointer to object |
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JSharedPointer< JClass_t, JMemory_t >.
Definition at line 75 of file JPointer.hh.
|
inlineinherited |
Set pointer.
| pointer | pointer to object |
Definition at line 96 of file JPointer.hh.
|
inlineoverridevirtualinherited |
Reset pointer.
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JSharedPointer< JClass_t, JMemory_t >, JLANG::JStorage< JClass_t, JMemory_t >, JLANG::JStorage< JClass_t, JNew >, JLANG::JStorage< JDETECTOR::JModuleRouter, JNew >, JLANG::JStorage< JIO::JReader, JNew >, JLANG::JStorage< JIO::JWriter, JNew >, JLANG::JStorage< JLANG::JMultiPipe< T, N >, JNew >, JLANG::JStorage< JNET::JControlHostObjectOutput, JNew >, JLANG::JStorage< JNET::JServerSocket, JNew >, JLANG::JStorage< JTOOLS::JFunction1D, JNew >, JLANG::JStorage< JTRIGGER::JBuildL1, JNew >, JLANG::JStorage< JTRIGGER::JBuildL2, JNew >, JLANG::JStorage< JTRIGGER::JTimesliceRouter, JNew >, JLANG::JStorage< JTRIGGER::JTrigger3DMuon, JNew >, JLANG::JStorage< JTRIGGER::JTrigger3DShower, JNew >, JLANG::JStorage< JTRIGGER::JTriggerMXShower, JNew >, JLANG::JStorage< JTRIGGER::JTriggerNB, JNew >, and JLANG::JStorage< TFile >.
Definition at line 84 of file JPointer.hh.
|
inlineinherited |
Reset pointer.
| pointer | pointer to object |
Definition at line 108 of file JPointer.hh.
|
inlineinherited |
Reset pointer.
| p | pointer to object |
Definition at line 94 of file JAbstractPointer.hh.
|
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 50 of file JAbstractPointer.hh.
|
inlineinherited |
Check validity of pointer.
Definition at line 83 of file JAbstractPointer.hh.
|
inlineinherited |
Smart pointer operator.
Definition at line 112 of file JAbstractPointer.hh.
|
inlineinherited |
Type conversion operator.
Definition at line 126 of file JAbstractPointer.hh.
|
protected |
Definition at line 99 of file JRootObject.hh.
|
protectedinherited |
pointer to object
Definition at line 136 of file JPointer.hh.