Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
teeui::BinOp< T1, T2, Numeric, Op > Struct Template Reference

#include <utils.h>

Public Member Functions

constexpr BinOp (const T1 &v1, const T2 &v2)
 
 BinOp (const BinOp &)=default
 
 BinOp (BinOp &&)=default
 
template<typename Context >
Coordinate< px, Numeric > eval (const Context &ctx) const
 
template<typename T >
constexpr add< BinOp, T, Numeric > operator+ (const T &v) const
 
template<typename T >
constexpr sub< BinOp, T, Numeric > operator- (const T &v) const
 
template<typename T >
constexpr mul< BinOp, T, Numeric > operator* (const T &v) const
 
template<typename T >
constexpr div< BinOp, T, Numeric > operator/ (const T &v) const
 

Private Attributes

T1 v1_
 
T2 v2_
 

Constructor & Destructor Documentation

◆ BinOp() [1/3]

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
constexpr teeui::BinOp< T1, T2, Numeric, Op >::BinOp ( const T1 &  v1,
const T2 &  v2 
)
inlineconstexpr

◆ BinOp() [2/3]

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
teeui::BinOp< T1, T2, Numeric, Op >::BinOp ( const BinOp< T1, T2, Numeric, Op > &  )
default

◆ BinOp() [3/3]

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
teeui::BinOp< T1, T2, Numeric, Op >::BinOp ( BinOp< T1, T2, Numeric, Op > &&  )
default

Member Function Documentation

◆ eval()

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
template<typename Context >
Coordinate< px, Numeric > teeui::BinOp< T1, T2, Numeric, Op >::eval ( const Context &  ctx) const
inline

◆ operator*()

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
template<typename T >
constexpr mul< BinOp, T, Numeric > teeui::BinOp< T1, T2, Numeric, Op >::operator* ( const T &  v) const
inlineconstexpr

◆ operator+()

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
template<typename T >
constexpr add< BinOp, T, Numeric > teeui::BinOp< T1, T2, Numeric, Op >::operator+ ( const T &  v) const
inlineconstexpr

◆ operator-()

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
template<typename T >
constexpr sub< BinOp, T, Numeric > teeui::BinOp< T1, T2, Numeric, Op >::operator- ( const T &  v) const
inlineconstexpr

◆ operator/()

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
template<typename T >
constexpr div< BinOp, T, Numeric > teeui::BinOp< T1, T2, Numeric, Op >::operator/ ( const T &  v) const
inlineconstexpr

Member Data Documentation

◆ v1_

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
T1 teeui::BinOp< T1, T2, Numeric, Op >::v1_
private

◆ v2_

template<typename T1 , typename T2 , typename Numeric , template< typename > class Op>
T2 teeui::BinOp< T1, T2, Numeric, Op >::v2_
private

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