corba enum question

D

David

Hi,

I am writing code using Corba to interface between java and c++
components. This may be changed to COM in the future, so I am trying
to write the interface as independant as possible from the c++.
What would be an elegant solution to create, identical enums in IDL
and c++, so that updating a specific enum will not require changes to
multiple definitions?

Thanks,
David.
 
V

Victor Bazarov

David said:
I am writing code using Corba to interface between java and c++
components. This may be changed to COM in the future, so I am trying
to write the interface as independant as possible from the c++.

Forgive me, David, I must have eaten my dumb pill today, but I cannot
understand the expression "as independant as possible from the c++",
especially in conjunction with posting to a C++ newsgroup.
What would be an elegant solution to create, identical enums in IDL
and c++, so that updating a specific enum will not require changes to
multiple definitions?

Shouldn't you ask this in a CORBA newsgroup, actually?

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top