CSenXmlProperties Class Reference

#include <mw/SenXmlProperties.h>

class CSenXmlProperties : public CBase

Inherits from

  • CSenXmlProperties
    Protected Attributes
    CSenPropertiesFragment *ipFragment
    CSenXmlReader *ipReader
    Public Member Functions
    virtual ~CSenXmlProperties()
    virtual HBufC8 *AsUtf8L()
    virtual HBufC8 *AsUtf8LC()
    virtual TInt BoolPropertyL(const TDesC8 &, TBool &)
    virtual MSenProperties *Clone(TInt &)
    virtual MSenProperties *CloneL()
    virtual TInt IntPropertyL(const TDesC8 &, TInt &)
    virtual TBool IsSafeToCast(TSenPropertiesClassType)
    IMPORT_C CSenXmlProperties *NewL()
    IMPORT_C CSenXmlProperties *NewL(const TDesC8 &, CSenXmlReader &)
    IMPORT_C CSenXmlProperties *NewL(const CSenElement &)
    IMPORT_C CSenXmlProperties *NewLC()
    IMPORT_C CSenXmlProperties *NewLC(const TDesC8 &, CSenXmlReader &)
    IMPORT_C CSenXmlProperties *NewLC(const CSenElement &)
    virtual TSenPropertiesClassTypePropertiesClassType()
    virtual TInt PropertyL(const TDesC8 &, TPtrC8 &)
    virtual TInt PropertyL(const TDesC8 &, TPtrC8 &, TPtrC8 &)
    virtual voidReadFromL(const TDesC8 &)
    virtual TInt RemovePropertyL(const TDesC8 &)
    virtual TInt SetBoolPropertyL(const TDesC8 &, const TBool)
    virtual TInt SetIntPropertyL(const TDesC8 &, const TInt)
    virtual TInt SetOmittedL(const TDesC8 &, TBool)
    virtual TInt SetPropertyL(const TDesC8 &, const TDesC8 &)
    virtual TInt SetPropertyL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
    virtual voidSetReader(CSenXmlReader &)
    virtual voidWriteToL(RWriteStream &)
    Protected Member Functions
    CSenXmlProperties()
    virtual voidBaseConstructL(const TDesC8 &, const TDesC8 &, CSenXmlReader *)
    virtual voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
    virtual voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
    virtual voidBaseConstructL(const CSenElement &)
    Inherited Functions
    CBase::CBase()
    CBase::Delete(CBase *)
    CBase::Extension_(TUint,TAny *&,TAny *)
    CBase::operator new(TUint)
    CBase::operator new(TUint,TAny *)
    CBase::operator new(TUint,TLeave)
    CBase::operator new(TUint,TLeave,TUint)
    CBase::operator new(TUint,TUint)
    CBase::~CBase()

    Member Attribute Documentation

    ipFragment

    CSenPropertiesFragment *ipFragment[protected]

    ipReader

    CSenXmlReader *ipReader[protected]

    Constructor & Destructor Documentation

    CSenXmlProperties ( )

    CSenXmlProperties()[protected]

    Constructor.

    ~CSenXmlProperties ( )

    ~CSenXmlProperties()[virtual]

    Destructor.

    Member Function Documentation

    AsUtf8L ( )

    HBufC8 *AsUtf8L()[virtual]

    AsUtf8LC ( )

    HBufC8 *AsUtf8LC()[virtual]

    BaseConstructL ( const TDesC8 &, const TDesC8 &, CSenXmlReader * )

    voidBaseConstructL(const TDesC8 &aLocalname,
    const TDesC8 &aXml,
    CSenXmlReader *aParser = NULL
    )[protected, virtual]

    BaseConstructL ( const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader * )

    voidBaseConstructL(const TDesC8 &aNamespace,
    const TDesC8 &aLocalname,
    const TDesC8 &aXml,
    CSenXmlReader *aParser = NULL
    )[protected, virtual]

    BaseConstructL ( const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader * )

    voidBaseConstructL(const TDesC8 &aNamespace,
    const TDesC8 &aLocalname,
    const TDesC8 &aQualifiedName,
    const TDesC8 &aXml,
    CSenXmlReader *aParser = NULL
    )[protected, virtual]

    BaseConstructL ( const CSenElement & )

    voidBaseConstructL(const CSenElement &aElement)[protected, virtual]

    BoolPropertyL ( const TDesC8 &, TBool & )

    TInt BoolPropertyL(const TDesC8 &aName,
    TBool &aValue
    )[virtual]

    Clone ( TInt & )

    MSenProperties *Clone(TInt &aOkOrError)const [virtual]

    CloneL ( )

    MSenProperties *CloneL()const [virtual]

    IntPropertyL ( const TDesC8 &, TInt & )

    TInt IntPropertyL(const TDesC8 &aName,
    TInt &aValue
    )[virtual]

    IsSafeToCast ( TSenPropertiesClassType )

    TBool IsSafeToCast(TSenPropertiesClassTypeaClass)[virtual]

    NewL ( )

    IMPORT_C CSenXmlProperties *NewL()[static]

    Basic constructor.

    Returns: a pointer to new CSenXmlProperties class instance.

    NewL ( const TDesC8 &, CSenXmlReader & )

    IMPORT_C CSenXmlProperties *NewL(const TDesC8 &aXmlUtf8,
    CSenXmlReader &aParser
    )[static]

    Basic constructor.

    ParameterDescription
    aParserIt is a XML reader

    Returns: a pointer to new CSenTransportProperties class instance.

    NewL ( const CSenElement & )

    IMPORT_C CSenXmlProperties *NewL(const CSenElement &aElement)[static]

    Basic constructor.

    Returns: a pointer to new CSenXmlProperties class instance.

    NewLC ( )

    IMPORT_C CSenXmlProperties *NewLC()[static]

    Basic constructor.

    Returns: a pointer to new CSenXmlProperties class instance.

    NewLC ( const TDesC8 &, CSenXmlReader & )

    IMPORT_C CSenXmlProperties *NewLC(const TDesC8 &aXmlUtf8,
    CSenXmlReader &aParser
    )[static]

    Basic constructor.

    ParameterDescription
    aParserIt is a XML reader

    Returns: a pointer to new CSenTransportProperties class instance.

    NewLC ( const CSenElement & )

    IMPORT_C CSenXmlProperties *NewLC(const CSenElement &aElement)[static]

    Basic constructor.

    Returns: a pointer to new CSenXmlProperties class instance.

    PropertiesClassType ( )

    TSenPropertiesClassTypePropertiesClassType()[virtual]

    PropertyL ( const TDesC8 &, TPtrC8 & )

    TInt PropertyL(const TDesC8 &aName,
    TPtrC8 &aValue
    )[virtual]

    PropertyL ( const TDesC8 &, TPtrC8 &, TPtrC8 & )

    TInt PropertyL(const TDesC8 &aName,
    TPtrC8 &aValue,
    TPtrC8 &aType
    )[virtual]
    Gets the value of the property behind certain name.
    Since
    Series60
    ParameterDescription
    aNameThe name identifying this property.
    aValueA TPtrC8 reference to be filled in with the value of the property.
    aTypeA TPtrC8 reference to be filled in with the type of the property.

    Returns: KErrNone if no error, or some of the system wide error codes.

    ReadFromL ( const TDesC8 & )

    voidReadFromL(const TDesC8 &aBuffer)[virtual]

    RemovePropertyL ( const TDesC8 & )

    TInt RemovePropertyL(const TDesC8 &aName)[virtual]

    SetBoolPropertyL ( const TDesC8 &, const TBool )

    TInt SetBoolPropertyL(const TDesC8 &aName,
    const TBoolaValue
    )[virtual]

    See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

    SetIntPropertyL ( const TDesC8 &, const TInt )

    TInt SetIntPropertyL(const TDesC8 &aName,
    const TIntaValue
    )[virtual]

    See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

    SetOmittedL ( const TDesC8 &, TBool )

    TInt SetOmittedL(const TDesC8 &aName,
    TBoolaValue
    )[virtual]

    SetPropertyL ( const TDesC8 &, const TDesC8 & )

    TInt SetPropertyL(const TDesC8 &aName,
    const TDesC8 &aValue
    )[virtual]

    See also: MSenProperties Leave codes: KErrSenInvalidCharacters if aName contains illegal characters. KErrSenZeroLengthDescriptor if aName is zero length.

    SetPropertyL ( const TDesC8 &, const TDesC8 &, const TDesC8 & )

    TInt SetPropertyL(const TDesC8 &aName,
    const TDesC8 &aValue,
    const TDesC8 &aType
    )[virtual]

    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.

    Since
    Series60
    ParameterDescription
    aNameName of the property, which can be later used to refer the given value.
    aValueIs the value of this property.
    aTypeIs the type of this property.

    Returns: KErrNone if no error, or some of the system wide error codes.

    SetReader ( CSenXmlReader & )

    voidSetReader(CSenXmlReader &aReader)[virtual]

    WriteToL ( RWriteStream & )

    voidWriteToL(RWriteStream &aWriteStream)[virtual]