EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
==================================== More...
#include <EicRoot/blob/master/dbase/dbUtils/FairTSQLObject.h>
Public Member Functions | |
FairTSQLObject () | |
virtual | ~FairTSQLObject () |
TDictionary & | GetcurDict () |
TClass & | GetCurCls () |
TList & | GetMemberList () |
TList & | GetMethodList () |
virtual FairDBObjectMemberTypes | GetMemberType (std::string const &mName) |
virtual std::string * | GetMemberTypeName (std::string const &mName) |
virtual std::string * | GetMemberTypeName (char const *mName) |
TMethodCall * | GetDataMemberGetter (std::string const &mName) |
FairDBObjectMemberValue * | GetMember (std::string const &mName) |
TMethod * | GetMethod (std::string const &methodName) |
std::string * | GetMethodPrototype (std::string const &methodName) |
std::string * | GetMethodReturnTypeName (std::string const &methodName) |
std::string * | GetMethodReturnTypeName (char const *methodName) |
Protected Attributes | |
TClass * | fCurCls |
TDictionary * | fcurDict |
TList * | fMemberList |
TList * | fMethodList |
Private Member Functions | |
FairTSQLObject (FairTSQLObject const &ot) | |
FairTSQLObject & | operator= (FairTSQLObject const &ot) |
void | InitCurClass () |
void | InitMemList () |
void | InitMethodList () |
====================================
Definition at line 101 of file FairTSQLObject.h.
View newest version in sPHENIX GitHub at line 101 of file FairTSQLObject.h
FairTSQLObject::FairTSQLObject | ( | ) |
Default constructor.
|
virtual |
Destructor.
Destructor.
It seems that ROOT owns the returned pointers. So deleting leads into a seg. fault. So we do not need to clean up, ;).
Definition at line 35 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 35 of file FairTSQLObject.cxx
|
private |
TClass & FairTSQLObject::GetCurCls | ( | ) |
Fetch the class information for the current object.
Definition at line 43 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 43 of file FairTSQLObject.cxx
References fCurCls, and InitCurClass().
Referenced by GetDataMemberGetter().
TDictionary & FairTSQLObject::GetcurDict | ( | ) |
Definition at line 75 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 75 of file FairTSQLObject.cxx
References fcurDict.
TMethodCall * FairTSQLObject::GetDataMemberGetter | ( | std::string const & | mName | ) |
mName | The name of the member to search. |
Definition at line 273 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 273 of file FairTSQLObject.cxx
References GetCurCls().
Referenced by GetMember().
FairDBObjectMemberValue * FairTSQLObject::GetMember | ( | std::string const & | mName | ) |
mName | The name of the member to search for. |
mName | The name of the member to search for. |
Definition at line 292 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 292 of file FairTSQLObject.cxx
References CHAR, COMPLEX_TYPE, DOUBLE, DOUBLE_ARRAY, DOUBLE_ARRAY_PTR, FLOAT, FLOAT_ARRAY, FLOAT_ARRAY_PTR, GetDataMemberGetter(), GetMemberType(), INT, INT_ARRAY, INT_ARRAY_PTR, and UNKNOWN_TYPE.
TList & FairTSQLObject::GetMemberList | ( | ) |
Fetch the list of the data members for the current object.
Definition at line 54 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 54 of file FairTSQLObject.cxx
References fMemberList, and InitMemList().
|
virtual |
Find the true type of the member named "mName".
mName | The name of the member to search for. |
Find the true type of the member named "mName".
mName | The name of the member to search for. |
Definition at line 134 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 134 of file FairTSQLObject.cxx
References CHAR, COMPLEX_TYPE, DOUBLE, DOUBLE_ARRAY, DOUBLE_ARRAY_PTR, FLOAT, FLOAT_ARRAY, FLOAT_ARRAY_PTR, GetMemberTypeName(), INT, INT_ARRAY, INT_ARRAY_PTR, and UNKNOWN_TYPE.
Referenced by GetMember().
|
virtual |
Find the true type of the member named "mName".
mName | The name of the member to search for. |
Find the true type of the member named "mName".
mName | The name of the member to search for. |
Definition at line 91 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 91 of file FairTSQLObject.cxx
Referenced by GetMemberType().
|
virtual |
Find the true type of the member named "mName".
mName | The name of the member to search for. |
Definition at line 104 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 104 of file FairTSQLObject.cxx
References fCurCls, fMemberList, and InitMemList().
TMethod * FairTSQLObject::GetMethod | ( | std::string const & | methodName | ) |
methodName | The name of the method we are seeking in the current object. |
Definition at line 206 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 206 of file FairTSQLObject.cxx
References fMethodList, and InitMethodList().
TList & FairTSQLObject::GetMethodList | ( | ) |
Fetch the list of the methods for the current object. Note that list contains also the inherited members.
Definition at line 66 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 66 of file FairTSQLObject.cxx
References fMethodList, and InitMethodList().
std::string * FairTSQLObject::GetMethodPrototype | ( | std::string const & | methodName | ) |
methodName | The name of the method. |
Definition at line 219 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 219 of file FairTSQLObject.cxx
References fMethodList, and InitMethodList().
std::string * FairTSQLObject::GetMethodReturnTypeName | ( | std::string const & | methodName | ) |
methodName | The name of the method. |
Definition at line 240 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 240 of file FairTSQLObject.cxx
std::string * FairTSQLObject::GetMethodReturnTypeName | ( | char const * | methodName | ) |
methodName | The name of the method. |
Definition at line 251 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 251 of file FairTSQLObject.cxx
References fMethodList, and InitMethodList().
|
private |
Initialize the list of members for the current object.
Definition at line 174 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 174 of file FairTSQLObject.cxx
References fCurCls.
Referenced by GetCurCls(), InitMemList(), and InitMethodList().
|
private |
Initialize the list of methods for the current object.
Definition at line 182 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 182 of file FairTSQLObject.cxx
References fCurCls, fMemberList, and InitCurClass().
Referenced by GetMemberList(), and GetMemberTypeName().
|
private |
Definition at line 191 of file FairTSQLObject.cxx.
View newest version in sPHENIX GitHub at line 191 of file FairTSQLObject.cxx
References fCurCls, fMethodList, and InitCurClass().
Referenced by GetMethod(), GetMethodList(), GetMethodPrototype(), and GetMethodReturnTypeName().
|
private |
Initialize the current Tclass object
|
protected |
Current TClass info
Definition at line 208 of file FairTSQLObject.h.
View newest version in sPHENIX GitHub at line 208 of file FairTSQLObject.h
Referenced by GetCurCls(), GetMemberTypeName(), InitCurClass(), InitMemList(), and InitMethodList().
|
protected |
Current Dictionary info
Definition at line 209 of file FairTSQLObject.h.
View newest version in sPHENIX GitHub at line 209 of file FairTSQLObject.h
Referenced by GetcurDict().
|
protected |
The list of members
Definition at line 210 of file FairTSQLObject.h.
View newest version in sPHENIX GitHub at line 210 of file FairTSQLObject.h
Referenced by GetMemberList(), GetMemberTypeName(), and InitMemList().
|
protected |
The list of methods
Definition at line 211 of file FairTSQLObject.h.
View newest version in sPHENIX GitHub at line 211 of file FairTSQLObject.h
Referenced by GetMethod(), GetMethodList(), GetMethodPrototype(), GetMethodReturnTypeName(), and InitMethodList().