#include "hadascii.h"

HAsciiKey


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

class HAsciiKey : public HAscii

Inheritance Chart:
TObject
<-
HAscii
<-
HAsciiKey

    public:
HAsciiKey() HAsciiKey(const HAsciiKey& source) virtual ~HAsciiKey() static TClass* Class() Bool_t CopyKeyword(const Char_t* key) Bool_t CopyKeyword(const Char_t* sec, const Char_t* key) virtual TClass* IsA() const HAsciiKey& operator=(const HAsciiKey& source) void* Read() void* Read(Char_t typ) void* Read(const Char_t* key, Char_t typ) void* Read(const Char_t* sec, const Char_t* key, Char_t typ) Char_t ReadChar(Int_t pos = 0) Char_t ReadChar(const Char_t* key, Int_t pos = 0) Char_t ReadChar(const Char_t* sec, const Char_t* key, Int_t pos = 0) Float_t ReadFloat(Int_t pos = 0) Float_t ReadFloat(const Char_t* key, Int_t pos = 0) Float_t ReadFloat(const Char_t* sec, const Char_t* key, Int_t pos = 0) Bool_t ReadFloat(Float_t* putin, const Char_t* key) Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key) Bool_t ReadFloat(Float_t* putin, const Char_t* key, Int_t number) Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key, Int_t number) Bool_t ReadFloat(Float_t* putin, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadFloat(TArrayF* putin, const Char_t* key) Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key) Bool_t ReadFloat(TArrayF* putin, const Char_t* key, Int_t number) Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key, Int_t number) Bool_t ReadFloat(TArrayF* putin, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number) Int_t ReadInt(Int_t pos = 0) Int_t ReadInt(const Char_t* key, Int_t pos = 0) Int_t ReadInt(const Char_t* sec, const Char_t* key, Int_t pos = 0) Bool_t ReadInt(Int_t* putin, const Char_t* key) Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key) Bool_t ReadInt(Int_t* putin, const Char_t* key, Int_t number) Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key, Int_t number) Bool_t ReadInt(Int_t* putin, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadInt(TArrayI* putin, const Char_t* key) Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key) Bool_t ReadInt(TArrayI* putin, const Char_t* key, Int_t number) Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key, Int_t number) Bool_t ReadInt(TArrayI* putin, const Char_t* key, Int_t nrfrom, Int_t number) Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number) Char_t* ReadRemark() Char_t* ReadRemark(const Char_t* key) Char_t* ReadRemark(const Char_t* sec, const Char_t* key) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t WriteChar(Char_t num) Bool_t WriteChar(const Char_t* key, Char_t num) Bool_t WriteChar(Int_t arg, Char_t* num) Bool_t WriteChar(Int_t arg, Int_t begin, Char_t* num) Bool_t WriteChar(const Char_t* key, Int_t arg, Char_t* num) Bool_t WriteChar(const Char_t* key, Int_t arg, Int_t begin, Char_t* num) Bool_t WriteFloat(Float_t num) Bool_t WriteFloat(const Char_t* key, Float_t num) Bool_t WriteFloat(Int_t arg, Float_t* num) Bool_t WriteFloat(Int_t arg, Int_t begin, Float_t* num) Bool_t WriteFloat(const Char_t* key, Int_t arg, Float_t* num) Bool_t WriteFloat(const Char_t* key, Int_t arg, Int_t begin, Float_t* num) Bool_t WriteFloat(TArrayF* data) Bool_t WriteFloat(Int_t arg, TArrayF* data) Bool_t WriteFloat(Int_t arg, Int_t begin, TArrayF* data) Bool_t WriteFloat(const Char_t* key, TArrayF* data) Bool_t WriteFloat(const Char_t* key, Int_t arg, TArrayF* data) Bool_t WriteFloat(const Char_t* key, Int_t arg, Int_t begin, TArrayF* data) Bool_t WriteInt(Int_t num) Bool_t WriteInt(const Char_t* key, Int_t num) Bool_t WriteInt(Int_t arg, Int_t* num) Bool_t WriteInt(Int_t arg, Int_t begin, Int_t* num) Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t* num) Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t begin, Int_t* num) Bool_t WriteInt(TArrayI* data) Bool_t WriteInt(Int_t arg, TArrayI* data) Bool_t WriteInt(Int_t arg, Int_t begin, TArrayI* data) Bool_t WriteInt(const Char_t* key, TArrayI* data) Bool_t WriteInt(const Char_t* key, Int_t arg, TArrayI* data) Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t begin, TArrayI* data) Bool_t WriteKeyword(const Char_t* name) Bool_t WriteNChar(Int_t arg) Bool_t WriteNChar(const Char_t* key, Int_t arg) Bool_t WriteNFloat(Int_t arg) Bool_t WriteNFloat(const Char_t* key, Int_t arg) Bool_t WriteNInt(Int_t arg) Bool_t WriteNInt(const Char_t* key, Int_t arg) Bool_t WriteString(const Char_t* text, Int_t linelen = 76, Int_t keylen = 15) Bool_t WriteString(const Char_t* key, const Char_t* text, Int_t linelen = 76)

