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

Constructor & Destructor Documentation

◆ WalletLocation() [1/2]

WalletLocation::WalletLocation ( )
inlineexplicit

◆ WalletLocation() [2/2]

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

Member Function Documentation

◆ Exists()

bool WalletLocation::Exists ( ) const

Return whether the wallet exists.

◆ GetName()

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

Get wallet name.

◆ GetPath()

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

Get wallet absolute path.

Member Data Documentation

◆ m_name

std::string WalletLocation::m_name
private

◆ m_path

fs::path WalletLocation::m_path
private

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