![]() |
Project
|
#include "CommonUtils/ConfigurableParamHelper.h"#include "CommonUtils/ConfigurableParam.h"#include <TClass.h>#include <TDataMember.h>#include <TDataType.h>#include <TEnum.h>#include <TEnumConstant.h>#include <TIterator.h>#include <TList.h>#include <iostream>#include <sstream>#include <fairlogger/Logger.h>#include <boost/property_tree/ptree.hpp>#include <boost/functional/hash.hpp>#include <functional>#include <format>#include <cassert>Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &out, const ParamDataMember &pdm) |
| bool | isString (TDataMember const &dm) |
| void | loopOverMembers (TClass *cl, void *obj, std::function< void(const TDataMember *, int, int)> &&callback) |
| std::string | getName (const TDataMember *dm, int index, int size) |
| size_t | getSizeOfUnderlyingType (const TDataMember &dm) |
| std::string | asString (TDataMember const &dm, char *pointer) |
| std::type_info const & | nameToTypeInfo (const char *tname, TDataType const *dt) |
| bool | isMemblockDifferent (char const *block1, char const *block2, int sizeinbytes) |
| std::string asString | ( | TDataMember const & | dm, |
| char * | pointer | ||
| ) |
Definition at line 151 of file ConfigurableParamHelper.cxx.
| std::string getName | ( | const TDataMember * | dm, |
| int | index, | ||
| int | size | ||
| ) |
Definition at line 121 of file ConfigurableParamHelper.cxx.
| size_t getSizeOfUnderlyingType | ( | const TDataMember & | dm | ) |
Definition at line 132 of file ConfigurableParamHelper.cxx.
Definition at line 371 of file ConfigurableParamHelper.cxx.
| bool isString | ( | TDataMember const & | dm | ) |
Definition at line 70 of file ConfigurableParamHelper.cxx.
| void loopOverMembers | ( | TClass * | cl, |
| void * | obj, | ||
| std::function< void(const TDataMember *, int, int)> && | callback | ||
| ) |
Definition at line 79 of file ConfigurableParamHelper.cxx.
| std::type_info const & nameToTypeInfo | ( | const char * | tname, |
| TDataType const * | dt | ||
| ) |
Definition at line 230 of file ConfigurableParamHelper.cxx.
| std::ostream & operator<< | ( | std::ostream & | out, |
| const ParamDataMember & | pdm | ||
| ) |
Definition at line 62 of file ConfigurableParamHelper.cxx.