#include "hadascii.h"

HAsciiSection


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

class HAsciiSection : public TObject

Inheritance Chart:
TObject
<-
HAsciiSection

    public:
HAsciiSection() HAsciiSection(const HAsciiSection& source) virtual ~HAsciiSection() static TClass* Class() Long_t GetSectionBegin() Char_t* GetSectionComment() Long_t GetSectionEnd() Char_t* GetSectionName() HAsciiSectionRaw* GetSectionRaw() Short_t GetSectionState() virtual TClass* IsA() const HAsciiSection& operator=(const HAsciiSection& source) void Reset() void SetSectionBegin(Long_t val) void SetSectionComment(const Char_t* name) void SetSectionEnd(Long_t val) void SetSectionName(const Char_t* name) void SetSectionState(Short_t val) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Short_t fSectionState Char_t fSectionName[128] Long_t fSectionBegin Long_t fSectionEnd Char_t* fpSectionComment public:
HAsciiSectionRaw* fpRawData - activated while reading raw data

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.


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

HAsciiSection()
 Default constructor.

~HAsciiSection()
 Destructor. It deletes allocated memory if it was not deleted earlier.
 Therefore remember always to put your pointer to NULL after deleting!

HAsciiSection(const HAsciiSection& source)

Short_t GetSectionState()
 It returns present state of section.

Char_t* GetSectionName()
 It returns the name of section (what is in [ ] brackets).

Long_t GetSectionBegin()
 It returns begin position of section in bytes (in given file).

Long_t GetSectionEnd()
 It returns end position of section in bytes (in given file).

Char_t* GetSectionComment()
 It returns commentary to the section if there was any.

HAsciiSectionRaw* GetSectionRaw()
 It returns pointer to HAsciiSectionRaw class containg raw data information.

void SetSectionState(Short_t val)
 It sets section state (so you can switch it off).

void SetSectionName(const Char_t* name)
 It sets section name.

void SetSectionBegin(Long_t val)
 It sets section begin. Section begins after closing ] bracket of section name.

void SetSectionEnd(Long_t val)
 It sets section end. Section ends at the opening [ bracket of the next
 section name or at the enf of file.

void SetSectionComment(const Char_t* name)
 It sets section commentary.

void Reset()
 It deletes allocated memory if it was not deleted earlier and resets data.



Inline Functions


        HAsciiSection& operator=(const HAsciiSection& 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.