ternary_format< FT1, FT2, FT3 > Struct Template Reference

#include <type_props.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename FT1, typename FT2, typename FT3>
struct mmx::ternary_format< FT1, FT2, FT3 >

Definition at line 474 of file type_props.hpp.


Constructor & Destructor Documentation

ternary_format (  )  [inline]

Definition at line 478 of file type_props.hpp.

00478                           :
00479     fm1 (), fm2 (), fm3 () {}
  template<typename C> inline ternary_format (const C& x):

ternary_format ( const C x  )  [inline]

Definition at line 480 of file type_props.hpp.

00480                                                          :
00481     fm1 ((FT1) CF1(x)), fm2 ((FT2) CF2(x)), fm3 ((FT3) CF3(x)) {}
  template<typename C> inline ternary_format (const format<C>& x):

ternary_format ( const format< C > &  x  )  [inline]

Definition at line 482 of file type_props.hpp.

00482                                                                  :
00483     fm1 ((FT1) get_format1 (x)), fm2 ((FT2) get_format2 (x)),
00484     fm3 ((FT3) get_format3 (x)) {}
  inline ternary_format (const no_format& nfm):

ternary_format ( const no_format nfm  )  [inline]

Definition at line 485 of file type_props.hpp.

00485                                               :
00486     fm1 (nfm), fm2 (nfm), fm3 (nfm) {}
  inline ternary_format (const ternary_format<FT1,FT2,FT3>& fm):

ternary_format ( const ternary_format< FT1, FT2, FT3 > &  fm  )  [inline]

Definition at line 487 of file type_props.hpp.

00487                                                                :
00488     fm1 (fm.fm1), fm2 (fm.fm2), fm3 (fm.fm3) {}
  inline ternary_format (const FT1& fm1b, const FT2& fm2b, const FT3& fm3b):

ternary_format ( const FT1 &  fm1b,
const FT2 &  fm2b,
const FT3 &  fm3b 
) [inline]

Definition at line 489 of file type_props.hpp.

00489                                                                            :
00490     fm1 (fm1b), fm2 (fm2b), fm3 (fm3b) {}
  inline ternary_format<FT1,FT2,FT3> rfm () const { return *this; }


Member Function Documentation

FT1 format1 (  )  const [inline]

Definition at line 492 of file type_props.hpp.

00492 { return fm1; }

FT2 format2 (  )  const [inline]

Definition at line 493 of file type_props.hpp.

00493 { return fm2; }

FT2 format3 (  )  const [inline]

Definition at line 494 of file type_props.hpp.

00494 { return fm3; }

ternary_format<FT1,FT2,FT3> rfm (  )  const [inline]

Definition at line 491 of file type_props.hpp.

00491 { return *this; }


Member Data Documentation

FT1 fm1

Definition at line 475 of file type_props.hpp.

FT2 fm2

Definition at line 476 of file type_props.hpp.

FT3 fm3

Definition at line 477 of file type_props.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1