serviceapifw_plat/liw_generic_parameter_api/inc/liwvarianttype.hrh
author Kiiskinen Klaus (Nokia-D-MSW/Tampere) <klaus.kiiskinen@nokia.com>
Mon, 30 Mar 2009 12:51:20 +0300
changeset 0 99ef825efeca
child 27 bcef26ca2be3
permissions -rw-r--r--
Revision: 200911 Kit: 200912

/*
* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:       Variant data type for Generic Parameters library.
*
*/







#include "LiwCommon.hrh"
#ifndef LIW_VARIANT_TYPE_HRH
#define LIW_VARIANT_TYPE_HRH

namespace LIW {

/**
* Data formats supported by TLiwVariant class.
*/
enum TVariantTypeId
    {
    EVariantTypeAny        = -1,  ///< Used only in searching
    EVariantTypeNull       = 0,   ///< Null (empty) type

    EVariantTypeTInt32     = 1,   ///< 32 bit Integer
    EVariantTypeTUid       = 2,   ///< Globally unique UID
    EVariantTypeDesC       = 3,   ///< Constant text literal
    EVariantTypeTTime      = 4,   ///< Date and time
    EVariantTypeDesC8      = 5,   ///< 8-bit data buffer
    EVariantTypeFileHandle = 6,   ///< File handle
    EVariantTypeList       = 7,   ///< List
    EVariantTypeMap        = 8,   ///< Map
    EVariantTypeInterface  = 9,   ///< Interface
    EVariantTypeIterable   = 10,   ///< Iterable
    EVariantTypeTBool      = 11,   ///< Bool Data Type 
    EVariantTypeTUint      = 12,    ///< Unsigned Integer Data Type 
    EVariantTypeTReal      = 13,    ///< Float type
    EVariantTypeBuffer     = 14,    ///< Buffer type
    EVariantTypeTInt64     = 15   ///< 64 bit Integer
    };
}
#endif // LIW_VARIANT_TYPE_HRH

// End of file