1 #ifndef CondCore_DBCommon_TBufferBlobStreamer_h
2 #define CondCore_DBCommon_TBufferBlobStreamer_h
8 #include "CoralBase/Blob.h"
9 #include "Reflex/Type.h"
33 boost::shared_ptr<coral::Blob>
write(
const void* addressOfInputData,
Reflex::Type const & classDictionary,
bool useCompression=
false );
35 void read(
const coral::Blob& blobData,
void* addressOfContainer,
Reflex::Type const & classDictionary );
41 #endif // COND_TBUFFERBLOBSTREAMER_H
std::size_t m_arraySize
length of the plain C array (zero otherwise)
TClass * m_class
The class as seen by the ROOT streaming services.
void read(const coral::Blob &blobData, void *addressOfContainer, Reflex::Type const &classDictionary)
Reads an object from a Blob and fills-in the container.
unsigned int m_primitive
the primitive C++ type if m_class is unset
TBufferBlobTypeInfo(const Reflex::Type &type)
virtual ~TBufferBlobStreamingService()
boost::shared_ptr< coral::Blob > write(const void *addressOfInputData, Reflex::Type const &classDictionary, bool useCompression=false)
Interface for a Streaming Service.
TBufferBlobStreamingService()