Archived
This forum has been archived. Please start a new discussion on GitHub.
slice definition if dfstream file
Hello,
i'm trying to define function that returns a fstream file
fstream GetFile();
or
FILE GetFile();
example:
"cpp:include:fstream"
module Filesystem {
interface File {
["cpp:type:fstream"] GetFile();
};
};
i can't find the mapping of fstream or FILE in SLICE
could you help me on that?
have a great day,moshe
i'm trying to define function that returns a fstream file
fstream GetFile();
or
FILE GetFile();
example:
"cpp:include:fstream"
module Filesystem {
interface File {
["cpp:type:fstream"] GetFile();
};
};
i can't find the mapping of fstream or FILE in SLICE
could you help me on that?
have a great day,moshe
0
Comments
-
Hi,
You should read this FAQ and Matthew's article in Issue 20 of the Ice newsletter for information on how to do file transfers with Ice. Basically, Slice does not define specific types for file access, but instead files need to be transferred as byte sequences.
You should also read chapter 4 of the Ice manual for complete documentation on the Slice language.
Regards,
Dwayne0