Data Members




Class Description


 HAsciiSectionRaw

 Internal class used only in case of reading data in "raw" format.
 It contains information of the structure of raw data like number
 of columns, keys (keywords) names, as well as all the data banks.


 ***************************************************************************

HAsciiKey() : HAscii()
 Default constructor. It does nothigh.

~HAsciiKey()
 Destructor.

HAsciiKey(const HAsciiKey& source)

void* Read()
 Reading data from data bank (so previously converted to given type)
 returning void pointer to begin of them.

void* Read(Char_t typ)
 Reading data from keyword previously read, converting to given type typ
 and returning void pointer to begin of them.

Int_t ReadInt(Int_t pos)
 Reading Int_t number at the position pos (from data bank) for keyword just read.

Float_t ReadFloat(Int_t pos)
 Readnig Float_t number at the position pos (from data bank) for keyword just read.

Char_t ReadChar(Int_t pos)
 Reading Char_t character at the position pos (from data bank) for keyword just read.

Int_t ReadInt(const Char_t* key, Int_t pos)
 Reading Int_t number at the position pos in keyword key.

Int_t ReadInt(const Char_t* sec, const Char_t* key, Int_t pos)
 Reading Int_t number at the position pos in keyword key in section sec.

Bool_t ReadInt(Int_t* putin, const Char_t* key)
 Reading the whole contents of keyword key as Int_t units and copying it
 to place (array) pointed by putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* key)
 Reading the whole contents of keyword key as Int_t units and copying it
 to TArrayI structure pointed by putin.

Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key)
 Reading the whole contents of keyword key in section sec as Int_t units
 and copying it to place (array) pointed by putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key)
 Reading the whole contents of keyword key in section sec as Int_t units
 and copying it to TArrayI structure pointed by putin.

