examples/Base/BufsAndStrings/rbufexample/rbufexample.h

00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #ifndef __RBUFEXAMPLE_H__
00017 #define __RBUFEXAMPLE_H__
00018 
00019 #include <e32cons.h>
00020 #include <f32file.h>
00021 #include <s32file.h> 
00022 
00034 class CRBufExample: public CBase
00035         {
00036         public:
00037         static CRBufExample* NewL();
00038         ~CRBufExample();
00039         
00040         void CreateRBufL();
00041         void CreateRBufFromExistingDesL();
00042         void CreateRBufFromHBufCL();
00043         void CreateRBufFromAllocatedMemoryL();
00044         void CreateRBufFromAnotherRBufL();
00045         void CreateRBufUsingRReadStreamL();
00046         void SwapTwoRBufsL();
00047         void CopyDataUsingAssignmentOperatorL();
00048         void ReallocateAndFreeTheMemoryBufferL();
00049         void ReplaceAndModifyTheDataL();
00050         void CleanUpRulesL();
00051 
00052         private:
00053         CRBufExample();
00054         void ConstructL();
00055 
00056         private:
00058         CConsoleBase* iConsole; 
00059         };
00060 
00061 #endif //__RBUFEXAMPLE_H__
00062 
00063 
00064 

Generated by  doxygen 1.6.2