![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
256-bit unsigned integer More...
#include <uint256.h>
Inheritance diagram for uint256:
Collaboration diagram for uint256:Public Types | |
| typedef base_uint256 | basetype |
Public Member Functions | |
| uint256 () | |
| uint256 (const basetype &b) | |
| uint256 & | operator= (const basetype &b) |
| uint256 (uint64_t b) | |
| uint256 & | operator= (uint64_t b) |
| uint256 (const std::string &str) | |
| uint256 (const std::vector< unsigned char > &vch) | |
Public Member Functions inherited from base_uint< BITS > | |
| bool | operator! () const |
| const base_uint | operator~ () const |
| const base_uint | operator- () const |
| double | getdouble () const |
| base_uint & | operator= (uint64_t b) |
| base_uint & | operator^= (const base_uint &b) |
| base_uint & | operator&= (const base_uint &b) |
| base_uint & | operator|= (const base_uint &b) |
| base_uint & | operator^= (uint64_t b) |
| base_uint & | operator|= (uint64_t b) |
| base_uint & | operator<<= (unsigned int shift) |
| base_uint & | operator>>= (unsigned int shift) |
| base_uint & | operator+= (const base_uint &b) |
| base_uint & | operator-= (const base_uint &b) |
| base_uint & | operator+= (uint64_t b64) |
| base_uint & | operator-= (uint64_t b64) |
| base_uint & | operator++ () |
| const base_uint | operator++ (int) |
| base_uint & | operator-- () |
| const base_uint | operator-- (int) |
| std::string | GetHex () const |
| void | SetHex (const char *psz) |
| void | SetHex (const std::string &str) |
| std::string | ToString () const |
| unsigned char * | begin () |
| unsigned char * | end () |
| const unsigned char * | begin () const |
| const unsigned char * | end () const |
| unsigned int | size () const |
| uint64_t | GetLow64 () const |
| unsigned int | GetSerializeSize (int nType, int nVersion) const |
| template<typename Stream > | |
| void | Serialize (Stream &s, int nType, int nVersion) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s, int nType, int nVersion) |
Additional Inherited Members | |
Protected Types inherited from base_uint< BITS > | |
| enum | { WIDTH =BITS/32 } |
Protected Attributes inherited from base_uint< BITS > | |
| uint32_t | pn [WIDTH] |
| typedef base_uint256 uint256::basetype |
|
inline |
Definition at line 536 of file uint256.h.
References base_uint< BITS >::pn, and base_uint< BITS >::WIDTH.
|
inline |
Definition at line 542 of file uint256.h.
References base_uint< BITS >::pn, and base_uint< BITS >::WIDTH.
|
inline |
Definition at line 555 of file uint256.h.
References base_uint< BITS >::pn, and base_uint< BITS >::WIDTH.
|
inlineexplicit |
Definition at line 572 of file uint256.h.
References base_uint< BITS >::SetHex().
Here is the call graph for this function:
|
inlineexplicit |
Definition at line 577 of file uint256.h.
References memcpy(), and base_uint< BITS >::pn.
Here is the call graph for this function:Definition at line 548 of file uint256.h.
References base_uint< BITS >::pn, and base_uint< BITS >::WIDTH.
|
inline |
Definition at line 563 of file uint256.h.
References base_uint< BITS >::pn, and base_uint< BITS >::WIDTH.
1.8.8