-
Key: CORBA23-31
-
Legacy Issue Number: 2235
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: According to ptc/98-10-08, 16 Oct. 98 [REVIEW], p. 10-53,
"Once the recursive TypeCode has been properly embedded in the
enclosing TypeCode which corresponds to the specified repository
id, it will function as a normal TypeCode."Given the following idl:
valuetype v
{ public v m0; };
And the following C++ code to generate the typecode for v:
CORBA::ORB_ptr orb = ...;
CORBA::TypeCode_ptr tcRecursive =
orb->create_recursive_tc("IDL:v:1.0");
CORBA::ValueMemberSeq v_seq;
v_seq.length(1);
v_seq[0].type = tcRecursive;
...
CORBA::TypeCode_ptr tcV = orb->create_value_tc("IDL:v:1.0", "v",
VM_NONE, CORBA::TypeCode::_nil(),
v_seq);After tcRecursive has been properly embedded, what does "tcRecursive
functioning
like a normal TypeCode" mean? Does it mean that one can call on
tcRecursive the same
methods that are available on tcV? For example, willCORBA::Visibility vis = tcRecursive->member_visibility(0);
work?
-
Reported: CORBA 2.2 — Thu, 3 Dec 1998 05:00 GMT
-
Disposition: Resolved — CORBA 2.3
-
Disposition Summary:
Close no change in 2.4
-
Updated: Fri, 6 Mar 2015 20:58 GMT