92 public: // Constructors and destructor |
92 public: // Constructors and destructor |
93 |
93 |
94 /** |
94 /** |
95 * Two-phased constructor. |
95 * Two-phased constructor. |
96 */ |
96 */ |
97 IMPORT_C static CXnDomPropertyValue* NewL( CXnDomStringPool& aStringPool ); |
97 IMPORT_C static CXnDomPropertyValue* NewL( CXnDomStringPool* aStringPool ); |
98 |
98 |
99 /** |
99 /** |
100 * Two-phased stream constructor. |
100 * Two-phased stream constructor. |
101 */ |
101 */ |
102 static CXnDomPropertyValue* NewL( |
102 static CXnDomPropertyValue* NewL( |
103 RReadStream& aStream, |
103 RReadStream& aStream, |
104 CXnDomStringPool& aStringPool ); |
104 CXnDomStringPool* aStringPool ); |
105 |
105 |
106 /** |
106 /** |
107 * Destructor. |
107 * Destructor. |
108 */ |
108 */ |
109 IMPORT_C virtual ~CXnDomPropertyValue(); |
109 IMPORT_C virtual ~CXnDomPropertyValue(); |
223 * @param aStringPoolIndex String pool index. |
223 * @param aStringPoolIndex String pool index. |
224 */ |
224 */ |
225 IMPORT_C void SetStringPoolIndexL( |
225 IMPORT_C void SetStringPoolIndexL( |
226 TPrimitiveValueType aValueType, |
226 TPrimitiveValueType aValueType, |
227 TInt16 aStringPoolIndex ); |
227 TInt16 aStringPoolIndex ); |
|
228 |
228 /** |
229 /** |
229 * Get the property's string pool index. If type is not string, |
230 * Get the property's string pool index. If type is not string, |
230 * function will leave with KErrNotSupported. |
231 * function will leave with KErrNotSupported. |
231 * @since Series 60 3.1 |
232 * @since Series 60 3.1 |
232 * @return String pool index. |
233 * @return String pool index. |
233 */ |
234 */ |
234 IMPORT_C TInt16 StringPoolIndexL()const; |
235 IMPORT_C TInt16 StringPoolIndexL()const; |
|
236 |
|
237 /** |
|
238 * Swap used string pool. |
|
239 * |
|
240 * @param aStringPool New string pool to be used. |
|
241 * Ownership not transferred! |
|
242 */ |
|
243 IMPORT_C void SwapStringPoolL( CXnDomStringPool* aStringPool ); |
235 |
244 |
236 public: //From MXnDomListItem |
245 public: //From MXnDomListItem |
237 /** |
246 /** |
238 * Documented in MXnDomListItem::Size |
247 * Documented in MXnDomListItem::Size |
239 */ |
248 */ |