File indexing completed on 2024-04-06 12:03:51
0001 #ifndef DataFormats_Common_fwd_setPtr_h
0002 #define DataFormats_Common_fwd_setPtr_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include <typeinfo>
0022 #include <vector>
0023 #include <list>
0024 #include <set>
0025 #include <deque>
0026
0027
0028 namespace edm {
0029 template <typename T, typename A>
0030 void setPtr(std::vector<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
0031
0032 template <typename T, typename A>
0033 void setPtr(std::list<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
0034
0035 template <typename T, typename A>
0036 void setPtr(std::deque<T, A> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
0037
0038 template <typename T, typename A, typename Comp>
0039 void setPtr(std::set<T, A, Comp> const& obj, std::type_info const& iToType, unsigned long iIndex, void const*& oPtr);
0040
0041 }
0042
0043 #endif