CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RefMacros.h
Go to the documentation of this file.
1 #ifndef RefMacros_h
2 #define RefMacros_h
3 
4 #include <vector>
9 
10 #define DECLARE_EDM_REFS( class_name ) \
11  typedef std::vector< class_name > class_name ## Collection; \
12  typedef edm::Ref< class_name ## Collection> class_name ## Ref; \
13  typedef edm::FwdRef< class_name ## Collection> class_name ## FwdRef; \
14  typedef edm::RefProd< class_name ## Collection> class_name ## RefProd; \
15  typedef edm::RefVector< class_name ## Collection> class_name ## RefVector;
16 
17 #endif // RefMacros_h