CMS 3D CMS Logo

Public Member Functions

ExceptionSafeStlPtrCol< StlColType > Class Template Reference

#include <ElectronUtilities.h>

List of all members.

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.

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

Definition at line 21 of file ElectronUtilities.h.

References begin, and end.

     {
      typename StlColType::const_iterator it ;
      for ( it = StlColType::begin() ; it != StlColType::end() ; it++ )
       { delete (*it) ; }
     }