Monero
Loading...
Searching...
No Matches
portable_storage_val_converters.h File Reference
#include <boost/regex.hpp>
#include "misc_language.h"
#include "portable_storage_base.h"
#include "parserse_base_utils.h"
#include "warnings.h"
#include "misc_log_ex.h"
#include <boost/lexical_cast.hpp>
#include <boost/numeric/conversion/bounds.hpp>
#include <typeinfo>
#include <iomanip>
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, 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, 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, true >
struct  epee::serialization::convert_to_same< from_type, to_type, false >

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::serialization

Macros

#define ASSERT_AND_THROW_WRONG_CONVERSION()

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 ( )
Value:
ASSERT_MES_AND_THROW("WRONG DATA CONVERSION: from type=" << typeid(from).name() << " to type " << typeid(to).name())
const char * name
Definition options.c:30