sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: sl@0: @param aMethod Defines the collation method to be used in the iterations. sl@0: @internalComponent sl@0: */ sl@0: inline TCollationValueIterator::TCollationValueIterator(const TCollationMethod& aMethod) : sl@0: iMethod(aMethod) sl@0: { sl@0: } sl@0: sl@0: /** sl@0: @return ETrue The method forbids ignoring characters, EFalse otherwise. sl@0: @internalComponent sl@0: */ sl@0: inline TBool TCollationValueIterator::IgnoringNone() const sl@0: { sl@0: return iMethod.iFlags & TCollationMethod::EIgnoreNone; sl@0: } sl@0: sl@0: /** sl@0: @return A const reference to the used collation method. sl@0: @internalComponent sl@0: */ sl@0: inline const TCollationMethod& TCollationValueIterator::CollationMethod() const sl@0: { sl@0: return iMethod; sl@0: } sl@0: