CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
31  setPtr(std::vector<T, A> const& obj,
32  std::type_info const& iToType,
33  unsigned long iIndex,
34  void const*& oPtr);
35 
36  template <typename T, typename A>
37  void
38  setPtr(std::list<T, A> const& obj,
39  std::type_info const& iToType,
40  unsigned long iIndex,
41  void const*& oPtr);
42 
43  template <typename T, typename A>
44  void
45  setPtr(std::deque<T, A> const& obj,
46  std::type_info const& iToType,
47  unsigned long iIndex,
48  void const*& oPtr);
49 
50  template <typename T, typename A, typename Comp>
51  void
52  setPtr(std::set<T, A, Comp> const& obj,
53  std::type_info const& iToType,
54  unsigned long iIndex,
55  void const*& oPtr);
56 
57 }
58 
59 #endif
void setPtr(std::vector< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:75