Go to the documentation of this file. 1 #ifndef __JSUPPORT__JFILESCANNER__
2 #define __JSUPPORT__JFILESCANNER__
64 virtual void open(
const char* file_name)
71 this->
reset(
new JRootFileReader<T>());
82 this->
get()->open(file_name);
JFileScanner(const char *file_name)
Constructor.
Object reading from file.
virtual JAccessibleObjectIterator< T > * get() const
Get pointer.
static const char *const MONTE_CARLO_FILE_FORMAT
ASCII file name extension.
JAccessibleObjectReader< T >::helper_type helper_type
static const char *const DAQ_FILE_FORMAT
DAQ binary file name extension.
static const char *const ROOT_FILE_FORMAT
ROOT file name extension.
DAQ object reading from binary file (i.e.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::string getFilenameExtension(const std::string &file_name)
Get file name extension, i.e.
Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i....
static void Throw(const bool option)
Enable/disable throw option.
virtual void open(const char *file_name)
Open file.
JFileScanner()
Default constructor.
Support classes and methods for experiment specific I/O.
virtual void reset()
Reset pointer.
static const char *const GZIP_FILE_FORMAT
gzip file name extension
Auxiliary class for object reading with named access.
Template definition of Monte Carlo object reader for ASCII formatted file (i.e.
std::string getProtocol(const std::string &file_name)
Get protocol, i.e.
bool is_valid() const
Check validity of pointer.