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 "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 @file |
|
18 @internalTechnology |
|
19 */ |
|
20 |
|
21 #if (!defined METAITER_H) |
|
22 #define METAITER_H |
|
23 |
|
24 #include <e32base.h> |
|
25 #include <e32std.h> |
|
26 |
|
27 namespace Meta |
|
28 { |
|
29 |
|
30 class MMetaData; |
|
31 struct SVDataTableEntry; |
|
32 class TMetaVTableIterator |
|
33 /** |
|
34 |
|
35 A simple iterator used to walk through the virtual data tables |
|
36 |
|
37 @internalComponent |
|
38 @released since v9.0 */ |
|
39 { |
|
40 public: |
|
41 IMPORT_C explicit TMetaVTableIterator(MMetaData const* aMetaData); |
|
42 IMPORT_C ~TMetaVTableIterator(); |
|
43 |
|
44 //the only defined method - the postfix operator |
|
45 IMPORT_C SVDataTableEntry const* operator++(TInt aDummy); |
|
46 |
|
47 protected: |
|
48 TBool IsNextEntryPresent(); //Recursive helper function |
|
49 |
|
50 private: |
|
51 SVDataTableEntry const* iEntry; |
|
52 }; |
|
53 |
|
54 } //namespace Meta |
|
55 |
|
56 |
|
57 |
|
58 #endif //METAITER_H |
|
59 |
|
60 |