Bitcoin Core 28.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.

Classes

class  BitcoinUnits
 Bitcoin unit definitions. More...
 

Macros

#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>"
 
#define THIN_SP_CP   REAL_THIN_SP_CP
 
#define THIN_SP_UTF8   REAL_THIN_SP_UTF8
 
#define THIN_SP_HTML   HTML_HACK_SP
 

Typedefs

typedef BitcoinUnits::Unit BitcoinUnit
 

Functions

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

Macro Definition Documentation

◆ HTML_HACK_SP

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

Definition at line 22 of file bitcoinunits.h.

◆ REAL_THIN_SP_CP

#define REAL_THIN_SP_CP   0x2009

Definition at line 15 of file bitcoinunits.h.

◆ REAL_THIN_SP_UTF8

#define REAL_THIN_SP_UTF8   "\xE2\x80\x89"

Definition at line 16 of file bitcoinunits.h.

◆ THIN_SP_CP

#define THIN_SP_CP   REAL_THIN_SP_CP

Definition at line 25 of file bitcoinunits.h.

◆ THIN_SP_HTML

#define THIN_SP_HTML   HTML_HACK_SP

Definition at line 27 of file bitcoinunits.h.

◆ THIN_SP_UTF8

#define THIN_SP_UTF8   REAL_THIN_SP_UTF8

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.