locsrv_pub/landmarks_api/tsrc/inc/testcposlandmarkparser.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Provides testing of CPosLandmarkParser class methods
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CTESTPOSLANDMARKPARSER_H
       
    21 #define CTESTPOSLANDMARKPARSER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <StifLogger.h>
       
    25 #include <TestScripterInternal.h>
       
    26 #include <StifTestModule.h>
       
    27 #include <EPos_CPosLmItemIterator.h>
       
    28 
       
    29 // CLASS 
       
    30 
       
    31 class CTestPosLandmarkParser
       
    32 	{
       
    33 	public:	//Public constructor of class
       
    34 	
       
    35 		/**
       
    36 		*
       
    37 		*/
       
    38 		CTestPosLandmarkParser(CStifLogger* aLog);
       
    39 		
       
    40 		static CTestPosLandmarkParser* NewL(CStifLogger* aLog);
       
    41 		
       
    42 		void ConstructL();
       
    43 		
       
    44 		~CTestPosLandmarkParser();
       
    45 		
       
    46 	public:	//Public methods
       
    47 	
       
    48 		/**
       
    49 		*
       
    50 		*/
       
    51 		TInt CreateParserL( CStifItemParser& aItem );
       
    52 		
       
    53 		/**
       
    54 		*
       
    55 		*/
       
    56 		TInt SetInputBufferL( CStifItemParser& aItem );
       
    57 		
       
    58 		/**
       
    59 		*
       
    60 		*/
       
    61 		TInt SetInputFileL( CStifItemParser& aItem );
       
    62 		
       
    63 		/**
       
    64 		*
       
    65 		*/
       
    66 		TInt SetInputFileHandleL( CStifItemParser& aItem );
       
    67 		
       
    68 		/**
       
    69 		*
       
    70 		*/
       
    71 		TInt ParseContentL( CStifItemParser& aItem );
       
    72 		
       
    73 		/**
       
    74 		*
       
    75 		*/
       
    76 		TInt NumOfParsedContentL( CStifItemParser& aItem );
       
    77 		
       
    78 		/**
       
    79 		*
       
    80 		*/
       
    81 		TInt FirstAndNextCollDataIdL( CStifItemParser& aItem );
       
    82 		
       
    83 		/**
       
    84 		*
       
    85 		*/
       
    86 		TInt GetCollectionDataL( CStifItemParser& aItem );
       
    87 		
       
    88 		/**
       
    89 		*
       
    90 		*/
       
    91 		TInt RetrieveParsedLmkL( CStifItemParser& aItem );
       
    92 		
       
    93 		/**
       
    94 		*
       
    95 		*/
       
    96 		TInt RetrieveCategoryL( CStifItemParser& aItem );
       
    97 				
       
    98 		
       
    99 	private:
       
   100 		
       
   101 		// Private members
       
   102 		CStifLogger* iLog;	//Log		
       
   103 	};
       
   104 	
       
   105 #endif // CTESTPOSLANDMARKPARSER_H
       
   106