Jpp
Namespaces | Functions
JObjectIO.hh File Reference
#include <fstream>
#include "JLang/JType.hh"
#include "JLang/JException.hh"

Go to the source code of this file.

Namespaces

 JLANG
 Auxiliary classes and methods for language specific functionality.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class JReader_t >
bool JLANG::getError (const JReader_t &reader)
 Get error status of reader. More...
 
bool JLANG::getError (const std::ifstream &reader)
 Get error status of reader. More...
 
template<class JReader_t , class T >
void JLANG::load (const char *file_name, T &object)
 Load object from input file. More...
 
template<class JWriter_t , class T >
void JLANG::store (const char *file_name, const T &object)
 Store object to output file. More...
 
template<class JReader_t , class T >
void JLANG::load (const char *file_name, T &object, JType< JReader_t > type)
 Load object from input file. More...
 
template<class JWriter_t , class T >
void JLANG::store (const char *file_name, const T &object, JType< JWriter_t > type)
 Store object to output file. More...
 

Detailed Description

General methods for loading and storing a single object from and to a file, respectively.

Author
mdejong

Definition in file JObjectIO.hh.