Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TFileManager< FT > Class Template Referenceabstract

#include <G4TFileManager.hh>

+ Inheritance diagram for G4TFileManager< FT >:

Public Member Functions

 G4TFileManager (const G4AnalysisManagerState &state)
 
 G4TFileManager ()=delete
 
virtual ~G4TFileManager ()
 
std::shared_ptr< FT > CreateTFile (const G4String &fileName)
 
G4bool WriteTFile (const G4String &fileName)
 
G4bool CloseTFile (const G4String &fileName)
 
G4bool SetIsEmpty (const G4String &fileName, G4bool isEmpty)
 
std::shared_ptr< FT > GetTFile (const G4String &fileName, G4bool warn=true) const
 
G4bool OpenFiles ()
 
G4bool WriteFiles ()
 
G4bool CloseFiles ()
 
G4bool DeleteEmptyFiles ()
 
void ClearData ()
 

Protected Member Functions

virtual std::shared_ptr< FT > CreateFileImpl (const G4String &fileName)=0
 
virtual G4bool WriteFileImpl (std::shared_ptr< FT > file)=0
 
virtual G4bool CloseFileImpl (std::shared_ptr< FT > file)=0
 

Detailed Description

template<typename FT>
class G4TFileManager< FT >

Definition at line 39 of file G4TFileManager.hh.

Constructor & Destructor Documentation

◆ G4TFileManager() [1/2]

template<typename FT >
G4TFileManager< FT >::G4TFileManager ( const G4AnalysisManagerState & state)
explicit

◆ G4TFileManager() [2/2]

template<typename FT >
G4TFileManager< FT >::G4TFileManager ( )
delete

◆ ~G4TFileManager()

template<typename FT >
virtual G4TFileManager< FT >::~G4TFileManager ( )
virtual

Member Function Documentation

◆ ClearData()

template<typename FT >
void G4TFileManager< FT >::ClearData ( )

◆ CloseFileImpl()

template<typename FT >
virtual G4bool G4TFileManager< FT >::CloseFileImpl ( std::shared_ptr< FT > file)
protectedpure virtual

◆ CloseFiles()

template<typename FT >
G4bool G4TFileManager< FT >::CloseFiles ( )

◆ CloseTFile()

template<typename FT >
G4bool G4TFileManager< FT >::CloseTFile ( const G4String & fileName)

◆ CreateFileImpl()

template<typename FT >
virtual std::shared_ptr< FT > G4TFileManager< FT >::CreateFileImpl ( const G4String & fileName)
protectedpure virtual

◆ CreateTFile()

template<typename FT >
std::shared_ptr< FT > G4TFileManager< FT >::CreateTFile ( const G4String & fileName)

◆ DeleteEmptyFiles()

template<typename FT >
G4bool G4TFileManager< FT >::DeleteEmptyFiles ( )

◆ GetTFile()

template<typename FT >
std::shared_ptr< FT > G4TFileManager< FT >::GetTFile ( const G4String & fileName,
G4bool warn = true ) const

◆ OpenFiles()

template<typename FT >
G4bool G4TFileManager< FT >::OpenFiles ( )

◆ SetIsEmpty()

template<typename FT >
G4bool G4TFileManager< FT >::SetIsEmpty ( const G4String & fileName,
G4bool isEmpty )

◆ WriteFileImpl()

template<typename FT >
virtual G4bool G4TFileManager< FT >::WriteFileImpl ( std::shared_ptr< FT > file)
protectedpure virtual

◆ WriteFiles()

template<typename FT >
G4bool G4TFileManager< FT >::WriteFiles ( )

◆ WriteTFile()

template<typename FT >
G4bool G4TFileManager< FT >::WriteTFile ( const G4String & fileName)

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