#include <JSONFormatter.h>
Definition at line 15 of file JSONFormatter.h.
evd::JSONFormatter::JSONFormatter |
( |
std::ostream & |
os | ) |
|
|
inline |
Definition at line 20 of file JSONFormatter.h.
22 static_assert(std::is_arithmetic_v<T> ||
24 std::is_same_v<T, std::string>);
process_name opflash particleana ie x
Definition at line 29 of file JSONFormatter.h.
36 else if(isinf(
x))
fStream <<
"1e999";
process_name opflash particleana ie x
Definition at line 41 of file JSONFormatter.h.
41 {
return *
this << double(
x);}
process_name opflash particleana ie x
template<class T >
JSONFormatter& evd::JSONFormatter::operator<< |
( |
const std::vector< T > & |
v | ) |
|
|
inline |
Definition at line 55 of file JSONFormatter.h.
60 if(&x != &v.back()) (*
this) <<
", ";
process_name opflash particleana ie x
template<class T , class U >
JSONFormatter& evd::JSONFormatter::operator<< |
( |
const std::map< T, U > & |
m | ) |
|
|
inline |
Definition at line 67 of file JSONFormatter.h.
72 (*this) <<
" " << it.first <<
": " << it.second;
74 if(n != m.size()) (*
this) <<
",\n";
template<class T >
JSONFormatter& evd::JSONFormatter::operator<< |
( |
const std::map< std::string, T > & |
m | ) |
|
|
inline |
Definition at line 81 of file JSONFormatter.h.
86 (*this) <<
" \"" << it.first <<
"\": " << it.second;
88 if(n != m.size()) (*
this) <<
",\n";
template<class T >
JSONFormatter& evd::JSONFormatter::operator<< |
( |
const std::map< int, T > & |
m | ) |
|
|
inline |
Definition at line 95 of file JSONFormatter.h.
100 (*this) <<
" \"" << it.first <<
"\": " << it.second;
102 if(n != m.size()) (*
this) <<
",\n";
JSONFormatter& evd::JSONFormatter::operator<< |
( |
const TVector3 & |
v | ) |
|
|
inline |
std::ostream& evd::JSONFormatter::fStream |
|
protected |
The documentation for this class was generated from the following file: