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
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include <typeinfo>
0024 #include <vector>
0025 #include <list>
0026 #include <set>
0027 #include <deque>
0028
0029
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 }
0055
0056 #endif