bool TCopyParamList::operator==(const TCopyParamList & rhl) const { bool Result = (GetCount() == rhl.GetCount()); if (Result) { intptr_t Index = 0; while ((Index < GetCount()) && Result) { Result = (GetName(Index) == rhl.GetName(Index)) && CompareItem(Index, rhl.GetCopyParam(Index), rhl.GetRule(Index)); ++Index; } } return Result; }
//--------------------------------------------------------------------------- bool TCopyParamList::operator==(const TCopyParamList & rhl) const { bool Result = (GetCount() == rhl.GetCount()); if (Result) { intptr_t I = 0; while ((I < GetCount()) && Result) { Result = (GetName(I) == rhl.GetName(I)) && CompareItem(I, rhl.GetCopyParam(I), rhl.GetRule(I)); I++; } } return Result; }