CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ExceptionSafeStlPtrCol< StlColType > Class Template Reference

#include <ElectronUtilities.h>

Inheritance diagram for ExceptionSafeStlPtrCol< StlColType >:

Public Member Functions

 ExceptionSafeStlPtrCol ()
 
 ~ExceptionSafeStlPtrCol ()
 

Detailed Description

template<typename StlColType>
class ExceptionSafeStlPtrCol< StlColType >

Definition at line 17 of file ElectronUtilities.h.

Constructor & Destructor Documentation

template<typename StlColType >
ExceptionSafeStlPtrCol< StlColType >::ExceptionSafeStlPtrCol ( )
inline

Definition at line 20 of file ElectronUtilities.h.

20 : StlColType() {}
template<typename StlColType >
ExceptionSafeStlPtrCol< StlColType >::~ExceptionSafeStlPtrCol ( )
inline

Definition at line 21 of file ElectronUtilities.h.

References begin, and end.

22  {
23  typename StlColType::const_iterator it ;
24  for ( it = StlColType::begin() ; it != StlColType::end() ; it++ )
25  { delete (*it) ; }
26  }
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30