Link against: SenServConn.LIB SenUtils.LIB
NetworkServices ReadUserData WriteUserData
#include <MSenProperties.h>
Inherited by CSenXmlProperties.
Public Types | |
enum | TSenPropertiesClassType { ENotInUse = 0, ESenXmlProperties = 1, ESenTransportProperties = 2, ESenHttpTransportProperties = 3, ESenVtcpTransportProperties = 4, ESenLayeredXmlProperties = 5, ESenLayeredTransportProperties = 6, ESenLayeredHttpTransportProperties = 7, ESenLayeredVtcpTransportProperties = 8 } |
PropertiesClassType enumeration. More... | |
Public Member Functions | |
virtual void | SetReader (CSenXmlReader &aReader)=0 |
Sets the XML reader to be used for parsing. | |
virtual TSenPropertiesClassType | PropertiesClassType ()=0 |
Get an integer identifying properties class type. | |
virtual void | WriteToL (RWriteStream &aWriteStream)=0 |
Writes this properties object as descriptor into a stream. | |
virtual void | ReadFromL (const TDesC8 &aBuffer)=0 |
Reads this properties object from the descriptor. | |
virtual HBufC8 * | AsUtf8L ()=0 |
Get these properties as UTF-8 charset encoded descriptor. | |
virtual HBufC8 * | AsUtf8LC ()=0 |
Get these properties as UTF-8 charset encoded descriptor. | |
virtual TInt | SetPropertyL (const TDesC8 &aName, const TDesC8 &aValue)=0 |
Sets new property. | |
virtual TInt | PropertyL (const TDesC8 &aName, TPtrC8 &aValue)=0 |
Gets the value of the property behind certain name. | |
virtual TInt | SetIntPropertyL (const TDesC8 &aName, const TInt aValue)=0 |
Sets new integer property. | |
virtual TInt | IntPropertyL (const TDesC8 &aName, TInt &aValue)=0 |
Gets the integer value of the property behind certain name. | |
virtual TInt | SetBoolPropertyL (const TDesC8 &aName, const TBool aValue)=0 |
Sets new boolean property. | |
virtual TInt | BoolPropertyL (const TDesC8 &aName, TBool &aValue)=0 |
Gets the boolean value of the property behind certain name. | |
virtual MSenProperties * | Clone (TInt &aOkOrError) const =0 |
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. | |
virtual TBool | IsSafeToCast (TSenPropertiesClassType aClass)=0 |
Method provies reflection support for properties classes, enabling safe class-casts to concrete subclass objects. | |
virtual MSenProperties * | CloneL () const =0 |
Method creates exact copy of the properties, preserving the real, concrete subclass type (this can be resolved via PropertiesClassType() method. |
|
PropertiesClassType enumeration. |
|
Get these properties as UTF-8 charset encoded descriptor.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Get these properties as UTF-8 charset encoded descriptor.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Gets the boolean value of the property behind certain name.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
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.
Implemented in CSenTransportProperties, and CSenXmlProperties. |
|
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.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Gets the integer value of the property behind certain name.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Method provies reflection support for properties classes, enabling safe class-casts to concrete subclass objects.
|
|
Get an integer identifying properties class type. All subclasses MUST return use unique integer value.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Gets the value of the property behind certain name.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Reads this properties object from the descriptor. UTF-8 charset encoding should be used.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Sets new boolean 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.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Sets new integer 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.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
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.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Sets the XML reader to be used for parsing.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |
|
Writes this properties object as descriptor into a stream. UTF-8 charset encoding will be used.
Implemented in CSenHttpTransportProperties, CSenTransportProperties, and CSenXmlProperties. |