ChspsDomList Class Reference
class ChspsDomList : public CBase |
Represents streamable list object, which holds MhspsDomListItem objects.
hspsdomdocument.lib
- Since
- S60 5.0
Constructor & Destructor Documentation
ChspsDomList(TListType, ChspsDomStringPool &)
Member Functions Documentation
AddItemL(MhspsDomListItem *)
AddItemL(MhspsDomListItem *, TInt)
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
DeleteItem(TInt)
IMPORT_C void | DeleteItem | ( | TInt | aIndex | ) | |
Parameters
TInt aIndex | Item to delete. |
DeleteItem(MhspsDomListItem *)
ExternalizeL(RWriteStream &)
FindByName(const TDesC8 &)
Find list item by item name. Searches list items which have name attribute.
Parameters
const TDesC8 & aName | UTF8 encoded item's name to be searched |
First()
Get the first item in a list.
InternalizeL(RReadStream &)
Item(TInt)
List items are accessed by index, i.e like arrays
Parameters
TInt aIndex | list item index. |
ItemIndex(const MhspsDomListItem &)
Length()
IMPORT_C TInt | Length | ( | ) | const |
Number of items in a list.
NewL(TListType, ChspsDomStringPool &)
NewL(RReadStream &, ChspsDomStringPool &)
Two-phased stream constructor.
RemoveItem(TInt)
IMPORT_C void | RemoveItem | ( | TInt | aIndex | ) | |
Parameters
TInt aIndex | to aList item to remove. |
RemoveItem(MhspsDomListItem *)
Reset()
Frees memory allocated for all items in a list.
Size()
Get list's data size in bytes.
- Since
- Series 60 3.1
StringPool()
Get reference to the dom's string pool.
Type()
Get list item type.
- Since
- Series 60 3.1
Member Enumerations Documentation
Enum TListType
Enumerators
ENodeList = 0 | |
EAttributeList | |
Member Data Documentation
RPointerArray< MhspsDomListItem > iList
ChspsDomStringPool & iStringPool
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.