cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::param::ParameterValueVector< T > Class Template Referencefinal

Class of vectors of parameter values. More...

#include <stat_bench/param/parameter_value_vector.h>

+ Inheritance diagram for stat_bench::param::ParameterValueVector< T >:
+ Collaboration diagram for stat_bench::param::ParameterValueVector< T >:

Public Member Functions

 ParameterValueVector ()=default
 Constructor.
 
 ParameterValueVector (const ParameterValueVector &)=delete
 
 ParameterValueVector (ParameterValueVector &&)=delete
 
 ~ParameterValueVector () override=default
 Destructor.
 
auto add (const T &value) -> ParameterValueVector *
 Add a value.
 
auto begin () const -> ConstIterator override
 Get the iterator of the first element.
 
auto end () const -> ConstIterator override
 Get the iterator of the past-the-end element.
 
auto operator= (const ParameterValueVector &) -> ParameterValueVector &=delete
 
auto operator= (ParameterValueVector &&) -> ParameterValueVector &=delete
 
auto size () const -> std::size_t override
 Get the number of values.
 
- Public Member Functions inherited from stat_bench::param::IParameterValueVector
 IParameterValueVector (const IParameterValueVector &)=delete
 
 IParameterValueVector (IParameterValueVector &&)=delete
 
virtual ~IParameterValueVector ()=default
 Destructor.
 
auto operator= (const IParameterValueVector &) -> IParameterValueVector &=delete
 
auto operator= (IParameterValueVector &&) -> IParameterValueVector &=delete
 

Additional Inherited Members

- Public Types inherited from stat_bench::param::IParameterValueVector
using ConstIterator = std::vector<ParameterValue>::const_iterator
 Type of iterators.
 
- Protected Member Functions inherited from stat_bench::param::IParameterValueVector
 IParameterValueVector ()=default
 Constructor.
 

Detailed Description

template<typename T>
class stat_bench::param::ParameterValueVector< T >

Class of vectors of parameter values.

Template Parameters
TType of values.

Definition at line 84 of file parameter_value_vector.h.

Member Function Documentation

◆ add()

template<typename T>
auto stat_bench::param::ParameterValueVector< T >::add ( const T & value) -> ParameterValueVector*
inline

Add a value.

Parameters
[in]valueValue.
Returns
This.

Definition at line 97 of file parameter_value_vector.h.

◆ begin()

template<typename T>
auto stat_bench::param::ParameterValueVector< T >::begin ( ) const -> ConstIterator
inlinenodiscardoverridevirtual

Get the iterator of the first element.

Returns
Iterator.

Implements stat_bench::param::IParameterValueVector.

Definition at line 103 of file parameter_value_vector.h.

◆ end()

template<typename T>
auto stat_bench::param::ParameterValueVector< T >::end ( ) const -> ConstIterator
inlinenodiscardoverridevirtual

Get the iterator of the past-the-end element.

Returns
Iterator.

Implements stat_bench::param::IParameterValueVector.

Definition at line 108 of file parameter_value_vector.h.

◆ size()

template<typename T>
auto stat_bench::param::ParameterValueVector< T >::size ( ) const -> std::size_t
inlinenodiscardoverridevirtual

Get the number of values.

Returns
Number of values.

Implements stat_bench::param::IParameterValueVector.

Definition at line 113 of file parameter_value_vector.h.


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