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

Class of names of cases of benchmarks. More...

#include <stat_bench/benchmark_case_name.h>

+ Collaboration diagram for stat_bench::BenchmarkCaseName:

Public Member Functions

 BenchmarkCaseName (std::string str)
 Constructor.
 
 BenchmarkCaseName (util::Utf8String str) noexcept
 Constructor.
 
auto str () const noexcept -> const util::Utf8String &
 Get the string of the name.
 

Detailed Description

Class of names of cases of benchmarks.

Definition at line 37 of file benchmark_case_name.h.

Constructor & Destructor Documentation

◆ BenchmarkCaseName() [1/2]

stat_bench::BenchmarkCaseName::BenchmarkCaseName ( util::Utf8String str)
explicitnoexcept

Constructor.

Parameters
[in]strString of the name.

Definition at line 24 of file benchmark_case_name.cpp.

◆ BenchmarkCaseName() [2/2]

stat_bench::BenchmarkCaseName::BenchmarkCaseName ( std::string str)
inlineexplicit

Constructor.

Parameters
[in]strString of the name.

Definition at line 51 of file benchmark_case_name.h.

Member Function Documentation

◆ str()

auto stat_bench::BenchmarkCaseName::str ( ) const -> const util::Utf8String&
nodiscardnoexcept

Get the string of the name.

Returns
String of the name.

Definition at line 27 of file benchmark_case_name.cpp.


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