corba enum question

Discussion in 'C++' started by David, Sep 22, 2004.

  1. David

    David Guest

    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.
    David, Sep 22, 2004
    #1
    1. Advertising

  2. David wrote:
    > 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
    Victor Bazarov, Sep 22, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tomek
    Replies:
    1
    Views:
    990
    Jack Klein
    Jun 1, 2006
  2. Eric Sosman
    Replies:
    3
    Views:
    770
    Mayeul
    Feb 26, 2010
  3. Wojtek
    Replies:
    1
    Views:
    482
  4. Lew
    Replies:
    0
    Views:
    523
  5. Roedy Green
    Replies:
    0
    Views:
    716
    Roedy Green
    Feb 27, 2010
Loading...

Share This Page