ug4
SortStruct< TIndex, TValue > Struct Template Reference

#include <sort_util.h>

Public Member Functions

TValue & get_value ()
 
bool operator< (const SortStruct< TIndex, TValue > &other) const
 
void set_value (TValue &val)
 
 SortStruct ()
 
 SortStruct (TIndex &i, TValue &v)
 

Public Attributes

TIndex index
 
TValue value
 

Constructor & Destructor Documentation

◆ SortStruct() [1/2]

template<typename TIndex , typename TValue >
SortStruct< TIndex, TValue >::SortStruct ( )
inline

◆ SortStruct() [2/2]

template<typename TIndex , typename TValue >
SortStruct< TIndex, TValue >::SortStruct ( TIndex &  i,
TValue &  v 
)
inline

Member Function Documentation

◆ get_value()

template<typename TIndex , typename TValue >
TValue& SortStruct< TIndex, TValue >::get_value ( )
inline

◆ operator<()

template<typename TIndex , typename TValue >
bool SortStruct< TIndex, TValue >::operator< ( const SortStruct< TIndex, TValue > &  other) const
inline

◆ set_value()

template<typename TIndex , typename TValue >
void SortStruct< TIndex, TValue >::set_value ( TValue &  val)
inline

Member Data Documentation

◆ index

template<typename TIndex , typename TValue >
TIndex SortStruct< TIndex, TValue >::index

◆ value

template<typename TIndex , typename TValue >
TValue SortStruct< TIndex, TValue >::value

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