Archived
This forum has been archived. Please start a new discussion on GitHub.
How to make abstract SLICE class
Hi,
just wondering if there r ways to make SLICE class as "abstract" so that they can not be instantiated directly.
Seems that there is no "abstract" keywords in SLICE spec, is there any C#/C++ language mapping directives for this purpose?
Thanks & Regards
just wondering if there r ways to make SLICE class as "abstract" so that they can not be instantiated directly.
Seems that there is no "abstract" keywords in SLICE spec, is there any C#/C++ language mapping directives for this purpose?
Thanks & Regards
0
Comments
-
Hi Peter,
The only way to make a Slice class abstract is to add one or more operations to this class, either directly (inside the class), or by inheriting an interface with operations, or another class with operations.
Best regards,
Bernard0 -
Hi Bernard,
The only way to make a Slice class abstract is to add one or more operations to this class, either directly (inside the class), or by inheriting an interface with operations, or another class with operations.
Thanks very much for the quick follow-up. My SLICE class is data-only, without methods/operations. :-(
Thanks & Regards,0