graphicstools/bitmapfonttools/inc/READER.H
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 /*
       
     2 * Copyright (c) 1997-2009 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: 
       
    15 * Header READER.H
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __READER_H__
       
    21 #define __READER_H__
       
    22 
       
    23 #include "LEXICAL.H"
       
    24 #include "RECORD.H"
       
    25 
       
    26 class Reader
       
    27 /**
       
    28 @internalComponent
       
    29 */
       
    30 	{
       
    31 public:
       
    32 	Reader();
       
    33 	virtual boolean Read(const String& aFilename) = 0;
       
    34 	~Reader();
       
    35 protected:
       
    36 	boolean Open(const String& aFilename);
       
    37 	boolean _EOF();
       
    38 	boolean NewLine();
       
    39 	boolean Number(int& aNumber);
       
    40 	boolean Ident();
       
    41 	boolean IdentComp(const String& aIdent);
       
    42 	boolean IdentCopy(String& aIdent);
       
    43 	boolean StringCopy(String& aString);
       
    44 	boolean Operator(char& aCh);
       
    45 	IMPORT_C void Error(const String& aString);
       
    46 protected:
       
    47 	LexAnal *iLexAnal;
       
    48 	Lexical *iLex;
       
    49 	};
       
    50 
       
    51 #endif