CGECODefaultObject Class Reference
class CGECODefaultObject : public CGECOObjectBase
|
Default implementation for
CGECOObjectBase
Implements basic descriptor type arrays for storing object attributes.
XCFW.lib
-
Since
-
Series 60 3.1
Public Member Functions
|
|
~CGECODefaultObject
()
|
IMPORT_C void
|
AttributeDetailsL
(const
TInt
,
TPtrC
&,
TPtrC
&,
TBool
&)
|
IMPORT_C void
|
AttributeDetailsL
(const
TInt
,
TPtrC
&,
TPtrC
&)
|
IMPORT_C
TInt
|
GetAttribute
(const
TDesC
&,
TPtrC
&)
|
IMPORT_C
TInt
|
GetAttribute
(const
TDesC
&,
TPtrC
&,
TBool
&)
|
IMPORT_C
TInt
|
GetText
(
TPtrC
&)
|
IMPORT_C
TBool
|
HasTextData
()
|
IMPORT_C
CGECODefaultObject
*
|
NewL
(const
TDesC
&)
|
IMPORT_C
TInt
|
NumAttributes
()
|
IMPORT_C
TInt
|
RemoveAttribute
(const
TDesC
&)
|
IMPORT_C void
|
RemoveText
()
|
IMPORT_C void
|
SetAttributeL
(const
TDesC
&, const
TDesC
&)
|
IMPORT_C void
|
SetAttributeL
(const
TDesC
&, const
TDesC
&,
TBool
)
|
IMPORT_C void
|
SetTextL
(const
TDesC
&)
|
IMPORT_C void
|
SetTextL
(const
TDesC
&,
TBool
)
|
IMPORT_C void
|
TextDetailsL
(
TPtrC
&,
TBool
&)
|
IMPORT_C const
TDesC
&
|
TypeIdentifier
()
|
Constructor & Destructor Documentation
CGECODefaultObject()
IMPORT_C
|
CGECODefaultObject
|
(
|
)
|
[protected]
|
~CGECODefaultObject()
IMPORT_C
|
~CGECODefaultObject
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AttributeDetailsL(const TInt, TPtrC &, TPtrC &, TBool &)
IMPORT_C void
|
AttributeDetailsL
|
(
|
const
TInt
|
aIndex,
|
|
TPtrC
&
|
aAttrName,
|
|
TPtrC
&
|
aAttrValue,
|
|
TBool
&
|
aIsLocalized
|
|
)
|
|
AttributeDetailsL(const TInt, TPtrC &, TPtrC &)
IMPORT_C void
|
AttributeDetailsL
|
(
|
const
TInt
|
aIndex,
|
|
TPtrC
&
|
aAttrName,
|
|
TPtrC
&
|
aAttrValue
|
|
)
|
|
BaseConstructL(const TDesC &)
IMPORT_C void
|
BaseConstructL
|
(
|
const
TDesC
&
|
aTypeIdentifier
|
)
|
[protected]
|
Parameters
const
TDesC
& aTypeIdentifier
|
|
GetAttribute(const TDesC &, TPtrC &)
IMPORT_C
TInt
|
GetAttribute
|
(
|
const
TDesC
&
|
aAttrName,
|
|
TPtrC
&
|
aAttrValue
|
|
)
|
|
Returns value for given attribute
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aAttrName
|
Attribute to search for
|
TPtrC
& aAttrValue
|
Attribute value returned
|
GetAttribute(const TDesC &, TPtrC &, TBool &)
IMPORT_C
TInt
|
GetAttribute
|
(
|
const
TDesC
&
|
aAttrName,
|
|
TPtrC
&
|
aAttrValue,
|
|
TBool
&
|
aIsLocalized
|
|
)
|
|
Returns value and localization status for given attribute
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aAttrName
|
Attribute to search for
|
TPtrC
& aAttrValue
|
Attribute value returned
|
TBool
& aIsLocalized
|
Attribute localization status returned
|
GetText(TPtrC &)
Returns possible text data from this object
-
Since
-
Series 60 3.1
Parameters
TPtrC
& aText
|
Text data returned
|
HasTextData()
IMPORT_C
TBool
|
HasTextData
|
(
|
)
|
|
NewL(const TDesC &)
Parameters
const
TDesC
& aTypeIdentifier
|
Object identifier (e.g. XML tag with namespace)
|
NumAttributes()
IMPORT_C
TInt
|
NumAttributes
|
(
|
)
|
|
RemoveAttribute(const TDesC &)
IMPORT_C
TInt
|
RemoveAttribute
|
(
|
const
TDesC
&
|
aAttrName
|
)
|
|
Removes an attribute from this object
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aAttrName
|
Attribute to be removed
|
RemoveText()
IMPORT_C void
|
RemoveText
|
(
|
)
|
|
Removes object's text data
-
Since
-
Series 60 3.1
SetAttributeL(const TDesC &, const TDesC &)
IMPORT_C void
|
SetAttributeL
|
(
|
const
TDesC
&
|
aAttrName,
|
|
const
TDesC
&
|
aAttrValue
|
|
)
|
|
Adds new attribute to this object Attribute's localization status will be EFalse.
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aAttrName
|
New attribute name
|
const
TDesC
& aAttrValue
|
New attribute value
|
SetAttributeL(const TDesC &, const TDesC &, TBool)
IMPORT_C void
|
SetAttributeL
|
(
|
const
TDesC
&
|
aAttrName,
|
|
const
TDesC
&
|
aAttrValue,
|
|
TBool
|
aIsLocalized
|
|
)
|
|
Adds new attribute to this object
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aAttrName
|
New attribute name
|
const
TDesC
& aAttrValue
|
New attribute value
|
TBool
aIsLocalized
|
New attribute's localization status
|
SetTextL(const TDesC &)
IMPORT_C void
|
SetTextL
|
(
|
const
TDesC
&
|
aText
|
)
|
|
Sets object's text data. This function will set the localization status for text to EFalse
Parameters
const
TDesC
& aText
|
New text for the object
|
SetTextL(const TDesC &, TBool)
IMPORT_C void
|
SetTextL
|
(
|
const
TDesC
&
|
aText,
|
|
TBool
|
aIsLocalized
|
|
)
|
|
Sets object's text data and localization status
-
Since
-
Series 60 3.1
Parameters
const
TDesC
& aText
|
New text for the object
|
TBool
aIsLocalized
|
text data's localization status
|
TextDetailsL(TPtrC &, TBool &)
IMPORT_C void
|
TextDetailsL
|
(
|
TPtrC
&
|
aText,
|
|
TBool
&
|
aIsLocalized
|
|
)
|
|
TypeIdentifier()
IMPORT_C const
TDesC
&
|
TypeIdentifier
|
(
|
)
|
[virtual]
|
Member Data Documentation
RArray< TBool > iAttrLocStatus
CDesCArraySeg * iAttrNames
CDesCArraySeg * iAttrValues
HBufC * iText
HBufC
*
|
iText
|
[protected]
|
TBool
iTextLocStatus
TBool
|
iTextLocStatus
|
[protected]
|
HBufC * iTypeIdentifier
HBufC
*
|
iTypeIdentifier
|
[protected]
|
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.