Auxiliary class for printing objects in ASCII format using JRootWriter.  
 More...
#include <JRootPrinter.hh>
 | 
| static JEquationParameters &  | getEquationParameters () | 
|   | Get equation parameters.  More...
  | 
|   | 
| static void  | setEquationParameters (const JEquationParameters &equation) | 
|   | Set equation parameters.  More...
  | 
|   | 
| static void  | print (JRootWriter &writer, const JRootWritableClass &cls) | 
|   | Write class contents to output.  More...
  | 
|   | 
| template<class T >  | 
| static void  | print (std::ostream &out, const T &object, const std::string &key, const JEquationParameters ¶meters, const JRootDictionary_t &dictionary=JRootDictionary::getInstance()) | 
|   | Write part of object to output using ROOT dictionary.  More...
  | 
|   | 
| template<class T >  | 
| static void  | print (std::ostream &out, const T &object, const JEquationParameters ¶meters, const JRootDictionary_t &dictionary=JRootDictionary::getInstance()) | 
|   | Write object to output using ROOT dictionary.  More...
  | 
|   | 
| template<class T >  | 
| static void  | print (std::ostream &out, const T &object, const std::string &key, const JRootDictionary_t &dictionary=JRootDictionary::getInstance()) | 
|   | Write part of object to output using ROOT dictionary.  More...
  | 
|   | 
| template<class T >  | 
| static void  | print (std::ostream &out, const T &object, const JRootDictionary_t &dictionary=JRootDictionary::getInstance()) | 
|   | Write object to output using ROOT dictionary.  More...
  | 
|   | 
Auxiliary class for printing objects in ASCII format using JRootWriter. 
Definition at line 30 of file JRootPrinter.hh.
 
Get equation parameters. 
- Returns
 - equation parameters 
 
Definition at line 36 of file JRootPrinter.hh.
   38       static JEquationParameters equation(
"=", 
"\n", 
".", 
"");
 
 
 
 
Set equation parameters. 
- Parameters
 - 
  
    | equation | equation parameters  | 
  
   
Definition at line 49 of file JRootPrinter.hh.
static JEquationParameters & getEquationParameters()
Get equation parameters. 
 
 
 
 
Write class contents to output. 
- Parameters
 - 
  
    | writer | ROOT writer  | 
    | cls | ROOT class  | 
  
   
Definition at line 61 of file JRootPrinter.hh.
const JRootDictionary_t & getDictionary() const 
Get dictictionary. 
 
const char * getTypename() const 
Get type name. 
 
JRootWriter & putObject(const T &object)
Write object. 
 
bool is_valid() const 
Check validity of this addressable class. 
 
JRootWriter & put(const T &object)
Write object according equation format. 
 
 
 
 
Write part of object to output using ROOT dictionary. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | object  | 
    | key | data member name, optionally separated by division character  | 
    | parameters | equation parameters  | 
    | dictionary | dictionary  | 
  
   
Definition at line 82 of file JRootPrinter.hh.
   93       for (string::size_type il = 0, ir = 0; ir != string::npos && cls.is_valid(); il = ir + 1) {
 
   94         ir  = key.substr(il).find(
parameters.getDefaultDivision());
 
   95         cls = cls.find(key.substr(il, ir - il).c_str());
 
  106         THROW(JParseError, 
"Invalid key " << key);
 
Implementation for ASCII output of objects with ROOT dictionary. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
static void print(JRootWriter &writer, const JRootWritableClass &cls)
Write class contents to output. 
 
ROOT class for writing object. 
 
 
 
 
Write object to output using ROOT dictionary. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | object  | 
    | parameters | equation parameters  | 
    | dictionary | dictionary  | 
  
   
Definition at line 120 of file JRootPrinter.hh.
Implementation for ASCII output of objects with ROOT dictionary. 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
static void print(JRootWriter &writer, const JRootWritableClass &cls)
Write class contents to output. 
 
ROOT class for writing object. 
 
 
 
 
Write part of object to output using ROOT dictionary. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | object  | 
    | key | data member name, optionally separated by division character '.'  | 
    | dictionary | dictionary  | 
  
   
Definition at line 141 of file JRootPrinter.hh.
static JEquationParameters & getEquationParameters()
Get equation parameters. 
 
static void print(JRootWriter &writer, const JRootWritableClass &cls)
Write class contents to output. 
 
 
 
 
Write object to output using ROOT dictionary. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | object  | 
    | dictionary | dictionary  | 
  
   
Definition at line 158 of file JRootPrinter.hh.
static JEquationParameters & getEquationParameters()
Get equation parameters. 
 
static void print(JRootWriter &writer, const JRootWritableClass &cls)
Write class contents to output. 
 
 
 
 
The documentation for this struct was generated from the following file: