1 /* |
|
2 * Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Variant data type for Generic Parameters library. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #include "liwcommon.hrh" |
|
25 #ifndef LIW_VARIANT_TYPE_HRH |
|
26 #define LIW_VARIANT_TYPE_HRH |
|
27 |
|
28 namespace LIW { |
|
29 |
|
30 /** |
|
31 * Data formats supported by TLiwVariant class. |
|
32 */ |
|
33 enum TVariantTypeId |
|
34 { |
|
35 EVariantTypeAny = -1, ///< Used only in searching |
|
36 EVariantTypeNull = 0, ///< Null (empty) type |
|
37 |
|
38 EVariantTypeTInt32 = 1, ///< 32 bit Integer |
|
39 EVariantTypeTUid = 2, ///< Globally unique UID |
|
40 EVariantTypeDesC = 3, ///< Constant text literal |
|
41 EVariantTypeTTime = 4, ///< Date and time |
|
42 EVariantTypeDesC8 = 5, ///< 8-bit data buffer |
|
43 EVariantTypeFileHandle = 6, ///< File handle |
|
44 EVariantTypeList = 7, ///< List |
|
45 EVariantTypeMap = 8, ///< Map |
|
46 EVariantTypeInterface = 9, ///< Interface |
|
47 EVariantTypeIterable = 10, ///< Iterable |
|
48 EVariantTypeTBool = 11, ///< Bool Data Type |
|
49 EVariantTypeTUint = 12, ///< Unsigned Integer Data Type |
|
50 EVariantTypeTReal = 13, ///< Float type |
|
51 EVariantTypeBuffer = 14, ///< Buffer type |
|
52 EVariantTypeTInt64 = 15 ///< 64 bit Integer |
|
53 }; |
|
54 } |
|
55 #endif // LIW_VARIANT_TYPE_HRH |
|
56 |
|
57 // End of file |
|
58 |
|