31#ifndef G4GenericFileManager_h
32#define G4GenericFileManager_h 1
81 const std::vector<G4HnInformation*>& hnVector);
92 std::shared_ptr<G4VFileManager> GetFileManager(
G4AnalysisOutput output)
const;
93 std::shared_ptr<G4VFileManager> GetFileManager(
const G4String& fileName);
96 static const G4String fgkDefaultFileType;
100 std::shared_ptr<G4VFileManager> fDefaultFileManager;
101 std::vector<std::shared_ptr<G4VFileManager>> fFileManagers;
103 std::shared_ptr<G4CsvFileManager> fCsvFileManager;
105 std::shared_ptr<G4Hdf5FileManager> fHdf5FileManager;
107 std::shared_ptr<G4RootFileManager> fRootFileManager;
108 std::shared_ptr<G4XmlFileManager> fXmlFileManager;
112#include "G4GenericFileManager.icc"
virtual G4bool SetIsEmpty(const G4String &fileName, G4bool isEmpty) final
virtual ~G4GenericFileManager()
G4bool WriteTExtra(const G4String &fileName, T *ht, const G4String &htName)
virtual G4bool WriteFiles() final
virtual G4bool CreateFile(const G4String &fileName) final
std::shared_ptr< G4VNtupleFileManager > CreateNtupleFileManager(G4AnalysisOutput output)
G4bool WriteT(const std::vector< T * > &htVector, const std::vector< G4HnInformation * > &hnVector)
virtual G4bool OpenFiles() final
virtual G4bool CloseFile(const G4String &fileName) final
virtual G4String GetFileType() const final
virtual G4bool OpenFile(const G4String &fileName) final
void SetDefaultFileType(const G4String &value)
virtual G4bool WriteFile(const G4String &fileName) final
G4String GetDefaultFileType() const
virtual G4bool CloseFiles() final
virtual G4bool DeleteEmptyFiles() final