equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 #include "FLDINFO.H" |
|
22 |
|
23 |
|
24 |
|
25 EXPORT_C TBool TFindFieldInfo::operator==(const TFindFieldInfo& aInfo)const |
|
26 // Equality operator. |
|
27 // |
|
28 /** Compares two field information objects for equality. |
|
29 |
|
30 @param aInfo The field information object to compare with this one. |
|
31 @return ETrue if the two objects are the same. EFalse if they are different. */ |
|
32 { |
|
33 if (iFieldCountInRange!=aInfo.iFieldCountInRange) |
|
34 return EFalse; |
|
35 if (iFirstFieldLen!=aInfo.iFirstFieldLen) |
|
36 return EFalse; |
|
37 if (iFirstFieldPos!=aInfo.iFirstFieldPos) |
|
38 return EFalse; |
|
39 return ETrue; |
|
40 } |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 EXPORT_C TBool TFindFieldInfo::operator!=(const TFindFieldInfo& aInfo)const |
|
46 // Inequality operator. |
|
47 // |
|
48 /** Compares two field information objects for inequality. |
|
49 |
|
50 @param aInfo The field information object to compare with this one. |
|
51 @return ETrue if the two objects are different. EFalse if they are the same. */ |
|
52 {return !(operator==(aInfo));} |
|
53 |
|
54 |