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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Comms Database and Table inline functions
22 @deprecated since v9.1. Functionality is replaced with commsdat.
29 #include <cdbpreftable.h>
32 inline RDbNamedDatabase* CCommsDatabaseBase::Database()
34 Returns the interface for creating and opening a database identified by name and format.
36 @return A pointer to the interface for creating and opening a database identified by name and format.
42 inline void CCommsDbTableView::GetTableName(TDes& aTableName) const
44 Gets the name of the table associated with this view and copies it into the
45 descriptor supplied by the caller.
47 @param aTableName A reference to a descriptor passed by the caller. On return
48 from this function it contains the name of the table.
51 aTableName=iTableName;
54 inline TDbColNo CCommsDbConnectionPrefTableView::ColNum(const TDesC& /*aColumn*/) const
56 Returns the column number of the Column aColumn in the table
58 Coloumn concept doesn't exist in CommsDat
59 depNot supported from v9.1
61 @param aColumn A reference to a descriptor containing the name of a column in the current record.
62 @return The ordinal number of the column else KDbNullColNo if no such column exists.