equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Interface class for dom iterators |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef Mhsps_DOM_ITERATOR_H |
|
21 #define Mhsps_DOM_ITERATOR_H |
|
22 |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class ChspsDomNode; |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Mixin class to let us define different iterators for |
|
32 * different traversal policies. |
|
33 * |
|
34 * @lib hspsdomdocument.lib |
|
35 * @since S60 5.0 |
|
36 * @ingroup group_hspsdom |
|
37 */ |
|
38 class MhspsDomIterator |
|
39 { |
|
40 public: // Destructor |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 * |
|
45 * @since S60 5.0 |
|
46 */ |
|
47 virtual ~MhspsDomIterator(){} |
|
48 |
|
49 public: // Adding and removing |
|
50 |
|
51 /** |
|
52 * Get first i.e root node. |
|
53 * |
|
54 * @since S60 5.0 |
|
55 */ |
|
56 virtual ChspsDomNode* First()=0; |
|
57 |
|
58 /** |
|
59 * Get next node. |
|
60 * |
|
61 * @since S60 5.0 |
|
62 */ |
|
63 virtual ChspsDomNode* NextL()=0; |
|
64 |
|
65 /** |
|
66 * Get next sibling. |
|
67 * |
|
68 * @since S60 5.0 |
|
69 */ |
|
70 virtual ChspsDomNode* NextSibling( ChspsDomNode& aNode )=0; |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // Mhsps_DOM_ITERATOR_H |
|
75 |
|
76 // End of File |