#include "QDatReader.h"

QDatReader


class description - header file - source file - inheritance tree (.pdf)

class QDatReader

Inheritance Chart:
QDatReader

    public:
QDatReader() QDatReader(const QDatReader& rhs) QDatReader(const Char_t* newfilename, const Char_t* newkeyword = "NULL", Int_t newkwfield = 0) virtual ~QDatReader() static TClass* Class() void Clear() QList<TString> Get(Int_t offset = 0) const Char_t* GetFilename() const const Char_t* GetKeyword() const QList<QList<TString> > GetMany(Int_t offset = 0, Int_t maxncommands = 0) virtual TClass* IsA() const void SetFilename(const Char_t* newfilename) void SetKeyword(const Char_t* newkeyword = "NULL", Int_t newkwfield = 0) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fnsize const Char_t* filename [fnsize] ifstream file Int_t kwsize const Char_t* keyword [kwsize] Int_t currentline Int_t firstkwline

Class Description

                                                                      
 QDatReader                                                           
                                                                      
 This class retrieves information from an ASCII file. Keywords are    
 used to identify the different entries. The information is returned  
 using QList<TString> objects.                                        
                                                                      

QList<TString> Get(Int_t offset)
Looks for the next matching line. If offset is specified, it starts
to look at the last matching line + offset + 1.

The function returns the next matching line as a QList<TString>.
QList<QList<TString> > GetMany(Int_t offset,Int_t maxncommands)
Looks for the next matching lines, up to a maximum of maxncommands lines
if specified. If offset is specified, it starts to look at the last
matching line + offset + 1.

The function returns the next matching lines as a QList<QList<TString>>.
QDatReader()


{}
QDatReader(const QDatReader& rhs)

SetFilename(rhs.filename)

SetKeyword(rhs.keyword)

QDatReader(const Char_t* newfilename,const Char_t* newkeyword=NULL,Int_t newkwfield=0)


{newkwfield=0; SetFilename(newfilename);}
virtual ~QDatReader()


{}
const Char_t* GetFilename()


{ return filename;}
const Char_t* GetKeyword()


{ return keyword;}
void Clear()


Author: Kathryn Miknaitis
Last update: Fri Nov 17 16:35:11 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.