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));
void load(const char *file_name)
Load from input file.
void store(const char *file_name) const
Store to output file.
General methods for loading and storing a single object from and to a file, respectively.
Auxiliary base class for storing and loading a single object to and from an ASCII file...