Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4TFileManager.hh>
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 |
Definition at line 39 of file G4TFileManager.hh.
|
explicit |
|
delete |
|
virtual |
void G4TFileManager< FT >::ClearData | ( | ) |
Referenced by G4VTFileManager< FT >::Clear().
|
protectedpure virtual |
G4bool G4TFileManager< FT >::CloseFiles | ( | ) |
Referenced by G4VTFileManager< FT >::CloseFiles().
G4bool G4TFileManager< FT >::CloseTFile | ( | const G4String & | fileName | ) |
Referenced by G4VTFileManager< FT >::CloseFile().
|
protectedpure virtual |
Implemented in G4CsvFileManager, G4Hdf5FileManager, G4RootFileManager, and G4XmlFileManager.
std::shared_ptr< FT > G4TFileManager< FT >::CreateTFile | ( | const G4String & | fileName | ) |
G4bool G4TFileManager< FT >::DeleteEmptyFiles | ( | ) |
Referenced by G4VTFileManager< FT >::DeleteEmptyFiles().
std::shared_ptr< FT > G4TFileManager< FT >::GetTFile | ( | const G4String & | fileName, |
G4bool | warn = true |
||
) | const |
G4bool G4TFileManager< FT >::OpenFiles | ( | ) |
Referenced by G4VTFileManager< FT >::OpenFiles().
G4bool G4TFileManager< FT >::SetIsEmpty | ( | const G4String & | fileName, |
G4bool | isEmpty | ||
) |
Referenced by G4VTFileManager< FT >::SetIsEmpty().
|
protectedpure virtual |
G4bool G4TFileManager< FT >::WriteFiles | ( | ) |
Referenced by G4VTFileManager< FT >::WriteFiles().
G4bool G4TFileManager< FT >::WriteTFile | ( | const G4String & | fileName | ) |
Referenced by G4VTFileManager< FT >::WriteFile().