Jpp  master_rocky
the software that should make you happy
Classes | Namespaces | Functions
JStreamToolkit.hh File Reference
#include <istream>
#include <ostream>
#include <iterator>
#include "JLang/JSTDTypes.hh"

Go to the source code of this file.

Classes

struct  JEEP::JEEPZ
 Auxiliary data structure for streaming of STL containers. More...
 
struct  JEEP::JEEPZ::JStream
 Auxiliary class for format STL containers. More...
 

Namespaces

 JEEP
 General puprpose classes and methods.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class T >
std::istream & JEEP::readObject (std::istream &in, T &object)
 Stream input of object. More...
 
template<class T >
std::ostream & JEEP::writeObject (std::ostream &out, const T &object)
 Stream output of object. More...
 
template<class T >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const T &object, const char postfix)
 Stream output of object. More...
 
template<class JFirst_t , class JSecond_t >
std::istream & JEEP::readObject (std::istream &in, std::pair< JFirst_t, JSecond_t > &object)
 Template specialisation of method readObject() for std::pair. More...
 
template<class JFirst_t , class JSecond_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::pair< JFirst_t, JSecond_t > &object)
 Template specialisation of method writeObject() for std::pair. More...
 
template<class JFirst_t , class JSecond_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::pair< JFirst_t, JSecond_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::pair. More...
 
template<class JElement_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::vector< JElement_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::vector. More...
 
template<class JElement_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::vector< JElement_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::vector. More...
 
template<class JElement_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::vector< JElement_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::vector. More...
 
template<class JElement_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::list< JElement_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::list. More...
 
template<class JElement_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::list< JElement_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::list. More...
 
template<class JElement_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::list< JElement_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::list. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::set< JElement_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::set. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::set< JElement_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::set. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::set< JElement_t, JComparator_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::set. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::multiset< JElement_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::multiset. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::multiset< JElement_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::multiset. More...
 
template<class JElement_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::multiset< JElement_t, JComparator_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::multiset. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::map. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::map. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::map. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::istream & JEEP::readObject (std::istream &in, std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method readObject() for std::multimap. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
 Template specialisation of method writeObject() for std::multimap. More...
 
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t >
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object, const char postfix)
 Template specialisation of method writeObject() for std::multimap. More...
 
template<class JElement_t , std::size_t N>
std::istream & JEEP::readObject (std::istream &in, std::array< JElement_t, N > &object)
 Template specialisation of method readObject() for std::array. More...
 
template<class JElement_t , std::size_t N>
std::ostream & JEEP::writeObject (std::ostream &out, const std::array< JElement_t, N > &object)
 Template specialisation of method writeObject() for std::array. More...
 
template<class JElement_t , std::size_t N>
std::ostream & JEEP::writeObject (std::ostream &out, const char *prefix, const std::array< JElement_t, N > &object, const char postfix)
 Template specialisation of method writeObject() for std::array. More...
 
template<class T >
std::ostream & JEEP::writeArray (std::ostream &out, const char *left, const char *right, const char *sep, T __begin, T __end)
 Write array of objects. More...