cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::bench_impl::IBenchmarkCase Class Referenceabstract

Interface of cases in benchmarks. More...

#include <stat_bench/bench_impl/i_benchmark_case.h>

+ Inheritance diagram for stat_bench::bench_impl::IBenchmarkCase:
+ Collaboration diagram for stat_bench::bench_impl::IBenchmarkCase:

Public Member Functions

 IBenchmarkCase (const IBenchmarkCase &)=delete
 
 IBenchmarkCase (IBenchmarkCase &&)=delete
 
virtual ~IBenchmarkCase ()=default
 Destructor.
 
virtual void execute ()=0
 Execute this case.
 
virtual auto info () const noexcept -> const BenchmarkFullName &=0
 Get information of this case.
 
auto operator= (const IBenchmarkCase &) -> IBenchmarkCase &=delete
 
auto operator= (IBenchmarkCase &&) -> IBenchmarkCase &=delete
 
virtual auto params () const noexcept -> const param::ParameterConfig &=0
 Get parameters.
 

Protected Member Functions

 IBenchmarkCase ()=default
 Constructor.
 

Detailed Description

Interface of cases in benchmarks.

Definition at line 31 of file i_benchmark_case.h.

Member Function Documentation

◆ info()

virtual auto stat_bench::bench_impl::IBenchmarkCase::info ( ) const -> const BenchmarkFullName &
nodiscardpure virtualnoexcept

Get information of this case.

Returns
Information.

◆ params()

virtual auto stat_bench::bench_impl::IBenchmarkCase::params ( ) const -> const param::ParameterConfig &
nodiscardpure virtualnoexcept

Get parameters.

Returns
Parameters.

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