|
1 /* |
|
2 * Copyright (c) 2002-2004 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef METERINGRESPPARSER |
|
21 #define METERINGNRESPPARSER |
|
22 |
|
23 // INCLUDES |
|
24 #include "RespParser.h" |
|
25 #include <hash.h> |
|
26 |
|
27 namespace Roap |
|
28 { |
|
29 |
|
30 // CONSTANTS |
|
31 //const ?type ?constant_var = ?constant; |
|
32 |
|
33 // MACROS |
|
34 //#define ?macro ?macro_def |
|
35 |
|
36 // DATA TYPES |
|
37 //enum ?declaration |
|
38 //typedef ?declaration |
|
39 //extern ?data_type; |
|
40 |
|
41 // FUNCTION PROTOTYPES |
|
42 //?type ?function_name(?arg_list); |
|
43 |
|
44 // FORWARD DECLARATIONS |
|
45 //class ?FORWARD_CLASSNAME; |
|
46 |
|
47 class CMeteringResp; |
|
48 |
|
49 // CLASS DECLARATION |
|
50 |
|
51 /** |
|
52 * ?one_line_short_description. |
|
53 * ?other_description_lines |
|
54 * |
|
55 * @lib ?library |
|
56 * @since Series ?XX ?SeriesXX_version |
|
57 */ |
|
58 NONSHARABLE_CLASS( TMeteringRespParser ): public MRespParser |
|
59 { |
|
60 public: // Constructors |
|
61 |
|
62 TMeteringRespParser( |
|
63 CMeteringResp* aResponse); |
|
64 |
|
65 public: // New functions |
|
66 |
|
67 /** |
|
68 * ?member_description. |
|
69 * @since Series ?XX ?SeriesXX_version |
|
70 * @param ?arg1 ?description |
|
71 * @return ?description |
|
72 */ |
|
73 //?type ?member_function( ?type ?arg1 ); |
|
74 |
|
75 public: // Functions from base classes |
|
76 |
|
77 /** |
|
78 * From ?base_class ?member_description. |
|
79 * @since Series ?XX ?SeriesXX_version |
|
80 * @param ?arg1 ?description |
|
81 * @return ?description |
|
82 */ |
|
83 //?type ?member_function( ?type ?arg1 ); |
|
84 |
|
85 virtual void OnStartElementL( |
|
86 CRoapParser& aParser, |
|
87 TInt aState, |
|
88 const RTagInfo& aElement, |
|
89 const RAttributeArray& aAttributes); |
|
90 |
|
91 virtual void OnEndElementL( |
|
92 CRoapParser& aParser, |
|
93 TInt aState, |
|
94 const RTagInfo& aElement); |
|
95 |
|
96 protected: // New functions |
|
97 |
|
98 /** |
|
99 * ?member_description. |
|
100 * @since Series ?XX ?SeriesXX_version |
|
101 * @param ?arg1 ?description |
|
102 * @return ?description |
|
103 */ |
|
104 //?type ?member_function( ?type ?arg1 ); |
|
105 |
|
106 protected: // Functions from base classes |
|
107 |
|
108 /** |
|
109 * From ?base_class ?member_description |
|
110 */ |
|
111 //?type ?member_function(); |
|
112 |
|
113 private: |
|
114 |
|
115 public: // Data |
|
116 // ?one_line_short_description_of_data |
|
117 CMeteringResp* iResponse; |
|
118 |
|
119 protected: // Data |
|
120 // ?one_line_short_description_of_data |
|
121 //?data_declaration; |
|
122 |
|
123 private: // Data |
|
124 // ?one_line_short_description_of_data |
|
125 //?data_declaration; |
|
126 |
|
127 // Reserved pointer for future extension |
|
128 //TAny* iReserved; |
|
129 |
|
130 public: // Friend classes |
|
131 //?friend_class_declaration; |
|
132 protected: // Friend classes |
|
133 //?friend_class_declaration; |
|
134 private: // Friend classes |
|
135 //?friend_class_declaration; |
|
136 |
|
137 }; |
|
138 } |
|
139 |
|
140 #endif // METERINGRESPPARSER |
|
141 |
|
142 // End of File |