equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 <e32def.h> |
|
20 #include <e32cmn.h> |
|
21 |
|
22 class CNcdNodeIdentifier; |
|
23 |
|
24 namespace NcdNodeIdentifierUtils |
|
25 { |
|
26 /** |
|
27 * Tells whether the given array contains an equal identifier |
|
28 * to the given one. |
|
29 */ |
|
30 TBool ContainsIdentifier( |
|
31 const CNcdNodeIdentifier& aIdentifier, |
|
32 const RPointerArray<CNcdNodeIdentifier>& aArray ); |
|
33 |
|
34 /** |
|
35 * Returns the index of the equal identifier in the array. |
|
36 * |
|
37 * @return KErrNotFound If there is no equal indentifier in the |
|
38 * array. |
|
39 */ |
|
40 TInt IdentifierIndex( |
|
41 const CNcdNodeIdentifier& aIdentifier, |
|
42 const RPointerArray<CNcdNodeIdentifier>& aArray ); |
|
43 } |