Link against: SenServConn.LIB SenUtils.LIB
NetworkServices ReadUserData WriteUserData
#include <SenXmlProperties.h>
Inherits MSenProperties.
Inherited by CSenTransportProperties.
Public Member Functions | |
virtual void | SetReader (CSenXmlReader &aReader) |
Sets the XML reader to be used for parsing. | |
virtual TSenPropertiesClassType | PropertiesClassType () |
Get an integer identifying properties class type. | |
virtual void | WriteToL (RWriteStream &aWriteStream) |
Writes this properties object as descriptor into a stream. | |
virtual void | ReadFromL (const TDesC8 &aBuffer) |
Reads this properties object from the descriptor. | |
virtual HBufC8 * | AsUtf8L () |
Get these properties as UTF-8 charset encoded descriptor. | |
virtual HBufC8 * | AsUtf8LC () |
Get these properties as UTF-8 charset encoded descriptor. | |
virtual TBool | IsSafeToCast (TSenPropertiesClassType aClass) |
virtual MSenProperties * | Clone (TInt &aOkOrError) const |
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. | |
virtual MSenProperties * | CloneL () const |
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. | |
virtual TInt | SetPropertyL (const TDesC8 &aName, const TDesC8 &aValue) |
virtual TInt | PropertyL (const TDesC8 &aName, TPtrC8 &aValue) |
Gets the value of the property behind certain name. | |
virtual TInt | SetIntPropertyL (const TDesC8 &aName, const TInt aValue) |
virtual TInt | IntPropertyL (const TDesC8 &aName, TInt &aValue) |
Gets the integer value of the property behind certain name. | |
virtual TInt | SetBoolPropertyL (const TDesC8 &aName, const TBool aValue) |
virtual TInt | BoolPropertyL (const TDesC8 &aName, TBool &aValue) |
Gets the boolean value of the property behind certain name. | |
virtual TInt | SetOmittedL (const TDesC8 &aName, TBool aValue) |
virtual TInt | RemovePropertyL (const TDesC8 &aName) |
virtual | ~CSenXmlProperties () |
Destructor. | |
virtual TInt | SetPropertyL (const TDesC8 &aName, const TDesC8 &aValue, const TDesC8 &aType) |
Sets new property. | |
virtual TInt | PropertyL (const TDesC8 &aName, TPtrC8 &aValue, TPtrC8 &aType) |
Gets the value of the property behind certain name. | |
Static Public Member Functions | |
static IMPORT_C CSenXmlProperties * | NewL () |
Basic constructor. | |
static IMPORT_C CSenXmlProperties * | NewLC () |
Basic constructor. | |
static IMPORT_C CSenXmlProperties * | NewL (const TDesC8 &aXmlUtf8, CSenXmlReader &aParser) |
Basic constructor. | |
static IMPORT_C CSenXmlProperties * | NewLC (const TDesC8 &aXmlUtf8, CSenXmlReader &aParser) |
Basic constructor. | |
static IMPORT_C CSenXmlProperties * | NewL (const CSenElement &aElement) |
Basic constructor. | |
static IMPORT_C CSenXmlProperties * | NewLC (const CSenElement &aElement) |
Basic constructor. | |
Protected Member Functions | |
virtual void | BaseConstructL (const TDesC8 &aLocalname, const TDesC8 &aXml, CSenXmlReader *aParser=NULL) |
virtual void | BaseConstructL (const TDesC8 &aNamespace, const TDesC8 &aLocalname, const TDesC8 &aXml, CSenXmlReader *aParser=NULL) |
virtual void | BaseConstructL (const TDesC8 &aNamespace, const TDesC8 &aLocalname, const TDesC8 &aQualifiedName, const TDesC8 &aXml, CSenXmlReader *aParser=NULL) |
virtual void | BaseConstructL (const CSenElement &aElement) |
CSenXmlProperties () | |
Constructor. | |
Protected Attributes | |
CSenPropertiesFragment * | ipFragment |
CSenXmlReader * | ipReader |
|
Destructor. |
|
Constructor. |
|
Get these properties as UTF-8 charset encoded descriptor.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Get these properties as UTF-8 charset encoded descriptor.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Gets the boolean value of the property behind certain name.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. Furthermore, the IsSafeToCast() method can be used to reflect the returned pointer to a concrete class. NOTE: one must cast the returned pointer to concrete class in order to safely de-allocate any memory allocated by this method.
Implements MSenProperties. Reimplemented in CSenTransportProperties. |
|
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. Furthermore, the IsSafeToCast() method can be used to reflect the returned pointer to a concrete class. NOTE: one must cast the returned pointer to concrete class in order to safely de-allocate any memory allocated by this method.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Gets the integer value of the property behind certain name.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Basic constructor.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Get an integer identifying properties class type. All subclasses MUST return use unique integer value.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Gets the value of the property behind certain name.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Gets the value of the property behind certain name.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reads this properties object from the descriptor. UTF-8 charset encoding should be used.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Sets new property. If property with given name does not exist, new property with given value will be added. Otherwise the value of existing property will be updated.
Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Sets the XML reader to be used for parsing.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
Writes this properties object as descriptor into a stream. UTF-8 charset encoding will be used.
Implements MSenProperties. Reimplemented in CSenHttpTransportProperties, and CSenTransportProperties. |
|
|