#include <ArrayHandlerFactory.h>
Factory class for IArrayHandler objects.
Definition at line 17 of file ArrayHandlerFactory.h.
Definition at line 10 of file ArrayHandlerFactory.cc.
References edm::TypeWithDict::isArray(), edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, edm::TypeWithDict::templateName(), and ora::throwException().
13 return new CArrayHandler( arrayType );
17 if( contName ==
"std::vector" ||
18 contName ==
"std::list" ||
19 contName ==
"std::set" ||
20 contName ==
"std::multiset" ||
21 contName ==
"std::deque" ||
22 contName ==
"__gnu_cxx::hash_set" ||
23 contName ==
"__gnu_cxx::hash_multiset" ||
24 contName ==
"std::map" ||
25 contName ==
"std::multimap" ||
26 contName ==
"__gnu_cxx::hash_map" ||
27 contName ==
"__gnu_cxx::hash_multimap" ){
28 return new STLContainerHandler( arrayType );
29 }
else if ( contName ==
"std::stack" ||
30 contName ==
"std::queue" ){
31 return new SpecialSTLContainerHandler( arrayType );
32 }
else if ( contName ==
"ora::PVector" ) {
33 return new PVectorHandler( arrayType );
39 "ArrayHandlerFactory::newArrayHandler");
std::string templateName() const
bool isTemplateInstance() const
void throwException(const std::string &message, const std::string &methodName) __attribute__((noreturn))