First public contribution.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #if (!defined __TEFSQL_HASHING_H__)
17 #define __TEFSQL_HASHING_H__
20 #include <e32hashtab.h>
22 class CSQLHashUtil : public CBase
27 TPtrC* GetStringFromNum(TInt aErrNum);
28 TInt GetNumFromString(TPtrC aErrMsg);
30 RHashMap<TInt, TPtrC> ihash;
32 class CSQLOsErrHash : public CSQLHashUtil
37 class CSQLErrHash : public CSQLOsErrHash
42 class CSQLColTypeHash : public CSQLHashUtil
47 class CSQLTEFAction : public CSQLHashUtil
52 class CSQLSFSTEFAction : public CSQLHashUtil
56 enum { ESFS_SelectIntL, ESFS_SelectInt64L, ESFS_SelectRealL,
57 ESFS_SelectTextL, ESFS_SelectBinaryL, };
59 class CSQLCapability : public CSQLHashUtil
64 class CSQLObject : public CSQLHashUtil
70 class CSQLPolicy : public CSQLHashUtil
76 #endif // __TEFSQL_HASHING_H__