CMS 3D CMS Logo

fwd_setPtr.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_fwd_setPtr_h
2 #define DataFormats_Common_fwd_setPtr_h
3 // -*- C++ -*-
4 //
5 // Package: Common
6 // Class : setPtr
7 //
14 //
15 // Original Author: Chris Jones
16 // Created: Sat Oct 20 11:45:38 CEST 2007
17 //
18 
19 // user include files
20 // system include files
21 #include <typeinfo>
22 #include <vector>
23 #include <list>
24 #include <set>
25 #include <deque>
26 
27 // forward declarations
28 namespace edm {
29  template <typename T, typename A>
30  void setPtr(std::vector<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
31 
32  template <typename T, typename A>
33  void setPtr(std::list<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
34 
35  template <typename T, typename A>
36  void setPtr(std::deque<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
37 
38  template <typename T, typename A, typename Comp>
39  void setPtr(std::set<T, A, Comp> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
40 
41 } // namespace edm
42 
43 #endif
void setPtr(std::vector< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:67
HLT enums.