Alf::AlfContainer Class Reference
class Alf::AlfContainer : public Alf::IAlfContainer |
Constructor & Destructor Documentation
AlfContainer()
Constructor for creating a variant data type which can store a alfcontainer
- Exceptions
-
- Since
- S60 ?S60_version
~AlfContainer()
OSN_IMPORT | ~AlfContainer | ( | ) | |
Destructor
- Since
- S60 ?S60_version
Member Functions Documentation
addItem(IAlfVariantType *)
Adds a variantData item into the container .From
IAlfContainer interface variant data to be added into the container. Ownership is transferred if the method completes without exceptions. If there is an exception (e.g. due to out of memory), the client code is responsible for cleaning up the object.
- Exceptions
-
- Since
- S60 ?S60_version
addItem(uint, IAlfVariantType *)
Adds a variantData item into the container .From
IAlfContainer interface index where the data is added variant data to be added into the container. Ownership is transferred if the method completes without exceptions. If there is an exception (e.g. due to out of memory), the client code is responsible for cleaning up the object.
- Exceptions
-
- Since
- S60 ?S60_version
boolean()
OSN_IMPORT bool | boolean | ( | ) | const [virtual] |
Get the data value as an bool .From
IAlfVariantType Interface. Always throws an exception.
- Exceptions
-
- Since
- S60 ?S60_version
branch()
Get the data value as Branch .From
IAlfVariantType Interface. Always throws an exception.
- Exceptions
-
- Since
- S60 ?S60_version
clear()
OSN_IMPORT void | clear | ( | ) | [virtual] |
clone()
Clones the entire container From
IAlfContainer interface
- Exceptions
std::bad_alloc |
|
osncore::AlfDataException |
Thrown with error code osncore::EInvalidVariantDataType if there is an invalid data type in the container.
|
- Since
- S60 ?S60_version
count()
OSN_IMPORT int | count | ( | ) | [virtual] |
Gets the Number of items in the container . From IAlfContainer interface
customData()
Get the data value as a
User Defined Data Pointer. Always throws an exception.
- Exceptions
-
- Since
- S60 ?S60_version
integer()
OSN_IMPORT int | integer | ( | ) | const [virtual] |
Get the data value as an Integer .From
IAlfVariantType Interface. Always throws an exception.
- Exceptions
-
- Since
- S60 ?S60_version
item(uint)
Gets the Item at a given index in the container From
IAlfContainer interface
- Since
- S60 ?S60_version
Parameters
uint aIndex | - index at which the element is required |
map()
Get the data value as Map .From
IAlfVariantType Interface. Always throws an exception.
- Exceptions
-
- Since
- S60 ?S60_version
operator==(const IAlfVariantType &)
Equality comparison operator. Always throws an exception.
- Exceptions
-
- 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
-
- Since
- S60 ?S60_version
removeItem(uint)
OSN_IMPORT void | removeItem | ( | uint | aIndex | ) | [virtual] |
Removes an item from given index in the container. From
IAlfContainer interface
- Since
- S60 ?S60_version
Parameters
uint aIndex | - index at which the element is to be removed. |
replaceItem(uint, IAlfVariantType *)
Replace an item from given index in the container.
- Exceptions
-
- Since
- S60 ?S60_version
Parameters
uint aIndex | - index at which the element is to be replaced |
IAlfVariantType * aNewData | - new Data to be replaced |
set(IAlfVariantType &)
Set the Data the variantData. From
IAlfVariantType Interface. Always throws an exception always.
- Exceptions
-
- Since
- S60 ?S60_version
sort(const IAlfSortFunction &)
sorts the container using user defined sort function.
string()
OSN_IMPORT const UString & | string | ( | ) | const [virtual] |
Get the data value as an Descriptor .From
IAlfVariantType Interface. Always throws an exception.
- Exceptions
-
- 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
-
- Since
- S60 ?S60_version
Member Data Documentation
auto_ptr< AlfContainerDataImpl > mContainerData
auto_ptr< AlfContainerDataImpl > | mContainerData | [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.