Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::Alternative< T1, T2 > Class Template Reference

#include <Alternative.h>

Public Member Functions

 Alternative ()=default
 
WhichAlternative which () const
 
T1 & former ()
 
const T1 & former () const
 
T2 & later ()
 
const T2 & later () const
 
 operator T1 & ()
 
 operator const T1 & () const
 
 operator T2 & ()
 
 operator const T2 & () const
 

Constructor & Destructor Documentation

◆ Alternative()

template<typename T1 , typename T2 >
XBMCAddon::Alternative< T1, T2 >::Alternative ( )
default

Member Function Documentation

◆ former() [1/2]

template<typename T1 , typename T2 >
T1 & XBMCAddon::Alternative< T1, T2 >::former ( )
inline

◆ former() [2/2]

template<typename T1 , typename T2 >
const T1 & XBMCAddon::Alternative< T1, T2 >::former ( ) const
inline

◆ later() [1/2]

template<typename T1 , typename T2 >
T2 & XBMCAddon::Alternative< T1, T2 >::later ( )
inline

◆ later() [2/2]

template<typename T1 , typename T2 >
const T2 & XBMCAddon::Alternative< T1, T2 >::later ( ) const
inline

◆ operator const T1 &()

template<typename T1 , typename T2 >
XBMCAddon::Alternative< T1, T2 >::operator const T1 & ( ) const
inline

◆ operator const T2 &()

template<typename T1 , typename T2 >
XBMCAddon::Alternative< T1, T2 >::operator const T2 & ( ) const
inline

◆ operator T1 &()

template<typename T1 , typename T2 >
XBMCAddon::Alternative< T1, T2 >::operator T1 & ( )
inline

◆ operator T2 &()

template<typename T1 , typename T2 >
XBMCAddon::Alternative< T1, T2 >::operator T2 & ( )
inline

◆ which()

template<typename T1 , typename T2 >
WhichAlternative XBMCAddon::Alternative< T1, T2 >::which ( ) const
inline

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