EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDetParAsciiFileIo Class Reference

#include <EicRoot/blob/master/parbase/FairDetParAsciiFileIo.h>

+ Inheritance diagram for FairDetParAsciiFileIo:
+ Collaboration diagram for FairDetParAsciiFileIo:

Public Member Functions

 FairDetParAsciiFileIo (std::fstream *f)
 
virtual ~FairDetParAsciiFileIo ()
 
- Public Member Functions inherited from FairDetParIo
 FairDetParIo ()
 
virtual ~FairDetParIo ()
 
void setInputNumber (Int_t n)
 
Int_t getInputNumber ()
 
virtual Bool_t init (FairParSet *)
 
virtual Int_t write (FairParSet *)
 

Protected Member Functions

Bool_t findContainer (const Text_t *name)
 pointer to ascii file
 
Bool_t checkAllFound (Int_t *, Int_t)
 
void writeHeader (const Text_t *, const Text_t *context="", const Text_t *author="", const Text_t *description="")
 
void writeComment (FairParSet *)
 
void readComment (const Char_t *, FairParSet *)
 

Protected Attributes

TString fHeader
 
TString sepLine
 header of container output in file
 
std::fstream * pFile
 comment line
 
- Protected Attributes inherited from FairDetParIo
Int_t inputNumber
 

Private Member Functions

FairDetParAsciiFileIooperator= (const FairDetParAsciiFileIo &)
 
 FairDetParAsciiFileIo (const FairDetParAsciiFileIo &)
 

Detailed Description

Definition at line 12 of file FairDetParAsciiFileIo.h.

View newest version in sPHENIX GitHub at line 12 of file FairDetParAsciiFileIo.h

Constructor & Destructor Documentation

FairDetParAsciiFileIo::FairDetParAsciiFileIo ( std::fstream *  f)

Definition at line 22 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 22 of file FairDetParAsciiFileIo.cxx

virtual FairDetParAsciiFileIo::~FairDetParAsciiFileIo ( )
inlinevirtual

Definition at line 34 of file FairDetParAsciiFileIo.h.

View newest version in sPHENIX GitHub at line 34 of file FairDetParAsciiFileIo.h

FairDetParAsciiFileIo::FairDetParAsciiFileIo ( const FairDetParAsciiFileIo )
private

Member Function Documentation

Bool_t FairDetParAsciiFileIo::checkAllFound ( Int_t *  set,
Int_t  setSize 
)
protected

Definition at line 55 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 55 of file FairDetParAsciiFileIo.cxx

References printf().

+ Here is the call graph for this function:

Bool_t FairDetParAsciiFileIo::findContainer ( const Text_t *  name)
protected

pointer to ascii file

Definition at line 36 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 36 of file FairDetParAsciiFileIo.cxx

References pFile.

FairDetParAsciiFileIo& FairDetParAsciiFileIo::operator= ( const FairDetParAsciiFileIo )
private
void FairDetParAsciiFileIo::readComment ( const Char_t *  lastBuf,
FairParSet pPar 
)
protected

Definition at line 92 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 92 of file FairDetParAsciiFileIo.cxx

References Acts::UnitConstants::m, n, pFile, Acts::UnitConstants::s, FairParSet::setAuthor(), and FairParSet::setDescription().

+ Here is the call graph for this function:

void FairDetParAsciiFileIo::writeComment ( FairParSet pPar)
protected

Definition at line 119 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 119 of file FairDetParAsciiFileIo.cxx

References FairParSet::getAuthor(), FairParSet::getDescription(), pFile, and t.

Referenced by FairGenericParAsciiFileIo::writeGenericSet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairDetParAsciiFileIo::writeHeader ( const Text_t *  name,
const Text_t *  context = "",
const Text_t *  author = "",
const Text_t *  description = "" 
)
protected

Definition at line 71 of file FairDetParAsciiFileIo.cxx.

View newest version in sPHENIX GitHub at line 71 of file FairDetParAsciiFileIo.cxx

References fHeader, pFile, sepLine, and t.

Member Data Documentation

TString FairDetParAsciiFileIo::fHeader
protected

Definition at line 15 of file FairDetParAsciiFileIo.h.

View newest version in sPHENIX GitHub at line 15 of file FairDetParAsciiFileIo.h

Referenced by writeHeader().

TString FairDetParAsciiFileIo::sepLine
protected

header of container output in file

Definition at line 16 of file FairDetParAsciiFileIo.h.

View newest version in sPHENIX GitHub at line 16 of file FairDetParAsciiFileIo.h

Referenced by FairGenericParAsciiFileIo::writeGenericSet(), and writeHeader().


The documentation for this class was generated from the following files: