BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | Friends | List of all members
fc::unsigned_int Struct Reference

#include <varint.hpp>

Public Member Functions

 unsigned_int (uint64_t v=0)
 
template<typename T >
 unsigned_int (T v)
 
template<typename T >
 operator T () const
 
unsigned_intoperator= (uint64_t v)
 

Public Attributes

uint64_t value
 

Friends

bool operator== (const unsigned_int &i, const uint64_t &v)
 
bool operator== (const uint64_t &i, const unsigned_int &v)
 
bool operator== (const unsigned_int &i, const unsigned_int &v)
 
bool operator!= (const unsigned_int &i, const uint64_t &v)
 
bool operator!= (const uint64_t &i, const unsigned_int &v)
 
bool operator!= (const unsigned_int &i, const unsigned_int &v)
 
bool operator< (const unsigned_int &i, const uint64_t &v)
 
bool operator< (const uint64_t &i, const unsigned_int &v)
 
bool operator< (const unsigned_int &i, const unsigned_int &v)
 
bool operator<= (const unsigned_int &i, const uint64_t &v)
 
bool operator<= (const uint64_t &i, const unsigned_int &v)
 
bool operator<= (const unsigned_int &i, const unsigned_int &v)
 
bool operator> (const unsigned_int &i, const uint64_t &v)
 
bool operator> (const uint64_t &i, const unsigned_int &v)
 
bool operator> (const unsigned_int &i, const unsigned_int &v)
 
bool operator>= (const unsigned_int &i, const uint64_t &v)
 
bool operator>= (const uint64_t &i, const unsigned_int &v)
 
bool operator>= (const unsigned_int &i, const unsigned_int &v)
 

Detailed Description

Definition at line 6 of file varint.hpp.

Constructor & Destructor Documentation

◆ unsigned_int() [1/2]

fc::unsigned_int::unsigned_int ( uint64_t  v = 0)
inline

Definition at line 7 of file varint.hpp.

◆ unsigned_int() [2/2]

template<typename T >
fc::unsigned_int::unsigned_int ( v)
inline

Definition at line 10 of file varint.hpp.

Member Function Documentation

◆ operator T()

template<typename T >
fc::unsigned_int::operator T ( ) const
inline

Definition at line 13 of file varint.hpp.

◆ operator=()

unsigned_int& fc::unsigned_int::operator= ( uint64_t  v)
inline

Definition at line 15 of file varint.hpp.

Friends And Related Function Documentation

◆ operator!= [1/3]

bool operator!= ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 24 of file varint.hpp.

◆ operator!= [2/3]

bool operator!= ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 23 of file varint.hpp.

◆ operator!= [3/3]

bool operator!= ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 25 of file varint.hpp.

◆ operator< [1/3]

bool operator< ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 28 of file varint.hpp.

◆ operator< [2/3]

bool operator< ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 27 of file varint.hpp.

◆ operator< [3/3]

bool operator< ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 29 of file varint.hpp.

◆ operator<= [1/3]

bool operator<= ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 32 of file varint.hpp.

◆ operator<= [2/3]

bool operator<= ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 31 of file varint.hpp.

◆ operator<= [3/3]

bool operator<= ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 33 of file varint.hpp.

◆ operator== [1/3]

bool operator== ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 20 of file varint.hpp.

◆ operator== [2/3]

bool operator== ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 19 of file varint.hpp.

◆ operator== [3/3]

bool operator== ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 21 of file varint.hpp.

◆ operator> [1/3]

bool operator> ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 36 of file varint.hpp.

◆ operator> [2/3]

bool operator> ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 35 of file varint.hpp.

◆ operator> [3/3]

bool operator> ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 37 of file varint.hpp.

◆ operator>= [1/3]

bool operator>= ( const uint64_t &  i,
const unsigned_int v 
)
friend

Definition at line 40 of file varint.hpp.

◆ operator>= [2/3]

bool operator>= ( const unsigned_int i,
const uint64_t &  v 
)
friend

Definition at line 39 of file varint.hpp.

◆ operator>= [3/3]

bool operator>= ( const unsigned_int i,
const unsigned_int v 
)
friend

Definition at line 41 of file varint.hpp.

Member Data Documentation

◆ value

uint64_t fc::unsigned_int::value

Definition at line 17 of file varint.hpp.


The documentation for this struct was generated from the following file: