Jpp  15.0.1-rc.1-highqe
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
JObjectIO.hh File Reference

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

#include <string>
#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 std::string &file_name, T &object)
 Load object from input file. More...
 
template<class JWriter_t , class T >
void JLANG::store (const std::string &file_name, const T &object)
 Store object to output file. More...
 
template<class JReader_t , class T >
void JLANG::load (const std::string &file_name, T &object, JType< JReader_t > type)
 Load object from input file. More...
 
template<class JWriter_t , class T >
void JLANG::store (const std::string &file_name, const T &object, JType< JWriter_t > type)
 Store object to output file. More...
 
template<class T >
void JLANG::load (const std::string &file_name, T &object)
 Load object from input file. More...
 
template<class T >
void JLANG::store (const std::string &file_name, const T &object)
 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.