Twitch SDK (Internal)
Public Member Functions | Private Attributes | List of all members
ttv::LookupTable< Generator, Length > Class Template Reference

#include <dsputilities.h>

Public Member Functions

 LookupTable ()
 
Generator::ReturnType operator[] (size_t index) const
 

Private Attributes

std::array< typename Generator::ReturnType, Length > mValues
 

Detailed Description

template<typename Generator, size_t Length>
class ttv::LookupTable< Generator, Length >

A class that generates a table of lookup values.

Template Parameters
GeneratorA class that conforms to the Generator concept and provides values for each entry in the table. See the description of the Generator concept below.
LengthThe number of values in the table.

Constructor & Destructor Documentation

◆ LookupTable()

template<typename Generator, size_t Length>
ttv::LookupTable< Generator, Length >::LookupTable ( )
inline

Member Function Documentation

◆ operator[]()

template<typename Generator, size_t Length>
Generator::ReturnType ttv::LookupTable< Generator, Length >::operator[] ( size_t  index) const
inline

Member Data Documentation

◆ mValues

template<typename Generator, size_t Length>
std::array<typename Generator::ReturnType, Length> ttv::LookupTable< Generator, Length >::mValues
private

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