Auxiliary data structure for TObject with a user defined label.
More...
#include <JRootObject.hh>
Auxiliary data structure for TObject with a user defined label.
Definition at line 27 of file JRootObject.hh.
◆ JRootObject() [1/2]
JGIZMO::JRootObject::JRootObject |
( |
TObject * |
__p | ) |
|
|
inline |
◆ JRootObject() [2/2]
JGIZMO::JRootObject::JRootObject |
( |
TObject * |
__p, |
|
|
const TString & |
__label |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
__p | pointer to object |
__label | label |
Definition at line 49 of file JRootObject.hh.
53 this->
label = __label;
◆ getLabel()
TString JGIZMO::JRootObject::getLabel |
( |
| ) |
const |
|
inline |
Get label.
- Returns
- label
Definition at line 62 of file JRootObject.hh.
64 TString buffer(this->
label);
69 buffer = buffer(0, pos);
◆ setLabel()
void JGIZMO::JRootObject::setLabel |
( |
const TString & |
label | ) |
|
|
inline |
◆ Draw()
void JGIZMO::JRootObject::Draw |
( |
const std::string & |
option | ) |
const |
|
inline |
Draw object.
Definition at line 90 of file JRootObject.hh.
92 this->
get()->Draw(option.c_str());
◆ get()
◆ set() [1/2]
◆ set() [2/2]
Set pointer.
- Parameters
-
Definition at line 96 of file JPointer.hh.
98 this->
set(pointer.
get());
◆ reset() [1/3]
◆ reset() [2/3]
◆ reset() [3/3]
◆ getReference() [1/2]
Get rereference to internal pointer.
- Returns
- reference to internal pointer
Definition at line 119 of file JPointer.hh.
◆ getReference() [2/2]
Get rereference to internal pointer.
- Returns
- reference to internal pointer
Definition at line 130 of file JPointer.hh.
◆ equals()
Equals.
The equality is evaluated by comparison of the internal pointers.
- Parameters
-
- Returns
- true if equals; else false
Definition at line 50 of file JAbstractPointer.hh.
52 return this->
get() ==
object.
get();
◆ is_valid()
Check validity of pointer.
- Returns
- true if pointer not null; else false
Definition at line 83 of file JAbstractPointer.hh.
85 return this->
get() != NULL;
◆ operator->()
◆ operator TObject *()
◆ label
TString JGIZMO::JRootObject::label |
|
protected |
◆ __p
The documentation for this class was generated from the following file: