equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 |
|
18 @param aMethod Defines the collation method to be used in the iterations. |
|
19 @internalComponent |
|
20 */ |
|
21 inline TCollationValueIterator::TCollationValueIterator(const TCollationMethod& aMethod) : |
|
22 iMethod(aMethod) |
|
23 { |
|
24 } |
|
25 |
|
26 /** |
|
27 @return ETrue The method forbids ignoring characters, EFalse otherwise. |
|
28 @internalComponent |
|
29 */ |
|
30 inline TBool TCollationValueIterator::IgnoringNone() const |
|
31 { |
|
32 return iMethod.iFlags & TCollationMethod::EIgnoreNone; |
|
33 } |
|
34 |
|
35 /** |
|
36 @return A const reference to the used collation method. |
|
37 @internalComponent |
|
38 */ |
|
39 inline const TCollationMethod& TCollationValueIterator::CollationMethod() const |
|
40 { |
|
41 return iMethod; |
|
42 } |
|
43 |