Alf::AlfBranch Class Reference
class Alf::AlfBranch : public Alf::IAlfBranch
|
Concrete implementation of the variant data type interface.
IAlfBranch
alfwidgetmodel.lib
-
Since
-
S60 ?S60_version Draft
Private Attributes
|
auto_ptr< AlfBranchDataImpl >
|
mBranchData
|
Constructor & Destructor Documentation
AlfBranch(IAlfMap *, IAlfMap *)
Parameterized Constructor
-
Exceptions
-
-
Since
-
S60 ?S60_version
AlfBranch()
Default Constructor
-
Exceptions
-
-
Since
-
S60 ?S60_version
~AlfBranch()
OSN_IMPORT
|
~AlfBranch
|
(
|
)
|
|
Destructor
-
Since
-
S60 ?S60_version
Member Functions Documentation
boolean()
OSN_IMPORT bool
|
boolean
|
(
|
)
|
const [virtual]
|
Get the data value as an bool .From
IAlfVariantType
Interface Always throws an exception.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not boolean.
|
-
Since
-
S60 ?S60_version
childData()
OSN_IMPORT
IAlfMap
*
|
childData
|
(
|
)
|
[virtual]
|
childName(int)
OSN_IMPORT const
UString
&
|
childName
|
(
|
int
|
aIndex
|
)
|
[virtual]
|
childrenCount()
OSN_IMPORT
uint
|
childrenCount
|
(
|
)
|
[virtual]
|
clone()
Function to Clone the Branch
-
Exceptions
-
std::bad_alloc
|
|
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidBranchOperation if cloning fails.
|
-
Since
-
S60 ?S60_version
construct(IAlfMap *, IAlfMap *)
2nd Phase Constructor
-
Since
-
S60 ?S60_version
container()
Get the data value as an Conatiner. From
IAlfVariantType
Interface
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not a container.
|
-
Since
-
S60 ?S60_version
customData()
Get the data value as a
User
Defined Data Pointer.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not a custom value.
|
-
Since
-
S60 ?S60_version
data()
OSN_IMPORT
IAlfMap
*
|
data
|
(
|
)
|
[virtual]
|
integer()
OSN_IMPORT int
|
integer
|
(
|
)
|
const [virtual]
|
Get the data value as an Integer .From
IAlfVariantType
Interface Always throws an exception.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not an integer.
|
-
Since
-
S60 ?S60_version
map()
OSN_IMPORT
IAlfMap
*
|
map
|
(
|
)
|
[virtual]
|
Get the data value as Map. From
IAlfVariantType
Interface
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not a map.
|
-
Since
-
S60 ?S60_version
operator==(const IAlfVariantType &)
Equality comparison operator. Always throws an exception.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidBranchOperation always.
|
-
Since
-
S60 ?S60_version
real()
OSN_IMPORT double
|
real
|
(
|
)
|
const [virtual]
|
Get the data value as an bool .From
IAlfVariantType
Interface Always throws an exception.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not a real value.
|
-
Since
-
S60 ?S60_version
set(IAlfVariantType &)
Set the Data the variantData. From
IAlfVariantType
Interface Always throws an exception always.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidBranchOperation always. Use the setData API.
|
-
Since
-
S60 ?S60_version
setChildData(IAlfMap *)
OSN_IMPORT void
|
setChildData
|
(
|
IAlfMap
*
|
aChildData
|
)
|
[virtual]
|
setData(IAlfMap *)
OSN_IMPORT void
|
setData
|
(
|
IAlfMap
*
|
aData
|
)
|
[virtual]
|
sort(const IAlfSortFunction &)
sorts the branch using user defined sort function.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidBranchOperation if sorting fails.
|
-
Since
-
S60 ?S60_version
string()
OSN_IMPORT const
UString
&
|
string
|
(
|
)
|
const [virtual]
|
Get the data value as an Descriptor .From
IAlfVariantType
Interface
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not a string value.
|
-
Since
-
S60 ?S60_version
uinteger()
OSN_IMPORT
uint
|
uinteger
|
(
|
)
|
const [virtual]
|
Get the data value as unsigned int.From
IAlfVariantType
Interface Always throws an exception.
-
Exceptions
-
osncore::AlfDataException
|
Thrown with error code osncore::EInvalidVariantDataType always since
AlfBranch
is not an unsigned integer.
|
-
Since
-
S60 ?S60_version
Member Data Documentation
auto_ptr< AlfBranchDataImpl > mBranchData
auto_ptr< AlfBranchDataImpl >
|
mBranchData
|
[private]
|
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.