CSenXmlProperties Class Reference
class CSenXmlProperties : public CBase
|
Public Member Functions
|
|
~CSenXmlProperties
()
|
HBufC8
*
|
AsUtf8L
()
|
HBufC8
*
|
AsUtf8LC
()
|
TInt
|
BoolPropertyL
(const
TDesC8
&,
TBool
&)
|
MSenProperties
*
|
Clone
(
TInt
&)
|
MSenProperties
*
|
CloneL
()
|
TInt
|
IntPropertyL
(const
TDesC8
&,
TInt
&)
|
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
&)
|
TSenPropertiesClassType
|
PropertiesClassType
()
|
TInt
|
PropertyL
(const
TDesC8
&,
TPtrC8
&)
|
TInt
|
PropertyL
(const
TDesC8
&,
TPtrC8
&,
TPtrC8
&)
|
void
|
ReadFromL
(const
TDesC8
&)
|
TInt
|
RemovePropertyL
(const
TDesC8
&)
|
TInt
|
SetBoolPropertyL
(const
TDesC8
&, const
TBool
)
|
TInt
|
SetIntPropertyL
(const
TDesC8
&, const
TInt
)
|
TInt
|
SetOmittedL
(const
TDesC8
&,
TBool
)
|
TInt
|
SetPropertyL
(const
TDesC8
&, const
TDesC8
&)
|
TInt
|
SetPropertyL
(const
TDesC8
&, const
TDesC8
&, const
TDesC8
&)
|
void
|
SetReader
(
CSenXmlReader
&)
|
void
|
WriteToL
(
RWriteStream
&)
|
Constructor & Destructor Documentation
CSenXmlProperties()
CSenXmlProperties
|
(
|
)
|
[protected]
|
~CSenXmlProperties()
~CSenXmlProperties
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AsUtf8L()
HBufC8
*
|
AsUtf8L
|
(
|
)
|
[virtual]
|
AsUtf8LC()
HBufC8
*
|
AsUtf8LC
|
(
|
)
|
[virtual]
|
BaseConstructL(const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, CSenXmlReader *)
BaseConstructL(const CSenElement &)
void
|
BaseConstructL
|
(
|
const
CSenElement
&
|
aElement
|
)
|
[protected, virtual]
|
BoolPropertyL(const TDesC8 &, TBool &)
IntPropertyL(const TDesC8 &, TInt &)
IsSafeToCast(TSenPropertiesClassType)
TBool
|
IsSafeToCast
|
(
|
TSenPropertiesClassType
|
aClass
|
)
|
[virtual]
|
Parameters
TSenPropertiesClassType aClass
|
|
NewL(const TDesC8 &, CSenXmlReader &)
NewL(const CSenElement &)
NewLC(const TDesC8 &, CSenXmlReader &)
NewLC(const CSenElement &)
PropertiesClassType()
TSenPropertiesClassType
|
PropertiesClassType
|
(
|
)
|
[virtual]
|
PropertyL(const TDesC8 &, TPtrC8 &)
PropertyL(const TDesC8 &, TPtrC8 &, TPtrC8 &)
Gets the value of the property behind certain name.
-
Since
-
Series60
Parameters
const
TDesC8
& aName
|
The name identifying this property.
|
TPtrC8
& aValue
|
A TPtrC8 reference to be filled in with the value of the property.
|
TPtrC8
& aType
|
A TPtrC8 reference to be filled in with the type of the property.
|
ReadFromL(const TDesC8 &)
void
|
ReadFromL
|
(
|
const
TDesC8
&
|
aBuffer
|
)
|
[virtual]
|
RemovePropertyL(const TDesC8 &)
TInt
|
RemovePropertyL
|
(
|
const
TDesC8
&
|
aName
|
)
|
[virtual]
|
SetBoolPropertyL(const TDesC8 &, const TBool)
TInt
|
SetBoolPropertyL
|
(
|
const
TDesC8
&
|
aName,
|
|
const
TBool
|
aValue
|
|
)
|
[virtual]
|
SetIntPropertyL(const TDesC8 &, const TInt)
TInt
|
SetIntPropertyL
|
(
|
const
TDesC8
&
|
aName,
|
|
const
TInt
|
aValue
|
|
)
|
[virtual]
|
SetOmittedL(const TDesC8 &, TBool)
SetPropertyL(const TDesC8 &, const TDesC8 &)
SetPropertyL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
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.
Parameters
const
TDesC8
& aName
|
Name of the property, which can be later used to refer the given value.
|
const
TDesC8
& aValue
|
Is the value of this property.
|
const
TDesC8
& aType
|
Is the type of this property.
|
SetReader(CSenXmlReader &)
Member Data Documentation
CSenPropertiesFragment * ipFragment
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.