1#ifndef __JEEP__JCONTAINER__
2#define __JEEP__JCONTAINER__
24namespace JPP {
using namespace JEEP; }
38 template<
class JContainer_t>
59 if (getFileStatus(is.str().c_str())) {
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
void load()
Load data from file with name corresponding to current contents.
General puprpose classes and methods.
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.
std::istream & readObject(std::istream &in, T &object)
Stream input of object.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary wrapper for I/O of container with optional comment (see JComment).
friend std::istream & operator>>(std::istream &in, JContainer &container)
Read container from input.
friend std::ostream & operator<<(std::ostream &out, const JContainer &container)
Write container to output.
JContainer_t container_type
Auxiliary base class for storing and loading a single object to and from an ASCII file,...