Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Macros | Typedefs | Functions
bitcoinunits.h File Reference
#include <consensus/amount.h>
#include <QAbstractListModel>
#include <QDataStream>
#include <QString>
Include dependency graph for bitcoinunits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  BitcoinUnits
 Bitcoin unit definitions. More...


#define REAL_THIN_SP_CP   0x2009
#define REAL_THIN_SP_UTF8   "\xE2\x80\x89"
#define HTML_HACK_SP   "<span style='white-space: nowrap; font-size: 6pt'> </span>"


typedef BitcoinUnits::Unit BitcoinUnit


QDataStream & operator<< (QDataStream &out, const BitcoinUnit &unit)
QDataStream & operator>> (QDataStream &in, BitcoinUnit &unit)

Macro Definition Documentation


#define HTML_HACK_SP   "<span style='white-space: nowrap; font-size: 6pt'> </span>"

Definition at line 22 of file bitcoinunits.h.


#define REAL_THIN_SP_CP   0x2009

Definition at line 15 of file bitcoinunits.h.


#define REAL_THIN_SP_UTF8   "\xE2\x80\x89"

Definition at line 16 of file bitcoinunits.h.



Definition at line 25 of file bitcoinunits.h.



Definition at line 27 of file bitcoinunits.h.



Definition at line 26 of file bitcoinunits.h.

Typedef Documentation

◆ BitcoinUnit

Definition at line 111 of file bitcoinunits.h.

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream &  out,
const BitcoinUnit unit 

Definition at line 255 of file bitcoinunits.cpp.

◆ operator>>()

QDataStream& operator>> ( QDataStream &  in,
BitcoinUnit unit 

Definition at line 260 of file bitcoinunits.cpp.