Archived

This forum has been archived. Please start a new discussion on GitHub.

Question about module

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

  • benoit
    benoit Rennes, France
    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.
  • 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.