Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | List of all members
AssetRecord Class Reference

UI model for unspent assets. More...

#include <assetrecord.h>

Public Member Functions

 AssetRecord ()
 
 AssetRecord (const std::string _name, const CAmount &_quantity, const int _units, const bool _fIsAdministrator)
 
std::string formattedQuantity () const
 

Public Attributes

Immutable attributes
std::string name
 
CAmount quantity
 
int units
 
bool fIsAdministrator
 

Detailed Description

UI model for unspent assets.

Definition at line 16 of file assetrecord.h.

Constructor & Destructor Documentation

◆ AssetRecord() [1/2]

AssetRecord::AssetRecord ( )
inline

Definition at line 20 of file assetrecord.h.

◆ AssetRecord() [2/2]

AssetRecord::AssetRecord ( const std::string  _name,
const CAmount _quantity,
const int  _units,
const bool  _fIsAdministrator 
)
inline

Definition at line 25 of file assetrecord.h.

Member Function Documentation

◆ formattedQuantity()

std::string AssetRecord::formattedQuantity ( ) const
inline

Definition at line 30 of file assetrecord.h.

Here is the caller graph for this function:

Member Data Documentation

◆ fIsAdministrator

bool AssetRecord::fIsAdministrator

Definition at line 50 of file assetrecord.h.

◆ name

std::string AssetRecord::name

Definition at line 47 of file assetrecord.h.

◆ quantity

CAmount AssetRecord::quantity

Definition at line 48 of file assetrecord.h.

◆ units

int AssetRecord::units

Definition at line 49 of file assetrecord.h.


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