#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>);
Definition at line 55 of file JSONFormatter.h.
60 if(&x != &v.back()) (*
this) <<
", ";
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";
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: