Electroneum
Loading...
Searching...
No Matches
soci::type_conversion< uint64_t > Struct Reference

#include <soci_helper.h>

Public Types

typedef long long base_type

Static Public Member Functions

static void from_base (base_type a_, indicator ind, uint64_t &mi)
static void to_base (const uint64_t &mi, base_type &i, indicator &ind)

Detailed Description

Definition at line 37 of file soci_helper.h.

Member Typedef Documentation

◆ base_type

typedef long long soci::type_conversion< uint64_t >::base_type

Definition at line 39 of file soci_helper.h.

Member Function Documentation

◆ from_base()

void soci::type_conversion< uint64_t >::from_base ( base_type a_,
indicator ind,
uint64_t & mi )
inlinestatic

Definition at line 41 of file soci_helper.h.

42 {
43 if (ind == i_null)
44 {
45 mi = 0;
46 //throw soci_error("Null value not allowed for this type");
47 }
48 mi = (uint64_t)a_;
49 //mi.set(i);
50 }
unsigned __int64 uint64_t
Definition stdint.h:136

◆ to_base()

void soci::type_conversion< uint64_t >::to_base ( const uint64_t & mi,
base_type & i,
indicator & ind )
inlinestatic

Definition at line 52 of file soci_helper.h.

53 {
54 i = (base_type)mi;
55 ind = i_ok;
56 }

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/soci_helper.h