1 #ifndef __JLANG__JOBJECTSTREAMIO__
2 #define __JLANG__JOBJECTSTREAMIO__
14 namespace JPP {
using namespace JLANG; }
30 void load(
const char* file_name)
32 JLANG::load<std::ifstream>(file_name,
static_cast<T&
>(*
this));
41 void store(
const char* file_name)
const
43 JLANG::store<std::ofstream>(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 language specific functionality.
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 an ASCII file,...
void store(const char *file_name) const
Store to output file.
void load(const char *file_name)
Load from input file.