File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1392,6 +1392,7 @@ namespace
13921392 // Only struct, union, event and valuetype TypeCodes may be
13931393 // recursive. However non-recursive ALIAS may be indirected.
13941394 || !(kind == CORBA::tk_struct
1395+ || kind == CORBA::tk_sequence
13951396 || kind == CORBA::tk_union
13961397 || kind == CORBA::tk_value
13971398 || kind == CORBA::tk_event
@@ -1400,6 +1401,15 @@ namespace
14001401 return false ;
14011402 }
14021403
1404+ if (CORBA::tk_sequence == kind || CORBA::tk_array == kind) // @todo 1. check if recursion is properly handled 2. check need for other complex types
1405+ {
1406+ return TAO::TypeCodeFactory::tc_sequence_factory (static_cast <CORBA::TCKind> (kind),
1407+ indir_stream,
1408+ tc,
1409+ indirect_infos,
1410+ direct_infos);
1411+ }
1412+
14031413 // Currently all recursive TypeCodes have complex parameter
14041414 // lists, meaning they are encoded as CDR encapsulations.
14051415 TAO_InputCDRByteOrderGuard boguard (indir_stream);
You can’t perform that action at this time.
0 commit comments