Bool_t ReadInt(Int_t* putin, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key as Int_t units
 and copying to putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key as Int_t units
 and copying to TArrayI structure pointed by putin.

Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key in section sec
 as Int_t units and copying to putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key in section sec
 as Int_t units and copying to TArrayI structure pointed by putin.

Bool_t ReadInt(Int_t* putin, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 as Int_t units and copying to putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 as Int_t units and copying to TArrayI structure pointed by putin.

Bool_t ReadInt(Int_t* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 in section sec as Int_t units and copying to putin.

Bool_t ReadInt(TArrayI* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 in section sec as Int_t units and copying to TArrayI structure pointed by putin.

Float_t ReadFloat(const Char_t* key, Int_t pos)
 Reading Float_t number at the position pos in keyword key.

Float_t ReadFloat(const Char_t* sec, const Char_t* key, Int_t pos)
 Reading Float_t number at the position pos in keyword key in section sec.

Bool_t ReadFloat(Float_t* putin, const Char_t* key)
 Reading the whole contents of keyword key as Float_t units and copying it
 to place (array) pointed by putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* key)
 Reading the whole contents of keyword key as Float_t units and copying it
 to TArrayF structure pointed by putin.

Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key)
 Reading the whole contents of keyword key in section sec as Float_t units
 and copying it to place (array) pointed by putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key)
 Reading the whole contents of keyword key in section sec as Float_t units
 and copying it to TArrayF structure pointed by putin.

Bool_t ReadFloat(Float_t* putin, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key as Float_t units
 and copying to putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key as Float_t units
 and copying to TArrayF structure pointed by putin.

Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key in section sec
 as Float_t units and copying to putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key, Int_t number)
 Reading the given number of units from keyword key in section sec
 as Float_t units and copying to TArrayF structure pointed by putin.

Bool_t ReadFloat(Float_t* putin, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 as Float_t units and copying to putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 as Float_t units and copying to TArrayF structure pointed by putin.

Bool_t ReadFloat(Float_t* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 in section sec as Float_t units and copying to putin.

Bool_t ReadFloat(TArrayF* putin, const Char_t* sec, const Char_t* key, Int_t nrfrom, Int_t number)
 Reading the given number of units starting from position nrfrom from keyword
 in section sec as Float_t units and copying to TArrayF structure pointed by putin.

void* Read(const Char_t* key, Char_t typ)
 Returning void pointer to the beginning of data in keyword key of type typ.

void* Read(const Char_t* sec, const Char_t* key, Char_t typ)
 Returning void pointer to the beginning of data in keyword key of type typ
 in section sec.

Char_t ReadChar(const Char_t* key, Int_t pos)
 Reading Char_t character at the position pos in keyword key.

Char_t ReadChar(const Char_t* sec, const Char_t* key, Int_t pos)
 Reading Char_t character at the position pos in keyword key in section sec.

Char_t* ReadRemark()
 It returns commentary to the active section if there is any.

Char_t* ReadRemark(const Char_t* key)
 It returns commentary to the keyword key if there is any.

Char_t* ReadRemark(const Char_t* sec, const Char_t* key)
 It returns commentary to the keyword key in section sec if there is any.

Bool_t WriteKeyword(const Char_t* name)
 Writing keyword, equal sign = is added automatically.
 If you want to break line just after the keyword, put '*' at the
 end of it, i.e. WriteKeyword("RICH module*") will cause
 RICH module =  and the new line after it. All '*' characters
 in keyword name are truncated!

Bool_t WriteInt(Int_t num)
 Writing one Int_t digit.

Bool_t WriteInt(const Char_t* key, Int_t num)
 Writing keyword key and one Int_t digit.

Bool_t WriteNInt(Int_t arg, ...)
 Writing Int_t digits. The number of them is the first argument arg.
 Please be careful - in this function there is no type control so you
 have to put exactly Int_t variables and not the other.

Bool_t WriteNInt(const Char_t* key, Int_t arg, ...)
 Writing keyword key and Int_t digits. The number of them is in argument arg.

Bool_t WriteInt(Int_t arg, Int_t* num)
 Writing Int_t digits from place pointed by num.
 The number of written digits is arg.

Bool_t WriteInt(Int_t arg, Int_t begin, Int_t* num)
 Writing Int_t digits from place pointed by num starting from position begin.
 The number of written digits is arg.

Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t* num)
 Writing keyword and Int_t digits from place pointed by num.
 The number of written digits is arg.

Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t begin, Int_t* num)
 Writing keyword and Int_t digits from place pointed by num starting from position begin.
 The number of written digits is arg.

Bool_t WriteInt(TArrayI* data)
 Writing all Int_t digits from TArrayI pointed by data.

Bool_t WriteInt(Int_t arg, TArrayI* data)
 Writing Int_t digits from TArrayI pointed by data.
 The number of written digits is arg.

Bool_t WriteInt(Int_t arg, Int_t begin, TArrayI* data)
 Writing Int_t digits from TArrayI pointed by data starting from position begin.
 The number of written digits is arg.

Bool_t WriteInt(const Char_t* key, TArrayI* data)
 Writing keyword key and all Int_t digits from TArrayI pointed by data.

Bool_t WriteInt(const Char_t* key, Int_t arg, TArrayI* data)
 Writing keyword key and Int_t digits from TArrayI pointed by data.
 The number of written digits is arg.

Bool_t WriteInt(const Char_t* key, Int_t arg, Int_t begin, TArrayI* data)
 Writing keyword key and Int_t digits from TArrayI pointed by data starting
 from position begin. The number of written digits is arg.

Bool_t WriteFloat(Float_t num)
 Writing one Float_t digit.

Bool_t WriteFloat(const Char_t* key, Float_t num)
 Writing keyword key and one Float_t digit.

Bool_t WriteNFloat(Int_t arg, ...)
 Writing Float_t digits. The number of them is the first argument arg.
 Please be careful - in this function there is no type control so you
 have to put exactly Float_t variables and not the other.

Bool_t WriteNFloat(const Char_t* key, Int_t arg, ...)
 Writing keyword key and Float_t digits. The number of them is in argument arg.

Bool_t WriteFloat(Int_t arg, Float_t* num)
 Writing Float_t digits from place pointed by num.
 The number of written digits is arg.

Bool_t WriteFloat(Int_t arg, Int_t begin, Float_t* num)
 Writing Float_t digits from place pointed by num starting from position begin.
 The number of written digits is arg.

Bool_t WriteFloat(const Char_t* key, Int_t arg, Float_t* num)
 Writing keyword and Float_t digits from place pointed by num.
 The number of written digits is arg.

Bool_t WriteFloat(const Char_t* key, Int_t arg, Int_t begin, Float_t* num)
 Writing keyword and Float_t digits from place pointed by num starting from
 position begin. The number of written digits is arg.

Bool_t WriteFloat(TArrayF* data)
 Writing all Float_t digits from TArrayF pointed by data.

Bool_t WriteFloat(Int_t arg, TArrayF* data)
 Writing Float_t digits from TArrayF pointed by data.
 The number of written digits is arg.

Bool_t WriteFloat(Int_t arg, Int_t begin, TArrayF* data)
 Writing Float_t digits from TArrayF pointed by data starting from position begin.
 The number of written digits is arg.

Bool_t WriteFloat(const Char_t* key, TArrayF* data)
 Writing keyword key and all Float_t digits from TArrayF pointed by data.

Bool_t WriteFloat(const Char_t* key, Int_t arg, TArrayF* data)
 Writing keyword key and Float_t digits from TArrayF pointed by data.
 The number of written digits is arg.

Bool_t WriteFloat(const Char_t* key, Int_t arg, Int_t begin, TArrayF* data)
 Writing keyword key and Float_t digits from TArrayF pointed by data starting
 from position begin. The number of written digits is arg.

Bool_t WriteChar(Char_t num)
 Writing one Char_t character.

Bool_t WriteChar(const Char_t* key, Char_t num)
 Writing keyword key and one Char_t character.

Bool_t WriteNChar(Int_t arg, ...)
 Writing Char_t characters. The number of them is the first argument arg.
 Please be careful - in this function there is no type control so you
 have to put exactly Char_t variables and not the other.

Bool_t WriteNChar(const Char_t* key, Int_t arg, ...)
 Writing keyword key and Char_t characters. The number of them is in argument arg.

Bool_t WriteChar(Int_t arg, Char_t* num)
 Writing Char_t characters from place pointed by num.
 The number of written digits is arg.

Bool_t WriteChar(Int_t arg, Int_t begin, Char_t* num)
 Writing Char_t characters from place pointed by num starting from position begin.
 The number of written digits is arg.

Bool_t WriteChar(const Char_t* key, Int_t arg, Char_t* num)
 Writing keyword and Char_t characters from place pointed by num.
 The number of written digits is arg.

Bool_t WriteChar(const Char_t* key, Int_t arg, Int_t begin, Char_t* num)
 Writing keyword and Char_t characters from place pointed by num starting from
 position begin. The number of written digits is arg.

Bool_t WriteString(const Char_t* text, Int_t linelen, Int_t keylen)
 Writing string text in line of length linelen taking into account
 that the first line may be with keyword of length keylen.

Bool_t WriteString(const Char_t* key, const Char_t* text, Int_t linelen)
 Writing keyword key and string text in line of length linelen.

Bool_t CopyKeyword(const Char_t* key)
 Copying keyword key to a new file (if there is any in active section).

Bool_t CopyKeyword(const Char_t* sec, const Char_t* key)
 Copying keyword key from section sec to a new file.



Inline Functions


         HAsciiKey& operator=(const HAsciiKey& source)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
Last update: 2001/08/20 by Witold Przygoda


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.