预定义类型在 PredefinedTypesC 程序包(Share\Properties 目录中的 PredefinedTypesC.sbs 文件)中定义。
RiCBoolean 是框架(在 RiCTypes.h 中)中定义的布尔数据类型,如下所示:
typedef unsigned char RiCBoolean;
RiCString 是框架(在 RiCString.h 中)中定义的字符串数据类型,如下所示:
typedef struct RiCString {
unsigned int size; /* The current allocated size */
unsigned int count; /* The number of characters in
the string (without \0) */
char * string; /* the string */
} RiCString;
RiCString 类型具有许多操作,用于创建、破坏和操纵字符串。
OMString 是 Rational Rhapsody Developer for C++ 框架(在 omstring.h 中)中定义的字符串数据类型。OMString 类型提供了与 IBM Rational Rhapsody Developer for C++ 中创建的模型的兼容性。