CMS 3D CMS Logo

edm::DoNotSetPtr< T > Struct Template Reference

#include <DataFormats/Common/interface/Wrapper.h>

List of all members.

Public Member Functions

void operator() (T const &obj, const std::type_info &iToType, const std::vector< unsigned long > &iIndex, std::vector< void const * > &oPtr) const
void operator() (T const &, const std::type_info &, unsigned long, void const *&oPtr) const


Detailed Description

template<class T>
struct edm::DoNotSetPtr< T >

Definition at line 133 of file Wrapper.h.


Member Function Documentation

template<class T>
void edm::DoNotSetPtr< T >::operator() ( T const &  obj,
const std::type_info &  iToType,
const std::vector< unsigned long > &  iIndex,
std::vector< void const * > &  oPtr 
) const [inline]

Definition at line 145 of file Wrapper.h.

References Exception, name, and edm::errors::ProductDoesNotSupportPtr.

00149     {
00150       throw Exception(errors::ProductDoesNotSupportPtr)
00151       << "The product type " 
00152       << typeid(T).name()
00153       << "\ndoes not support edm::PtrVector\n";
00154     }

template<class T>
void edm::DoNotSetPtr< T >::operator() ( T const &  ,
const std::type_info &  ,
unsigned  long,
void const *&  oPtr 
) const [inline]

Definition at line 135 of file Wrapper.h.

References Exception, name, and edm::errors::ProductDoesNotSupportPtr.

00139     {
00140       throw Exception(errors::ProductDoesNotSupportPtr)
00141       << "The product type " 
00142       << typeid(T).name()
00143       << "\ndoes not support edm::Ptr\n";
00144     }


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:40:33 2009 for CMSSW by  doxygen 1.5.4