Electroneum
portable_storage_template_helper.h File Reference
#include <string>
#include "parserse_base_utils.h"
#include "portable_storage.h"
#include "file_io_utils.h"
Include dependency graph for portable_storage_template_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 epee
 
 epee::serialization
 

Functions

template<class t_struct >
bool epee::serialization::load_t_from_json (t_struct &out, const std::string &json_buff)
 
template<class t_struct >
bool epee::serialization::load_t_from_json_file (t_struct &out, const std::string &json_file)
 
template<class t_struct >
bool epee::serialization::store_t_to_json (t_struct &str_in, std::string &json_buff, size_t indent=0, bool insert_newlines=true)
 
template<class t_struct >
std::string epee::serialization::store_t_to_json (t_struct &str_in, size_t indent=0, bool insert_newlines=true)
 
template<class t_struct >
bool epee::serialization::store_t_to_json_file (t_struct &str_in, const std::string &fpath)
 
template<class t_struct >
bool epee::serialization::load_t_from_binary (t_struct &out, const epee::span< const uint8_t > binary_buff)
 
template<class t_struct >
bool epee::serialization::load_t_from_binary (t_struct &out, const std::string &binary_buff)
 
template<class t_struct >
bool epee::serialization::load_t_from_binary_file (t_struct &out, const std::string &binary_file)
 
template<class t_struct >
bool epee::serialization::store_t_to_binary (t_struct &str_in, std::string &binary_buff, size_t indent=0)
 
template<class t_struct >
std::string epee::serialization::store_t_to_binary (t_struct &str_in, size_t indent=0)