CCookie::TCookieAttribute Class Reference
class CCookie::TCookieAttribute
|
Class to store the name, value and the size of the value of an individual cookie attribute
Constructor & Destructor Documentation
TCookieAttribute(TCookieAttributeName, const THTTPHdrVal &, TBool)
Constructor that initialises the name, value and size attributes.
TCookieAttribute()
Default constructor. It creates an uninitialized cookie attribute that may be initialized by the common = operator.
Member Functions Documentation
Close()
Closes an attribute - used to ensure string attributes are properly closed on destruction.
Defaulted()
TBool
|
Defaulted
|
(
|
)
|
const
|
Gets whether the attribute is defulted or specified.
Name()
Get the name of the cookie attribute.
Size()
Get the size of the cookie attribute in bytes.
Value()
Get the value of the cookie attribute.
Member Data Documentation
TBool
iDefaulted
TBool
|
iDefaulted
|
[private]
|
Stores that this attribute is defaulted ( ETrue ) or was originally supplied ( EFalse ) Needed to be able to decide whether the attribute should be added when returning cookies to server
TCookieAttributeName
iName
TInt
iSize
The size of this attribute in bytes. If this attribute refers to a string (folded or normal), then it is the length of the string, otherwise it contains the size in bytes returned by sizeof() operator.
THTTPHdrVal
iValue
The value of this attribute
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.