Electroneum
portable_storage_val_converters.h File Reference
#include <time.h>
#include <boost/regex.hpp>
#include "misc_language.h"
#include "portable_storage_base.h"
#include "warnings.h"
Include dependency graph for portable_storage_val_converters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::serialization::convert_to_signed_unsigned< from_type, to_type, bool, bool >
 
struct  epee::serialization::convert_to_signed_unsigned< from_type, to_type, true, true >
 
struct  epee::serialization::convert_to_signed_unsigned< from_type, to_type, true, false >
 
struct  epee::serialization::convert_to_signed_unsigned< from_type, to_type, false, true >
 
struct  epee::serialization::convert_to_signed_unsigned< from_type, to_type, false, false >
 
struct  epee::serialization::convert_to_integral< from_type, to_type, bool >
 
struct  epee::serialization::convert_to_integral< from_type, to_type, true >
 
struct  epee::serialization::convert_to_integral< from_type, to_type, false >
 
struct  epee::serialization::convert_to_integral< std::string, uint64_t, false >
 
struct  epee::serialization::is_convertable< from_type, to_type >
 
struct  epee::serialization::convert_to_same< from_type, to_type, bool >
 
struct  epee::serialization::convert_to_same< from_type, to_type, true >
 
struct  epee::serialization::convert_to_same< from_type, to_type, false >
 

Namespaces

 epee
 
 epee::serialization
 

Macros

#define ASSERT_AND_THROW_WRONG_CONVERSION()   ASSERT_MES_AND_THROW("WRONG DATA CONVERSION: from type=" << typeid(from).name() << " to type " << typeid(to).name())
 

Functions

template<typename from_type , typename to_type >
void epee::serialization::convert_int_to_uint (const from_type &from, to_type &to)
 
template<typename from_type , typename to_type >
void epee::serialization::convert_int_to_int (const from_type &from, to_type &to)
 
template<typename from_type , typename to_type >
void epee::serialization::convert_uint_to_any_int (const from_type &from, to_type &to)
 
template<class from_type , class to_type >
void epee::serialization::convert_t (const from_type &from, to_type &to)
 

Macro Definition Documentation

◆ ASSERT_AND_THROW_WRONG_CONVERSION

#define ASSERT_AND_THROW_WRONG_CONVERSION ( )    ASSERT_MES_AND_THROW("WRONG DATA CONVERSION: from type=" << typeid(from).name() << " to type " << typeid(to).name())

Definition at line 42 of file portable_storage_val_converters.h.