![]() |
Feathercoin
0.5.0
P2P Digital Currency
|
C++ wrapper for BIGNUM (OpenSSL bignum) More...
#include <bignum.h>
Public Member Functions | |
CBigNum () | |
CBigNum (const CBigNum &b) | |
CBigNum & | operator= (const CBigNum &b) |
~CBigNum () | |
CBigNum (signed char n) | |
CBigNum (short n) | |
CBigNum (int n) | |
CBigNum (long n) | |
CBigNum (int64 n) | |
CBigNum (unsigned char n) | |
CBigNum (unsigned short n) | |
CBigNum (unsigned int n) | |
CBigNum (unsigned long n) | |
CBigNum (uint64 n) | |
CBigNum (uint256 n) | |
CBigNum (const std::vector< unsigned char > &vch) | |
void | setulong (unsigned long n) |
unsigned long | getulong () const |
unsigned int | getuint () const |
int | getint () const |
void | setint64 (int64 sn) |
void | setuint64 (uint64 n) |
void | setuint256 (uint256 n) |
uint256 | getuint256 () const |
void | setvch (const std::vector< unsigned char > &vch) |
std::vector< unsigned char > | getvch () const |
CBigNum & | SetCompact (unsigned int nCompact) |
unsigned int | GetCompact () const |
void | SetHex (const std::string &str) |
std::string | ToString (int nBase=10) const |
std::string | GetHex () const |
unsigned int | GetSerializeSize (int nType=0, int nVersion=PROTOCOL_VERSION) const |
template<typename Stream > | |
void | Serialize (Stream &s, int nType=0, int nVersion=PROTOCOL_VERSION) const |
template<typename Stream > | |
void | Unserialize (Stream &s, int nType=0, int nVersion=PROTOCOL_VERSION) |
bool | operator! () const |
CBigNum & | operator+= (const CBigNum &b) |
CBigNum & | operator-= (const CBigNum &b) |
CBigNum & | operator*= (const CBigNum &b) |
CBigNum & | operator/= (const CBigNum &b) |
CBigNum & | operator%= (const CBigNum &b) |
CBigNum & | operator<<= (unsigned int shift) |
CBigNum & | operator>>= (unsigned int shift) |
CBigNum & | operator++ () |
const CBigNum | operator++ (int) |
CBigNum & | operator-- () |
const CBigNum | operator-- (int) |
Friends | |
const CBigNum | operator- (const CBigNum &a, const CBigNum &b) |
const CBigNum | operator/ (const CBigNum &a, const CBigNum &b) |
const CBigNum | operator% (const CBigNum &a, const CBigNum &b) |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |