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 341 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 ROOT writer.

Parameters
writerROOT writer
objectobject
Returns
ROOT writer

Definition at line 351 of file JRootStreamer.hh.

352  {
353  return writer.putObject(object);
354  }
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 365 of file JRootStreamer.hh.

366  {
367  return writer.put(key, value);
368  }
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: