cgv
Loading...
Searching...
No Matches
cgv::gui::with_index_struct< T > Struct Template Reference

helper struct to support value references as well as value references with index More...

#include <provider.h>

Public Member Functions

 with_index_struct (const T &_value, int _index)
 

Public Attributes

const T & value
 
int index
 

Detailed Description

template<typename T>
struct cgv::gui::with_index_struct< T >

helper struct to support value references as well as value references with index

Definition at line 19 of file provider.h.

Constructor & Destructor Documentation

◆ with_index_struct()

template<typename T >
cgv::gui::with_index_struct< T >::with_index_struct ( const T &  _value,
int  _index 
)
inline

Definition at line 23 of file provider.h.

Member Data Documentation

◆ index

template<typename T >
int cgv::gui::with_index_struct< T >::index

Definition at line 22 of file provider.h.

◆ value

template<typename T >
const T& cgv::gui::with_index_struct< T >::value

Definition at line 21 of file provider.h.


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