ParameterIteration< T > Class Template Reference
#include <ParameterIteration.h>
Public Member Functions | |
ParameterIteration () | |
ParameterIteration (T min, T max, T step) | |
ParameterIteration (std::initializer_list< T > values, int sliceIdx=0) | |
virtual | ~ParameterIteration ()=default |
bool | Empty () const |
void | SetSliceIndex (size_t idx) |
void | SetValues (const std::vector< T > &values, int sliceIdx=0) |
void | SetValues (std::initializer_list< T > values, int sliceIdx=0) |
void | SetMinMaxStep (T min, T max, T step) |
T | GetSlice () const |
bool | HasValues () const |
std::vector< T > & | GetValues () |
const std::vector< T > & | GetValues () const |
Protected Attributes | |
size_t | m_SliceIdx |
std::vector< T > | m_Values |
Constructor & Destructor Documentation
◆ ParameterIteration() [1/3]
template<typename T >
ParameterIteration< T >::ParameterIteration |
◆ ParameterIteration() [2/3]
template<typename T >
ParameterIteration< T >::ParameterIteration | ( | T | min, |
T | max, | ||
T | step | ||
) |
◆ ParameterIteration() [3/3]
template<typename T >
ParameterIteration< T >::ParameterIteration | ( | std::initializer_list< T > | values, |
int | sliceIdx = 0 |
||
) |
◆ ~ParameterIteration()
template<typename T >
|
virtualdefault |
Member Function Documentation
◆ Empty()
template<typename T >
|
inline |
◆ GetSlice()
template<typename T >
|
inline |
◆ GetValues() [1/2]
template<typename T >
|
inline |
◆ GetValues() [2/2]
template<typename T >
|
inline |
◆ HasValues()
template<typename T >
|
inline |
◆ SetMinMaxStep()
template<typename T >
void ParameterIteration< T >::SetMinMaxStep | ( | T | min, |
T | max, | ||
T | step | ||
) |
◆ SetSliceIndex()
template<typename T >
|
inline |
◆ SetValues() [1/2]
template<typename T >
void ParameterIteration< T >::SetValues | ( | const std::vector< T > & | values, |
int | sliceIdx = 0 |
||
) |
◆ SetValues() [2/2]
template<typename T >
void ParameterIteration< T >::SetValues | ( | std::initializer_list< T > | values, |
int | sliceIdx = 0 |
||
) |
Member Data Documentation
◆ m_SliceIdx
template<typename T >
|
protected |
◆ m_Values
template<typename T >
|
protected |