os/persistentdata/persistentstorage/dbms/pcdbms/ustor/US_UTL.CPP
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1998-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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #include "US_STD.H"
    17 
    18 // Class RDbStoreReadStream
    19 
    20 void RDbStoreReadStream::FilterL(TType aType,TUint32 aInit)
    21 //
    22 // Apply a filter if appropriate
    23 //
    24 	{
    25 	MDbStreamFilter* f=iDatabase.Filter();
    26 	if (f)
    27 		Attach(f->FilterL(Source(),aInit,aType));
    28 	}
    29 
    30 // Class RDbStoreWriteStream
    31 
    32 void RDbStoreWriteStream::FilterL(TType aType,TUint32 aInit)
    33 //
    34 // Apply a filter if appropriate
    35 //
    36 	{
    37 	MDbStreamFilter* f=iDatabase.Filter();
    38 	if (f)
    39 		Attach(f->FilterL(Sink(),aInit,aType));
    40 	}