1 #ifndef CondCore_CondDB_Binary_h
2 #define CondCore_CondDB_Binary_h
7 #include <boost/shared_ptr.hpp>
25 template <
typename T>
explicit Binary(
const T&
object );
27 explicit Binary(
const boost::shared_ptr<void>& objectPtr );
31 explicit Binary(
const coral::Blob& data );
37 const coral::Blob&
get()
const;
41 const void*
data()
const;
47 boost::shared_ptr<void>
share()
const;
56 m_object( &const_cast<
T&>(object),
Nodelete() ){
std::shared_ptr< coral::Blob > m_data
Binary & operator=(const Binary &rhs)
void copy(const std::string &source)
const void * data() const
boost::shared_ptr< void > m_object
void operator()(void *ptr)
static std::string const source
boost::shared_ptr< void > share() const