Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | List of all members
CBitcoinAddress Class Reference

#include <base58.h>

Inheritance diagram for CBitcoinAddress:
Inheritance graph
[legend]
Collaboration diagram for CBitcoinAddress:
Collaboration graph
[legend]

Public Types

enum  { PUBKEY_ADDRESS = 14, SCRIPT_ADDRESS = 5, PUBKEY_ADDRESS_TEST = 65, SCRIPT_ADDRESS_TEST = 196 }
 

Public Member Functions

bool Set (const CKeyID &id)
 
bool Set (const CScriptID &id)
 
bool Set (const CTxDestination &dest)
 
bool IsValid () const
 
 CBitcoinAddress ()
 
 CBitcoinAddress (const CTxDestination &dest)
 
 CBitcoinAddress (const std::string &strAddress)
 
 CBitcoinAddress (const char *pszAddress)
 
CTxDestination Get () const
 
bool GetKeyID (CKeyID &keyID) const
 
bool IsScript () const
 
- Public Member Functions inherited from CBase58Data
bool SetString (const char *psz)
 
bool SetString (const std::string &str)
 
std::string ToString () const
 
int CompareTo (const CBase58Data &b58) const
 
bool operator== (const CBase58Data &b58) const
 
bool operator<= (const CBase58Data &b58) const
 
bool operator>= (const CBase58Data &b58) const
 
bool operator< (const CBase58Data &b58) const
 
bool operator> (const CBase58Data &b58) const
 

Additional Inherited Members

- Protected Types inherited from CBase58Data
typedef std::vector< unsigned
char,
zero_after_free_allocator
< unsigned char > > 
vector_uchar
 
- Protected Member Functions inherited from CBase58Data
 CBase58Data ()
 
void SetData (int nVersionIn, const void *pdata, size_t nSize)
 
void SetData (int nVersionIn, const unsigned char *pbegin, const unsigned char *pend)
 
- Protected Attributes inherited from CBase58Data
unsigned char nVersion
 
vector_uchar vchData
 

Detailed Description

Definition at line 270 of file base58.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PUBKEY_ADDRESS 
SCRIPT_ADDRESS 
PUBKEY_ADDRESS_TEST 
SCRIPT_ADDRESS_TEST 

Definition at line 273 of file base58.h.

Constructor & Destructor Documentation

CBitcoinAddress::CBitcoinAddress ( )
inline

Definition at line 326 of file base58.h.

CBitcoinAddress::CBitcoinAddress ( const CTxDestination dest)
inline

Definition at line 330 of file base58.h.

CBitcoinAddress::CBitcoinAddress ( const std::string &  strAddress)
inline

Definition at line 335 of file base58.h.

CBitcoinAddress::CBitcoinAddress ( const char *  pszAddress)
inline

Definition at line 340 of file base58.h.

Member Function Documentation

CTxDestination CBitcoinAddress::Get ( ) const
inline

Definition at line 345 of file base58.h.

bool CBitcoinAddress::GetKeyID ( CKeyID keyID) const
inline

Definition at line 365 of file base58.h.

bool CBitcoinAddress::IsScript ( ) const
inline

Definition at line 380 of file base58.h.

bool CBitcoinAddress::IsValid ( ) const
inline

Definition at line 296 of file base58.h.

bool CBitcoinAddress::Set ( const CKeyID id)
inline

Definition at line 281 of file base58.h.

bool CBitcoinAddress::Set ( const CScriptID id)
inline

Definition at line 286 of file base58.h.

bool CBitcoinAddress::Set ( const CTxDestination dest)
inline

Definition at line 291 of file base58.h.


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