![]() |
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 <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 141 of file ConfigurableParamHelper.cxx.
std::string getName | ( | const TDataMember * | dm, |
int | index, | ||
int | size | ||
) |
Definition at line 111 of file ConfigurableParamHelper.cxx.
size_t getSizeOfUnderlyingType | ( | const TDataMember & | dm | ) |
Definition at line 122 of file ConfigurableParamHelper.cxx.
Definition at line 344 of file ConfigurableParamHelper.cxx.
bool isString | ( | TDataMember const & | dm | ) |
Definition at line 60 of file ConfigurableParamHelper.cxx.
void loopOverMembers | ( | TClass * | cl, |
void * | obj, | ||
std::function< void(const TDataMember *, int, int)> && | callback | ||
) |
Definition at line 69 of file ConfigurableParamHelper.cxx.
std::type_info const & nameToTypeInfo | ( | const char * | tname, |
TDataType const * | dt | ||
) |
Definition at line 220 of file ConfigurableParamHelper.cxx.
std::ostream & operator<< | ( | std::ostream & | out, |
const ParamDataMember & | pdm | ||
) |
Definition at line 52 of file ConfigurableParamHelper.cxx.