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