equal
deleted
inserted
replaced
61 */ |
61 */ |
62 static ChspsDomNode* NewL( |
62 static ChspsDomNode* NewL( |
63 const TDesC8& aName, |
63 const TDesC8& aName, |
64 const TDesC8& aNS, |
64 const TDesC8& aNS, |
65 ChspsDomStringPool& aStringPool ); |
65 ChspsDomStringPool& aStringPool ); |
66 |
66 |
|
67 /** |
|
68 * Two-phased constructor. |
|
69 * |
|
70 * @since S60 5.0 |
|
71 * @param aName Name of node (string pool index). |
|
72 * @param aNS Namespace (string pool index). |
|
73 * @param aStringPool Attached string pool. |
|
74 */ |
|
75 static ChspsDomNode* NewL( |
|
76 const TInt aName, |
|
77 const TInt aNS, |
|
78 ChspsDomStringPool& aStringPool ); |
|
79 |
67 /** |
80 /** |
68 * Two-phased stream constructor. |
81 * Two-phased stream constructor. |
69 * |
82 * |
70 * @since S60 5.0 |
83 * @since S60 5.0 |
71 * @param aStream Source stream. |
84 * @param aStream Source stream. |
81 public: // New functions |
94 public: // New functions |
82 /** |
95 /** |
83 * Makes a clone from this node and it's child nodes. |
96 * Makes a clone from this node and it's child nodes. |
84 * |
97 * |
85 * @since S60 5.0 |
98 * @since S60 5.0 |
86 * @param aStringPool A new string pool. |
99 * @param aStringPool A new string pool. |
|
100 * @param aFastClone If ETrue, then fast mode cloning is used. |
|
101 * |
87 * @return Pointer to a clone node. Caller has the ownership. |
102 * @return Pointer to a clone node. Caller has the ownership. |
88 */ |
103 */ |
89 IMPORT_C ChspsDomNode* CloneL( ChspsDomStringPool& aStringPool ); |
104 IMPORT_C ChspsDomNode* CloneL( ChspsDomStringPool& aStringPool, |
|
105 const TBool aFastClone = EFalse ); |
90 |
106 |
91 /** |
107 /** |
92 * Makes a clone only from this node. |
108 * Makes a clone only from this node. |
93 * |
109 * |
94 * @since S60 5.0 |
110 * @since S60 5.0 |
297 * @return Value of an attribute. |
313 * @return Value of an attribute. |
298 */ |
314 */ |
299 IMPORT_C const TDesC8& AttributeValue(const TDesC8& aAttribute) const; |
315 IMPORT_C const TDesC8& AttributeValue(const TDesC8& aAttribute) const; |
300 |
316 |
301 public: //From MhspsDomListItem |
317 public: //From MhspsDomListItem |
302 |
318 |
303 |
|
304 /** |
319 /** |
305 * Documented in ChspsDomListItem::Size |
320 * Documented in ChspsDomListItem::Size |
306 */ |
321 */ |
307 TInt Size() const; |
322 TInt Size() const; |
308 |
323 |
319 |
334 |
320 /** |
335 /** |
321 * Documented in ChspsDomListItem::Name |
336 * Documented in ChspsDomListItem::Name |
322 */ |
337 */ |
323 IMPORT_C const TDesC8& Name(); |
338 IMPORT_C const TDesC8& Name(); |
324 |
339 |
325 |
|
326 public: |
340 public: |
327 |
341 |
328 /** |
342 /** |
329 * Sets pointer to associated layout node. |
343 * Sets pointer to associated layout node. |
330 * |
344 * |
348 |
362 |
349 /** |
363 /** |
350 * By default Symbian 2nd phase constructor is private. |
364 * By default Symbian 2nd phase constructor is private. |
351 */ |
365 */ |
352 void ConstructL( const TDesC8& aName, const TDesC8& aNS ); |
366 void ConstructL( const TDesC8& aName, const TDesC8& aNS ); |
|
367 |
|
368 /** |
|
369 * By default Symbian 2nd phase constructor is private. |
|
370 */ |
|
371 void ConstructL( const TInt aName, const TInt aNS ); |
|
372 |
|
373 /** |
|
374 * Construct members |
|
375 */ |
|
376 void Construct2L(); |
353 |
377 |
354 private: // Data |
378 private: // Data |
355 |
379 |
356 //iNameRef refers to a name string in a string pool |
380 //iNameRef refers to a name string in a string pool |
357 TInt iNameRef; |
381 TInt iNameRef; |