Archived
This forum has been archived. Please start a new discussion on GitHub.
Slice class data members -> private in Java/C++?
Hello,
I'm wondering why data members in a Slice class do not become private members of the generated Java/C++ class. Would it not be useful to at least have that option?
Cheers
alex
I'm wondering why data members in a Slice class do not become private members of the generated Java/C++ class. Would it not be useful to at least have that option?
Cheers
alex
0
Comments
-
If they are private, how would you access them?
However, we will probably add a metadata directive, so that they can be made protected. This way, only derived classes can access them.0 -
Right, I overlooked that you have to extend the abstract class, so protected is as restricted as you can go.
Do you know when/what version the meta directive might be in place?
Thanks!
alex0 -
Sorry, but we do not have a concrete release plan for this feature yet.0