Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
serialization.hpp File Reference
#include <istream>
#include <map>
#include <ostream>
#include <set>
#include <vector>
#include <libff/common/serialization.tcc>
Include dependency graph for serialization.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  libff
 

Macros

#define OUTPUT_NEWLINE   "\n"
 
#define OUTPUT_SEPARATOR   " "
 

Functions

void libff::consume_newline (std::istream &in)
 
void libff::consume_OUTPUT_NEWLINE (std::istream &in)
 
void libff::consume_OUTPUT_SEPARATOR (std::istream &in)
 
void libff::output_bool (std::ostream &out, const bool b)
 
void libff::input_bool (std::istream &in, bool &b)
 
void libff::output_bool_vector (std::ostream &out, const std::vector< bool > &v)
 
void libff::input_bool_vector (std::istream &in, std::vector< bool > &v)
 
template<typename T >
T libff::reserialize (const T &obj)
 
template<typename T >
std::ostream & libff::operator<< (std::ostream &out, const std::vector< T > &v)
 
template<typename T >
std::istream & libff::operator>> (std::ostream &out, std::vector< T > &v)
 
template<typename T1 , typename T2 >
std::ostream & libff::operator<< (std::ostream &out, const std::map< T1, T2 > &m)
 
template<typename T1 , typename T2 >
std::istream & libff::operator>> (std::istream &in, std::map< T1, T2 > &m)
 
template<typename T >
std::ostream & libff::operator<< (std::ostream &out, const std::set< T > &s)
 
template<typename T >
std::istream & libff::operator>> (std::istream &in, std::set< T > &s)
 

Detailed Description

Declaration of serialization routines and constants.

Author
This file is part of libff, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file serialization.hpp.

Macro Definition Documentation

◆ OUTPUT_NEWLINE

#define OUTPUT_NEWLINE   "\n"

Definition at line 67 of file serialization.hpp.

◆ OUTPUT_SEPARATOR

#define OUTPUT_SEPARATOR   " "

Definition at line 68 of file serialization.hpp.