Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does TAO parse Any:sequence and struct array data types? #2096

Closed
xpston008 opened this issue Aug 18, 2023 · 3 comments
Closed

How does TAO parse Any:sequence and struct array data types? #2096

xpston008 opened this issue Aug 18, 2023 · 3 comments

Comments

@xpston008
Copy link

xpston008 commented Aug 18, 2023

I'm a beginner and have been using corba(tao) recently.

When TAO parses Any sequence and struct, array data type (CORBA::TCKind::tk_sequence tk_array tk_struct), in c++, how to confirm that the "Any sequence" type is "typedef sequence<>" defined in IDL and more complex Nested "sequences"

Is it judged by this function RepositoryId id() raises(BadKind)

Hope you can give a piece of code or case, thank you!

@xpston008
Copy link
Author

@jwillemsen @mitza-oci

Looking through the information, I can't find a solution, please answer! thankyou!

@mitza-oci
Copy link
Member

I don't think I completely understand the question. Since you mentioned parsing an Any is this about reading an Any value from a CDR stream? The CDR rules for Any are defined in section 9.3.5.2 of https://www.omg.org/spec/CORBA/3.4/Interoperability/PDF.

@xpston008
Copy link
Author

@mitza-oci thank you !
The problem has been solved, the purpose is to solve the Any structure analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants