26 throw Error (InvalidParam,
"typeinfo find",
"null pointer to instance");
29 cerr <<
"typeinfo find array size = " << array.size()
30 <<
" ptr=" << instance
31 <<
" name=" << instance->get_extension_name() << endl;
34 for (index=0; index<array.size(); index++)
37 cerr <<
"typeinfo find test index=" << index
38 <<
" ptr=" << array[index].ptr();
39 cerr <<
" name=" << array[index]->get_extension_name () << endl;
41 if (
typeid(*instance) ==
typeid(*array[index].get()) )
46 cerr <<
"typinfo find return index = " << index << endl;
53 throw error +=
"typeutil find";
A convenient exception handling class.
Definition Error.h:54
Template class manages Reference::Able objects.
Definition ReferenceTo.h:25