Celeritas
0.5.0-56+6b053cd
|
Pure abstract interface for writing metadata output to JSON. More...
#include <OutputInterface.hh>
Public Types | |
enum class | Category { input , result , system , internal , size_ } |
Output category (TODO: could replace with string/cstring?) | |
Public Member Functions | |
virtual Category | category () const =0 |
Category of data to write. | |
virtual std::string_view | label () const =0 |
Key for the entry inside the category. | |
virtual void | output (JsonPimpl *) const =0 |
Pure abstract interface for writing metadata output to JSON.
At the end of the program/run, the OutputRegistry will call the "output" method on all interfaces.