在 Rational® Rhapsody® 中,omu* 容器是不使用模板实施的容器。使用无模板的容器可大量减少生成的代码的大小。OMUCollection 是一个无类型、动态调整大小的数组。
这个类是在头文件 omucollec.h 中定义的。
属性概要
- count -
指定集合中的元素数
- theLink - 指定到集合中元素的链接
- size - 指定为集合分配的内存大小
属性count
此属性指定集合中的元素数。其定义如下所示:
int count;
theLink
此属性指定到集合中元素的链接。其定义如下所示:
void** theLink;
大小
此属性指定为集合分配的内存大小。其定义如下:
int size;