CPacked Class Reference
| class CPacked : public CBase |
A base class to serialize objects between clients and the server.
Library: FeedsEngine.lib
Constructor & Destructor Documentation
CPacked(TInt, TInt)
| CPacked | ( | TInt | aTokenArrayInc, |
| | TInt | aStringTableInc |
| | ) | [protected] |
Parameters
| TInt aTokenArrayInc | |
| TInt aStringTableInc | |
Member Functions Documentation
AddAttributeL(TInt, const TDesC &)
| void | AddAttributeL | ( | TInt | aAttribute, |
| | const TDesC & | aValue |
| | ) | |
Insert an attribute. This attribute should be applied to the enclosing entity (Feed, Item, or Enclosure).
Parameters
| TInt aAttribute | The attribute's id. |
| const TDesC & aValue | The attribute's value. |
AddAttributeL(TInt, TInt)
| void | AddAttributeL | ( | TInt | aAttribute, |
| | TInt | aValue |
| | ) | |
Insert an attribute. This attribute should be applied to the enclosing entity (Feed, Item, or Enclosure).
Parameters
| TInt aAttribute | The attribute's id. |
| TInt aValue | The attribute's value. |
AppendStringTableChunkL(const TDesC8 &)
| void | AppendStringTableChunkL | ( | const TDesC8 & | aChunk | ) | |
Append a chunk of "string-table" values to the feed.
Parameters
| const TDesC8 & aChunk | A string chunk. |
AppendTokenChunkL(const TDesC8 &)
| void | AppendTokenChunkL | ( | const TDesC8 & | aChunk | ) | |
Append a chunk of "token" values to the feed.
Parameters
| const TDesC8 & aChunk | A token chunk. |
BaseConstructL()
| void | BaseConstructL | ( | ) | [protected] |
By default Symbian 2nd phase constructor is private.
ExtractAttributeValue(TUint &, TPtrC &)
| void | ExtractAttributeValue | ( | TUint & | aAttribute, |
| | TPtrC & | aValue |
| | ) | const |
Upon completion aValue wraps the current attribute value. This method must only be called when the call to NextToken returns EPackedTokenAttribute.
Parameters
| TUint & aAttribute | The attribute. |
| TPtrC & aValue | The attribute value. |
HasNextToken()
|
TBool
| HasNextToken | ( | ) | const |
Determine if there is a next token.
InsertTokenL(TUint)
| void | InsertTokenL | ( | TUint | aToken | ) | [protected] |
Reset()
Resets back to the first token.
Trim()
Removes any temp memory used while appending chunks.
Member Data Documentation
const TInt KStringTableInc
| const TInt | KStringTableInc | [protected] |
const TInt KTokenArrayInc
| const TInt | KTokenArrayInc | [protected] |
TInt
iNextToken
|
TInt
| iNextToken | [protected] |
HBufC * iStringTable
|
HBufC * | iStringTable | [protected] |
TUint * iTokenArray
|
TUint * | iTokenArray | [protected] |
TPtrC8
iTokenArrayAsDes
|
TPtrC8
| iTokenArrayAsDes | [protected] |
TInt
iTokenArrayLength
|
TInt
| iTokenArrayLength | [protected] |
TInt
iTokenArrayMaxLength
|
TInt
| iTokenArrayMaxLength | [protected] |
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.