1 #ifndef __JIO__JOBJECTBINARYIO__
2 #define __JIO__JOBJECTBINARYIO__
13 namespace JPP {
using namespace JIO; }
29 void load(
const char* file_name)
31 JLANG::load<JFileStreamReader>(file_name,
static_cast<T&
>(*
this));
40 void store(
const char* file_name)
const
42 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.