#include "hgeomasciiio.h"

HGeomAsciiIo


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

class HGeomAsciiIo : public HGeomIo

Inheritance Chart:
TObject
<-
HGeomIo
<-
HGeomAsciiIo

    public:
HGeomAsciiIo() HGeomAsciiIo(const HGeomAsciiIo&) ~HGeomAsciiIo() static TClass* Class() virtual void close() const char* getDirectory() const const char* getFilename() const virtual TClass* IsA() const virtual Bool_t isOpen() virtual Bool_t isWritable() virtual Bool_t open(const char*, Text_t* status = "in") HGeomAsciiIo& operator=(const HGeomAsciiIo&) virtual void print() virtual Bool_t read(HGeomMedia*) virtual Bool_t read(HGeomSet*, HGeomMedia*) virtual Bool_t read(HGeomHit*) Bool_t readDetectorSetup(HGeomInterface*) virtual Bool_t readGeomConfig(HGeomInterface*) void setDirectory(const char* fDir) virtual Bool_t setHistoryDate(const char*) virtual Bool_t setSimulRefRun(const char*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Bool_t write(HGeomMedia*) virtual Bool_t write(HGeomSet* set)

Data Members

    private:
TString filename TString filedir Bool_t writable fstream* file

Class Description

 HGeomAsciiIo

 Class for geometry I/O from ASCII file



HGeomAsciiIo()
 Constructor

~HGeomAsciiIo()
 Destructor

Bool_t open(const char* fname,Text_t* status)
 Opens the file fname

Bool_t isOpen()
 Returns kTRUE, if the file is open

Bool_t isWritable()
 Returns kTRUE, if the file is open and writable

void close()
 Closes the file

void print()
 Prints file information

Bool_t read(HGeomMedia* media)
 Reads the media from file

Bool_t read(HGeomHit* hit)
 Reads the hit definition from file

Bool_t read(HGeomSet* set,HGeomMedia* media)
 Reads the geometry set from file

Bool_t write(HGeomMedia* media)
 Writes the media to file

Bool_t write(HGeomSet* set)
 Writes the geometry set to file

Bool_t readGeomConfig(HGeomInterface* interface)
 Reads the GEANT configuration file

Bool_t readDetectorSetup(HGeomInterface* interface)
 Reads the detector setups, needed for create only subsets



Inline Functions


                 void setDirectory(const char* fDir)
          const char* getDirectory() const
          const char* getFilename() const
               Bool_t setSimulRefRun(const char*)
               Bool_t setHistoryDate(const char*)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
         HGeomAsciiIo HGeomAsciiIo(const HGeomAsciiIo&)
        HGeomAsciiIo& operator=(const HGeomAsciiIo&)


Last update: Fri Jan 26 11:54:44 2007


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.