1#ifndef __JIO__JOBJECTBINARYIO__
2#define __JIO__JOBJECTBINARYIO__
15namespace JPP {
using namespace JIO; }
32 void load(
const char* file_name)
36 if (is_gzipped(file_name))
37 JLANG::load<JGZFileStreamReader>(file_name,
static_cast<T&
>(*
this));
39 JLANG::load<JFileStreamReader> (file_name,
static_cast<T&
>(*
this));
48 void store(
const char* file_name)
const
53 JLANG::store<JFileStreamWriter> (file_name,
static_cast<const T&
>(*
this));
General methods for loading and storing a single object from and to a file, respectively.
Auxiliary classes and methods for binary I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for storing and loading a single object to and from a binary file,...
void store(const char *file_name) const
Store to output file.
void load(const char *file_name)
Load from input file.