Home Help Center

Question about module

OrNotOrNot Member Bin.LiOrganization: GE HealthcareProject: Enterprise solution
hi,
suppose that there are two ice files :

a.ice

module A
{
sequence<string> AString;
};


b.ice
#include <a.ice>
module B
{
sequence<AString> b;
};

In modue B, how to refer to the AString of the module A with slice language?

It seems an easy question but I can not find the answer from doc. Perhaps I missed something when I read .

TIA
OrNot

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    You should use A::AString to refer to AString from the module B. See section "4.16.3 Qualified Names" of the Ice manual for more information.

    Benoit.
  • OrNotOrNot Member Bin.LiOrganization: GE HealthcareProject: Enterprise solution
    oh my god. I had taken it for granted that the 4.6 section would told me the answer and not read it further. Sorry.
Sign In or Register to comment.