Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
JROOT::JRootWriter::JDefaultHelper< T > Struct Template Reference

Default helper class for formatting. More...

Inheritance diagram for JROOT::JRootWriter::JDefaultHelper< T >:
JROOT::JRootWriter::JHelper< T >

Static Public Member Functions

static JRootWriterputObject (JRootWriter &writer, const T &object)
 Write object. More...
 
static JRootWriterput (JRootWriter &writer, const std::string &key, const T &value)
 Write given key and value according equation format. More...
 

Detailed Description

template<class T>
struct JROOT::JRootWriter::JDefaultHelper< T >

Default helper class for formatting.

Definition at line 338 of file JRootStreamer.hh.

Member Function Documentation

template<class T>
static JRootWriter& JROOT::JRootWriter::JDefaultHelper< T >::putObject ( JRootWriter writer,
const T &  object 
)
inlinestatic

Write object.

This method transfers the writing of the given object to the given JRootWriter.

Parameters
writerROOT writer
objectobject
Returns
ROOT writer

Definition at line 348 of file JRootStreamer.hh.

349  {
350  return writer.putObject(object);
351  }
static JRootWriter & putObject(JRootWriter &writer, const T &object)
Write object.
template<class T>
static JRootWriter& JROOT::JRootWriter::JDefaultHelper< T >::put ( JRootWriter writer,
const std::string &  key,
const T &  value 
)
inlinestatic

Write given key and value according equation format.

Parameters
writerROOT writer
keykey
valuevalue
Returns
ROOT writer

Definition at line 362 of file JRootStreamer.hh.

363  {
364  return writer.put(key, value);
365  }
static JRootWriter & put(JRootWriter &writer, const std::string &key, const T &value)
Write given key and value according equation format.

The documentation for this struct was generated from the following file: