CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 fillPtrVector(std::vector<T, A> const& obj,
33  std::type_info const& iToType,
34  std::vector<unsigned long> const& iIndicies,
35  std::vector<void const*>& oPtr);
36 
37  template <typename T, typename A>
38  void fillPtrVector(std::list<T, A> const& obj,
39  std::type_info const& iToType,
40  std::vector<unsigned long> const& iIndicies,
41  std::vector<void const*>& oPtr);
42 
43  template <typename T, typename A>
44  void fillPtrVector(std::deque<T, A> const& obj,
45  std::type_info const& iToType,
46  std::vector<unsigned long> const& iIndicies,
47  std::vector<void const*>& oPtr);
48 
49  template <typename T, typename A, typename Comp>
50  void fillPtrVector(std::set<T, A, Comp> const& obj,
51  std::type_info const& iToType,
52  std::vector<unsigned long> const& iIndicies,
53  std::vector<void const*>& oPtr);
54 } // namespace edm
55 
56 #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:80