Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mp::test::SimpleBar Class Reference

Concrete Bar that returns a fixed value, used by listBars tests. More...

#include <foo.h>

Inheritance diagram for mp::test::SimpleBar:
[legend]
Collaboration diagram for mp::test::SimpleBar:
[legend]

Public Member Functions

 SimpleBar (int value)
 
int value () override
 
- Public Member Functions inherited from mp::test::Bar
virtual ~Bar ()=default
 

Public Attributes

int m_value
 

Detailed Description

Concrete Bar that returns a fixed value, used by listBars tests.

Definition at line 97 of file foo.h.

Constructor & Destructor Documentation

◆ SimpleBar()

mp::test::SimpleBar::SimpleBar ( int  value)
inlineexplicit

Definition at line 100 of file foo.h.

Member Function Documentation

◆ value()

int mp::test::SimpleBar::value ( )
inlineoverridevirtual

Implements mp::test::Bar.

Definition at line 101 of file foo.h.

Member Data Documentation

◆ m_value

int mp::test::SimpleBar::m_value

Definition at line 102 of file foo.h.


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