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)
 
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 ( min,
max,
step 
)

◆ ParameterIteration() [3/3]

template<typename T >
ParameterIteration< T >::ParameterIteration ( std::initializer_list< T >  values,
int  sliceIdx = 0 
)

◆ ~ParameterIteration()

template<typename T >
virtual ParameterIteration< T >::~ParameterIteration ( )
virtualdefault

Member Function Documentation

◆ Empty()

template<typename T >
bool ParameterIteration< T >::Empty ( ) const
inline

◆ GetSlice()

template<typename T >
T ParameterIteration< T >::GetSlice ( ) const
inline

◆ GetValues() [1/2]

template<typename T >
std::vector< T > & ParameterIteration< T >::GetValues ( )
inline

◆ GetValues() [2/2]

template<typename T >
const std::vector< T > & ParameterIteration< T >::GetValues ( ) const
inline

◆ HasValues()

template<typename T >
bool ParameterIteration< T >::HasValues ( ) const
inline

◆ SetMinMaxStep()

template<typename T >
void ParameterIteration< T >::SetMinMaxStep ( min,
max,
step 
)

◆ SetSliceIndex()

template<typename T >
void ParameterIteration< T >::SetSliceIndex ( size_t  idx)
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 >
size_t ParameterIteration< T >::m_SliceIdx
protected

◆ m_Values

template<typename T >
std::vector<T> ParameterIteration< T >::m_Values
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.