CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fwd_fillPtrVector.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_fwd_fillPtrVector_h
2 #define DataFormats_Common_fwd_fillPtrVector_h
3 // -*- C++ -*-
4 //
5 // Package: Common
6 // Class : fillPtrVector
7 //
15 //
16 // Original Author: Chris Jones
17 // Created: Sat Oct 20 11:45:38 CEST 2007
18 //
19 
20 // system include files
21 
22 // user include files
23 #include <typeinfo>
24 #include <vector>
25 #include <list>
26 #include <set>
27 #include <deque>
28 
29 // forward declarations
30 namespace edm {
31  template <typename T, typename A>
32  void
33  fillPtrVector(std::vector<T, A> const& obj,
34  std::type_info const& iToType,
35  std::vector<unsigned long> const& iIndicies,
36  std::vector<void const*>& oPtr);
37 
38  template <typename T, typename A>
39  void
40  fillPtrVector(std::list<T, A> const& obj,
41  std::type_info const& iToType,
42  std::vector<unsigned long> const& iIndicies,
43  std::vector<void const*>& oPtr);
44 
45  template <typename T, typename A>
46  void
47  fillPtrVector(std::deque<T, A> const& obj,
48  std::type_info const& iToType,
49  std::vector<unsigned long> const& iIndicies,
50  std::vector<void const*>& oPtr);
51 
52  template <typename T, typename A, typename Comp>
53  void
54  fillPtrVector(std::set<T, A, Comp> const& obj,
55  std::type_info const& iToType,
56  std::vector<unsigned long> const& iIndicies,
57  std::vector<void const*>& oPtr);
58 }
59 
60 #endif
void fillPtrVector(std::vector< T, A > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:85