Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::RootJsonDumper Class Reference

Write an ImportData object to JSON output. More...

#include <RootJsonDumper.hh>

Public Member Functions

 RootJsonDumper (std::ostream *os)
 Construct with an output stream.
 
void operator() (ImportData const &data)
 Write JSON-formatted data to the stream.
 

Detailed Description

Write an ImportData object to JSON output.

RootJsonDumper dump(&std::cout);
dump(my_import_data);
RootJsonDumper(std::ostream *os)
Construct with an output stream.
Definition: RootJsonDumper.cc:26

The documentation for this class was generated from the following files: