+ if (_kind != tc->kind()) return 0;
+ if (_repoId == tc->id()) return 1;
+ int nMember = memberCount();
+ if (nMember != ((TypeCodeStruct*)tc)->memberCount()) return 0;
+ for (int i=0 ; i<nMember ; i++)
+ {
+ const char * name = memberName(i);
+ if (strcmp(memberName(i), ((TypeCodeStruct*)tc)->memberName(i)) != 0) return 0;
+ if (!memberType(i)->isAdaptable(((TypeCodeStruct*)tc)->memberType(i))) return 0;
+ }
+ return 1;