7 #include "Reflex/Type.h"
12 if(arrayType.IsArray()){
15 Reflex::TypeTemplate templ = arrayType.TemplateFamily();
17 std::string contName = templ.Name(Reflex::SCOPED|Reflex::FINAL);
18 if( contName ==
"std::vector" ||
19 contName ==
"std::list" ||
20 contName ==
"std::set" ||
21 contName ==
"std::multiset" ||
22 contName ==
"std::deque" ||
23 contName ==
"__gnu_cxx::hash_set" ||
24 contName ==
"__gnu_cxx::hash_multiset" ||
25 contName ==
"std::map" ||
26 contName ==
"std::multimap" ||
27 contName ==
"__gnu_cxx::hash_map" ||
28 contName ==
"__gnu_cxx::hash_multimap" ){
30 }
else if ( contName ==
"std::stack" ||
31 contName ==
"std::queue" ){
33 }
else if ( contName ==
"ora::PVector" ) {
39 throwException(
"No Array Handler available for class \""+arrayType.Name(Reflex::SCOPED)+
"\"",
40 "ArrayHandlerFactory::newArrayHandler");
static IArrayHandler * newArrayHandler(const Reflex::Type &arrayType)
void throwException(const std::string &message, const std::string &methodName) __attribute__((noreturn))