1 #ifndef __JROOT__JSONOBJECTOUTPUT__ 
    2 #define __JROOT__JSONOBJECTOUTPUT__ 
    7 #include "TBufferJSON.h" 
   20 namespace JPP { 
using namespace JROOT; }
 
   43                      const std::string& sep = 
"\n") :
 
   55     virtual bool put(
const T& 
object)
 override  
   60         return (
bool) (
__out << (
const char*) TBufferJSON::ConvertToJSON(&
object) << 
__sep);
 
  101   template<
class JHead_t, 
class JTail_t>
 
  121                      const std::string& sep = 
"") :
 
  143   template<
class JHead_t>
 
  159                      const std::string& sep = 
"") :
 
JSonObjectOutput(std::ostream &out, const std::string &sep="")
Constructor. 
 
JSonObjectOutput(std::ostream &out, const std::string &sep="")
Constructor. 
 
const std::string & getSeparator() const 
Get token separator. 
 
Template implementation of stream output for single data type. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
Template class test for polymorphism. 
 
Auxiliary class for no type definition. 
 
void setSeparator(const std::string &sep)
Set token separator. 
 
JSonObjectOutput(std::ostream &out, const std::string &sep="\n")
Constructor. 
 
void setSeparator(const std::string &sep)
Set token separator. 
 
virtual bool put(const T &object) override
Object output. 
 
Template interface of object output for single data type.