CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
funct::SimplifyRatioSum< A, B, parametric > Struct Template Reference

#include <SimplifyRatio.h>

Public Types

typedef RatioStruct< typename
Sum< A, B >::type, typename
Sum< B, A >::type
type
 

Static Public Member Functions

static type combine (const typename Sum< A, B >::type &_1, const typename Sum< B, A >::type &_2)
 

Detailed Description

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
struct funct::SimplifyRatioSum< A, B, parametric >

Definition at line 86 of file SimplifyRatio.h.

Member Typedef Documentation

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
typedef RatioStruct< typename Sum< A , B >::type , typename Sum< B , A >::type > funct::SimplifyRatioSum< A, B, parametric >::type

Definition at line 87 of file SimplifyRatio.h.

Member Function Documentation

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
static type funct::SimplifyRatioSum< A, B, parametric >::combine ( const typename Sum< A, B >::type _1,
const typename Sum< B, A >::type _2 
)
inlinestatic

Definition at line 88 of file SimplifyRatio.h.

91 {