15 #ifndef CORE_UTIL_JIT_H_
16 #define CORE_UTIL_JIT_H_
23 #include <TDataMember.h>
36 std::vector<TClass*>
FindClassSlow(
const std::string& class_name);
46 const std::string& data_member);
52 TClass* tclass,
const std::vector<std::string>& dm_names,
53 const std::string& functor_name,
54 const std::function<std::string(
const std::string&,
55 const std::vector<TDataMember*>&)>&
60 void*
New(
const std::string& parameter =
"");
62 template <
typename TFunctor>
63 TFunctor*
New(
const std::string& parameter =
"") {
64 return static_cast<TFunctor*
>(
New(parameter));
72 std::function<std::string(
const std::string&,
73 const std::vector<TDataMember*>&)>
82 static void Register(
const std::string& header);
93 #endif // CORE_UTIL_JIT_H_