Archived
This forum has been archived. Please start a new discussion on GitHub.
Question about module
in Help Center
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
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
0
Comments
-
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.0 -
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.0