13 m_ptr( const_cast<
void*>(ptr) ){
18 m_ptr( const_cast<
void*>(ptr) ),
23 m_ptr( const_cast<
void*>(ptr) ),
24 m_type(edm::TypeWithDict::byName( typeName )){
42 if( m_ptr != rhs.
m_ptr )
return false;
43 if( m_type != rhs.
m_type )
return false;
60 return m_type.cppName();
66 throwException(
"Object input class has not been found in the dictionary.",
74 boost::shared_ptr<void>
ret;
76 ret = boost::shared_ptr<void>( m_ptr,
RflxDeleter( m_type ) );
83 throwException(
"Object input class has not been found in the dictionary.",
88 m_type.destruct( m_ptr );
tuple ret
prodAgent to be discontinued
boost::shared_ptr< void > makeShared() const
std::string typeName() const
const edm::TypeWithDict & type() const
void * upCast(const edm::TypeWithDict &type, void *ptr, const edm::TypeWithDict &asType)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
bool operator==(const Object &rhs) const
edm::TypeWithDict lookupDictionary(const std::type_info &typeInfo, bool throwFlag=true)
Object & operator=(const Object &rhs)
void throwException(const std::string &message, const std::string &methodName) __attribute__((noreturn))
bool operator!=(const Object &rhs) const