Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
WalletLocation Class Referencefinal

The WalletLocation class provides wallet information. More...

#include <walletutil.h>

Public Member Functions

 WalletLocation ()
 
 WalletLocation (const std::string &name)
 
const std::string & GetName () const
 Get wallet name. More...
 
const fs::path & GetPath () const
 Get wallet absolute path. More...
 
bool Exists () const
 Return whether the wallet exists. More...
 

Private Attributes

std::string m_name
 
fs::path m_path
 

Detailed Description

The WalletLocation class provides wallet information.

Definition at line 71 of file walletutil.h.

Constructor & Destructor Documentation

◆ WalletLocation() [1/2]

WalletLocation::WalletLocation ( )
inlineexplicit

Definition at line 77 of file walletutil.h.

◆ WalletLocation() [2/2]

WalletLocation::WalletLocation ( const std::string &  name)
explicit

Definition at line 95 of file walletutil.cpp.

Member Function Documentation

◆ Exists()

bool WalletLocation::Exists ( ) const

Return whether the wallet exists.

Definition at line 101 of file walletutil.cpp.

Here is the caller graph for this function:

◆ GetName()

const std::string& WalletLocation::GetName ( ) const
inline

Get wallet name.

Definition at line 81 of file walletutil.h.

Here is the caller graph for this function:

◆ GetPath()

const fs::path& WalletLocation::GetPath ( ) const
inline

Get wallet absolute path.

Definition at line 84 of file walletutil.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_name

std::string WalletLocation::m_name
private

Definition at line 73 of file walletutil.h.

◆ m_path

fs::path WalletLocation::m_path
private

Definition at line 74 of file walletutil.h.


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