#include <JSON_IO.h>
|
| | JSONReader (const std::string &fileName) |
| virtual | ~JSONReader (void)=default |
| bool | push (const std::string &s) |
| void | pop (void) |
| bool | nextElement (const std::string &s) |
| template<typename U> |
| void | readDefault (const std::string &s, U &output) |
| template<typename U> |
| void | readDefault (const std::string &s, std::complex< U > &output) |
| template<typename U> |
| void | readDefault (const std::string &s, std::vector< U > &output) |
| template<typename U, typename P> |
| void | readDefault (const std::string &s, std::pair< U, P > &output) |
| template<> |
| void | readDefault (const std::string &s, std::string &output) |
| template<> |
| void | readDefault (const std::string &s, std::string &output) |
| std::enable_if< std::is_base_of< Serializable, U >::value, void >::type | read (const std::string &s, U &output) |
| std::enable_if< EigenIO::is_tensor_fixed< ETensor >::value, void >::type | Reshape (ETensor &t, const std::array< typename ETensor::Index, ETensor::NumDimensions > &dims) |
| std::enable_if< EigenIO::is_scalar< S >::value, void >::type | copyScalars (S &Dest, const S *&pSource) |
Definition at line 88 of file JSON_IO.h.
◆ JSONReader()
| JSONReader::JSONReader |
( |
const std::string & | fileName | ) |
|
◆ ~JSONReader()
| virtual Grid::JSONReader::~JSONReader |
( |
void | | ) |
|
|
virtualdefault |
◆ push()
| bool JSONReader::push |
( |
const std::string & | s | ) |
|
◆ pop()
| void JSONReader::pop |
( |
void | | ) |
|
◆ nextElement()
| bool JSONReader::nextElement |
( |
const std::string & | s | ) |
|
◆ readDefault() [1/6]
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
U & | output ) |
◆ readDefault() [2/6]
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
std::complex< U > & | output ) |
◆ readDefault() [3/6]
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
std::vector< U > & | output ) |
◆ readDefault() [4/6]
template<typename
U, typename P>
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
std::pair< U, P > & | output ) |
◆ readDefault() [5/6]
template<>
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
std::string & | output ) |
◆ readDefault() [6/6]
template<>
| void Grid::JSONReader::readDefault |
( |
const std::string & | s, |
|
|
std::string & | output ) |
◆ read()
◆ Reshape()
◆ copyScalars()
◆ fromString()
◆ jobject_
| json Grid::JSONReader::jobject_ |
|
private |
◆ jcur_
| json Grid::JSONReader::jcur_ |
|
private |
◆ jold_
| std::vector<json> Grid::JSONReader::jold_ |
|
private |
◆ fileName_
| std::string Grid::JSONReader::fileName_ |
|
private |
◆ do_pop
| std::vector<bool> Grid::JSONReader::do_pop |
|
private |
◆ it_
| json::iterator Grid::JSONReader::it_ |
|
private |
◆ it_end_
| json::iterator Grid::JSONReader::it_end_ |
|
private |
◆ upcast
The documentation for this class was generated from the following files: