#include <JSON_IO.h>
|
| | JSONWriter (const std::string &fileName) |
| virtual | ~JSONWriter (void) |
| void | push (const std::string &s) |
| void | pop (void) |
| template<typename U> |
| void | writeDefault (const std::string &s, const U &x) |
| template<typename U> |
| void | writeDefault (const std::string &s, const std::complex< U > &x) |
| template<typename U> |
| void | writeDefault (const std::string &s, const std::vector< U > &x) |
| template<typename U, typename P> |
| void | writeDefault (const std::string &s, const std::pair< U, P > &x) |
| template<std::size_t N> |
| void | writeDefault (const std::string &s, const char(&x)[N]) |
| void | writeDefault (const std::string &s, const std::string &x) |
| std::enable_if< std::is_base_of< Serializable, U >::value >::type | write (const std::string &s, const U &output) |
| std::enable_if< EigenIO::is_scalar< S >::value, void >::type | copyScalars (S *&pCopy, const S &Source) |
| void | scientificFormat (const bool set) |
| bool | isScientific (void) |
| void | setPrecision (const unsigned int prec) |
| unsigned int | getPrecision (void) |
Definition at line 47 of file JSON_IO.h.
◆ JSONWriter()
| JSONWriter::JSONWriter |
( |
const std::string & | fileName | ) |
|
◆ ~JSONWriter()
| JSONWriter::~JSONWriter |
( |
void | | ) |
|
|
virtual |
◆ push()
| void JSONWriter::push |
( |
const std::string & | s | ) |
|
◆ pop()
| void JSONWriter::pop |
( |
void | | ) |
|
◆ writeDefault() [1/6]
| void Grid::JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const U & | x ) |
◆ writeDefault() [2/6]
| void Grid::JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const std::complex< U > & | x ) |
◆ writeDefault() [3/6]
| void Grid::JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const std::vector< U > & | x ) |
◆ writeDefault() [4/6]
template<typename
U, typename P>
| void Grid::JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const std::pair< U, P > & | x ) |
◆ writeDefault() [5/6]
template<std::size_t N>
| void Grid::JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const char(&) | x[N] ) |
◆ writeDefault() [6/6]
| void JSONWriter::writeDefault |
( |
const std::string & | s, |
|
|
const std::string & | x ) |
◆ delete_comma()
| void JSONWriter::delete_comma |
( |
| ) |
|
|
private |
◆ write()
◆ copyScalars()
◆ scientificFormat()
◆ isScientific()
◆ setPrecision()
◆ getPrecision()
◆ fileName_
| std::string Grid::JSONWriter::fileName_ |
|
private |
◆ ss_
| std::ostringstream Grid::JSONWriter::ss_ |
|
private |
Definition at line 85 of file JSON_IO.h.
Referenced by delete_comma(), JSONWriter(), pop(), push(), writeDefault(), writeDefault(), writeDefault(), writeDefault(), writeDefault(), writeDefault(), and ~JSONWriter().
◆ upcast
◆ scientific_
◆ prec_
The documentation for this class was generated from the following files: