8 #include "TBufferFile.h"
10 #include "Cintex/Cintex.h"
16 ROOT::Cintex::Cintex::Enable();
23 TClass* rc = TClass::GetClass(sourceType);
28 rc = TClass::GetClass(sourceType);
41 TBufferFile buffer(TBufferFile::kWrite);
43 buffer.StreamObject(const_cast<void*>(sourceInstance), r_class);
45 m_buffer.write( static_cast<const char*>(buffer.Buffer()), buffer.Length() );
49 m_buffer( std::istreambuf_iterator<
char>(source), std::istreambuf_iterator<
char>()),
50 m_streamer( new TBufferFile( TBufferFile::kRead, m_buffer.
size(), const_cast<
char*>(m_buffer.c_str()), kFALSE ) ){
61 m_streamer->StreamObject(destinationInstance, r_class);
std::string demangledName(const std::type_info &typeInfo)
void write(const std::type_info &sourceType, const void *sourceInstance)
static PluginCapabilities * get()
RootOutputArchive(std::ostream &destination)
TClass * lookUpDictionary(const std::type_info &sourceType)
void throwException(std::string const &message, std::string const &methodName)
void load(const std::string &iName)
static std::string const source
tuple size
Write out results.