Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CPointGen< T > Class Template Reference

#include <Geometry.h>

Public Types

typedef CPointGen< T > this_type
 

Public Member Functions

 CPointGen () noexcept=default
 
constexpr CPointGen (T a, T b)
 
template<class U >
constexpr CPointGen (const CPointGen< U > &rhs)
 
constexpr this_type operator+ (const this_type &point) const
 
this_typeoperator+= (const this_type &point)
 
constexpr this_type operator- (const this_type &point) const
 
this_typeoperator-= (const this_type &point)
 
constexpr this_type operator* (T factor) const
 
this_typeoperator*= (T factor)
 
constexpr this_type operator/ (T factor) const
 
this_typeoperator/= (T factor)
 

Public Attributes

x {}
 
y {}
 

Member Typedef Documentation

§ this_type

template<typename T>
typedef CPointGen<T> CPointGen< T >::this_type

Constructor & Destructor Documentation

§ CPointGen() [1/3]

template<typename T>
CPointGen< T >::CPointGen ( )
defaultnoexcept

§ CPointGen() [2/3]

template<typename T>
constexpr CPointGen< T >::CPointGen ( a,
b 
)
inline

§ CPointGen() [3/3]

template<typename T>
template<class U >
constexpr CPointGen< T >::CPointGen ( const CPointGen< U > &  rhs)
inlineexplicit

Member Function Documentation

§ operator*()

template<typename T>
constexpr this_type CPointGen< T >::operator* ( factor) const
inline

§ operator*=()

template<typename T>
this_type& CPointGen< T >::operator*= ( factor)
inline

§ operator+()

template<typename T>
constexpr this_type CPointGen< T >::operator+ ( const this_type point) const
inline

§ operator+=()

template<typename T>
this_type& CPointGen< T >::operator+= ( const this_type point)
inline

§ operator-()

template<typename T>
constexpr this_type CPointGen< T >::operator- ( const this_type point) const
inline

§ operator-=()

template<typename T>
this_type& CPointGen< T >::operator-= ( const this_type point)
inline

§ operator/()

template<typename T>
constexpr this_type CPointGen< T >::operator/ ( factor) const
inline

§ operator/=()

template<typename T>
this_type& CPointGen< T >::operator/= ( factor)
inline

Member Data Documentation

§ x

template<typename T>
T CPointGen< T >::x {}

§ y

template<typename T>
T CPointGen< T >::y {}

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