预留的类型

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


UNOIDL 中预留了一些类型,以备将来使用。如果规范中尝试使用这些类型,idlc 将拒绝编译该规范。


数组

关键字 array 是预留类型,但是不能在 UNOIDL 中使用。另外,还将存在包含固定数量元素的集,这与拥有任意数量元素的序列正好相反。


并集

还有一个 union 类型的预留关键字不能在 UNOIDL 中使用。Union 将从多个角度查看变量值。例如,如果定义一个长型值的并集,则可以将这个值作为整体进行访问,也可以通过并集分别从其较高和较低的部分进行访问。

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages