Main Page | Class Hierarchy | Compound List | File List | Compound Members

BxTextFile.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxTextFile_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // Super class for text file reading
00006 // ##################################################################
00007 /*
00008 
00009 //  edikt::BinX
00010 //  www.edikt.org
00011 //  support@edikt.org
00012 
00013 // Copyright (c) 2003 The University of Edinburgh.
00014 
00015 */
00016 
00017 #ifndef __BxTextFile__
00018 #define __BxTextFile__
00019 
00020 #include "BxBinaryFile.h"
00021 
00022 /*
00023  * Class managing external text data files (not in BinX version 1.0).
00024  * Not all application data files are stored in binary format.
00025  * This class manages and performs operations on external data files containing
00026  * data in ASCII or Unicode format.
00027  * <BR>Often, text data are separated by delimiters such as commas,
00028  * white spaces, and other control characters.
00029  * This breaks the application data into tokens.
00030  * The delimiters are defined as strings in the BinX document file
00031  * (which dscribes the format and structure of the external text data file).
00032  * Using the BinX document, data are read from or written to the text data file
00033  * based on the defined file structure.
00034  * <BR>This class is analygous to the serivces provided by the class BxBinaryFile.
00035  * The primary difference is that a different method of file I/O is used.
00036  * For text files, reading and writing are sequential.
00037  * Random access within the text data file, is possible, but it is not recommended.
00038  * <BR><B>Since:</B> Future release to be determined. 
00039  */
00040 class DECLSPEC BxTextFile : public BxBinaryFile
00041 {
00042 public:
00043     BxTextFile();
00044     virtual ~BxTextFile();
00045 
00046     virtual char * className() const { return "BxTextFile"; } //<Returns the null-terminated string "BxTextFile".
00047 };
00048 
00049 #endif

Generated on Fri May 6 13:36:18 2005 for edikt::BinX by doxygen 1.3.3