Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:51

0001 #ifndef DataFormats_Common_fwd_fillPtrVector_h
0002 #define DataFormats_Common_fwd_fillPtrVector_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Common
0006 // Class  :     fillPtrVector
0007 //
0008 /**
0009 
0010  Description: Forward declare standard edm::fillPtrVector functions
0011 
0012  Usage:
0013 
0014 */
0015 //
0016 // Original Author:  Chris Jones
0017 //         Created:  Sat Oct 20 11:45:38 CEST 2007
0018 //
0019 
0020 // system include files
0021 
0022 // user include files
0023 #include <typeinfo>
0024 #include <vector>
0025 #include <list>
0026 #include <set>
0027 #include <deque>
0028 
0029 // forward declarations
0030 namespace edm {
0031   template <typename T, typename A>
0032   void fillPtrVector(std::vector<T, A> const& obj,
0033                      std::type_info const& iToType,
0034                      std::vector<unsigned long> const& iIndicies,
0035                      std::vector<void const*>& oPtr);
0036 
0037   template <typename T, typename A>
0038   void fillPtrVector(std::list<T, A> const& obj,
0039                      std::type_info const& iToType,
0040                      std::vector<unsigned long> const& iIndicies,
0041                      std::vector<void const*>& oPtr);
0042 
0043   template <typename T, typename A>
0044   void fillPtrVector(std::deque<T, A> const& obj,
0045                      std::type_info const& iToType,
0046                      std::vector<unsigned long> const& iIndicies,
0047                      std::vector<void const*>& oPtr);
0048 
0049   template <typename T, typename A, typename Comp>
0050   void fillPtrVector(std::set<T, A, Comp> const& obj,
0051                      std::type_info const& iToType,
0052                      std::vector<unsigned long> const& iIndicies,
0053                      std::vector<void const*>& oPtr);
0054 }  // namespace edm
0055 
0056 #endif