Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
CBase58Data Class Reference

Base class for all base58-encoded data. More...

#include <base58.h>

Inheritance diagram for CBase58Data:
[legend]

Public Member Functions

bool SetString (const char *psz, unsigned int nVersionBytes=1)
 
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
 

Protected Types

typedef std::vector< unsigned char, zero_after_free_allocator< unsigned char > > vector_uchar
 the actually encoded data More...
 

Protected Member Functions

 CBase58Data ()
 
void SetData (const std::vector< unsigned char > &vchVersionIn, const void *pdata, size_t nSize)
 
void SetData (const std::vector< unsigned char > &vchVersionIn, const unsigned char *pbegin, const unsigned char *pend)
 

Protected Attributes

std::vector< unsigned char > vchVersion
 the version byte(s) More...
 
vector_uchar vchData
 

Detailed Description

Base class for all base58-encoded data.

Definition at line 71 of file base58.h.

Member Typedef Documentation

typedef std::vector<unsigned char, zero_after_free_allocator<unsigned char> > CBase58Data::vector_uchar
protected

the actually encoded data

Definition at line 78 of file base58.h.

Constructor & Destructor Documentation

CBase58Data::CBase58Data ( )
protected

Definition at line 152 of file base58.cpp.

Member Function Documentation

int CBase58Data::CompareTo ( const CBase58Data b58) const

Definition at line 200 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CBase58Data::operator< ( const CBase58Data b58) const
inline

Definition at line 94 of file base58.h.

Here is the call graph for this function:

bool CBase58Data::operator<= ( const CBase58Data b58) const
inline

Definition at line 92 of file base58.h.

Here is the call graph for this function:

bool CBase58Data::operator== ( const CBase58Data b58) const
inline

Definition at line 91 of file base58.h.

Here is the call graph for this function:

bool CBase58Data::operator> ( const CBase58Data b58) const
inline

Definition at line 95 of file base58.h.

Here is the call graph for this function:

bool CBase58Data::operator>= ( const CBase58Data b58) const
inline

Definition at line 93 of file base58.h.

Here is the call graph for this function:

void CBase58Data::SetData ( const std::vector< unsigned char > &  vchVersionIn,
const void *  pdata,
size_t  nSize 
)
protected

Definition at line 158 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CBase58Data::SetData ( const std::vector< unsigned char > &  vchVersionIn,
const unsigned char *  pbegin,
const unsigned char *  pend 
)
protected

Definition at line 166 of file base58.cpp.

Here is the call graph for this function:

bool CBase58Data::SetString ( const char *  psz,
unsigned int  nVersionBytes = 1 
)

Definition at line 171 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CBase58Data::SetString ( const std::string &  str)

Definition at line 188 of file base58.cpp.

Here is the call graph for this function:

std::string CBase58Data::ToString ( ) const

Definition at line 193 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

vector_uchar CBase58Data::vchData
protected

Definition at line 79 of file base58.h.

std::vector<unsigned char> CBase58Data::vchVersion
protected

the version byte(s)

Definition at line 75 of file base58.h.


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