ChspsDomStringPool Class Reference
class ChspsDomStringPool : public CBase
|
Class utilize flyweight pattern. Dom strings are stored once and referred with index. Class can be serialized.
xndomdocument.lib
-
Since
-
Series 60 3.1
Constructor & Destructor Documentation
ChspsDomStringPool(const TBool)
ChspsDomStringPool
|
(
|
const
TBool
|
aAllowDuplicates
|
)
|
[private]
|
Parameters
const
TBool
aAllowDuplicates
|
ETrue if duplicates are to be allowed. Supported for legacy reasons.
|
~ChspsDomStringPool()
~ChspsDomStringPool
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddAllL(ChspsDomStringPool &)
Add all string from another string pool.
AddStringL(const TDesC8 &)
IMPORT_C
TInt
|
AddStringL
|
(
|
const
TDesC8
&
|
aString
|
)
|
|
Set dom string into string pool.
Parameters
const
TDesC8
& aString
|
String to add to string pool
|
AddStringL(HBufC8 *)
Set dom string into string pool.
Parameters
HBufC8
* aString
|
String to add to string pool. OWNERSHIP TRANSFERRED!
|
CloneL()
Make a copy from original StringPool.
-
Since
-
Series 60 3.1
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
DoAddStringL(HBufC8 *)
TInt
|
DoAddStringL
|
(
|
HBufC8
*
|
aNewString
|
)
|
[private]
|
Add string to string pool and to optimizer also.
Parameters
HBufC8
* aNewString
|
String to be added. OWNERSHIP TRANSFERRED.
|
ExternalizeL(RWriteStream &)
InternalizeL(RReadStream &)
NewL(const TBool)
Parameters
const
TBool
aAllowDuplicates = EFalse
|
ETrue if duplicates are to be allowed. Supported for legacy reasons.
|
NewL(RReadStream &, const TBool)
Two-phased stream constructor.
Parameters
RReadStream
& aStream
|
Stream where string pool is internalized.
|
const
TBool
aAllowDuplicates = EFalse
|
ETrue if duplicates are to be allowed. Supported for legacy reasons.
|
Reset()
Reset string pool to be reused.
Size()
Get object's data size in bytes.
Member Data Documentation
TBool
iAllowDuplicates
TBool
|
iAllowDuplicates
|
[private]
|
ETrue if string pool can contain duplicate entries. Must be supported for legacy reasons while loading xuikon odts.
RPointerArray< HBufC8 > iStringPool
ThspsDomStringPoolOptimizer
iStringPoolOptimizer
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.