binary_format< FT1, FT2 > Struct Template Reference

#include <type_props.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename FT1, typename FT2>
struct mmx::binary_format< FT1, FT2 >

Definition at line 389 of file type_props.hpp.


Constructor & Destructor Documentation

binary_format (  )  [inline]

Definition at line 392 of file type_props.hpp.

00392                          :
00393     fm1 (), fm2 () {}
  template<typename C> inline binary_format (const C& x):

binary_format ( const C x  )  [inline]

Definition at line 394 of file type_props.hpp.

00394                                                         :
00395     fm1 ((FT1) CF1(x)), fm2 ((FT2) CF2(x)) {}
  template<typename C> inline binary_format (const format<C>& x):

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

Definition at line 396 of file type_props.hpp.

00396                                                                 :
00397     fm1 ((FT1) get_format1 (x)), fm2 ((FT2) get_format2 (x)) {}
  inline binary_format (const no_format& nfm):

binary_format ( const no_format nfm  )  [inline]

Definition at line 398 of file type_props.hpp.

00398                                              :
00399     fm1 (nfm), fm2 (nfm) {}
  inline binary_format (const binary_format<FT1,FT2>& fm):

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

Definition at line 400 of file type_props.hpp.

00400                                                          :
00401     fm1 (fm.fm1), fm2 (fm.fm2) {}
  inline binary_format (const FT1& fm1b, const FT2& fm2b):

binary_format ( const FT1 &  fm1b,
const FT2 &  fm2b 
) [inline]

Definition at line 402 of file type_props.hpp.

00402                                                          :
00403     fm1 (fm1b), fm2 (fm2b) {}
  inline binary_format<FT1,FT2> rfm () const { return *this; }


Member Function Documentation

FT1 format1 (  )  const [inline]

Definition at line 405 of file type_props.hpp.

00405 { return fm1; }

FT2 format2 (  )  const [inline]

Definition at line 406 of file type_props.hpp.

00406 { return fm2; }

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

Definition at line 404 of file type_props.hpp.

00404 { return *this; }


Member Data Documentation

FT1 fm1

Definition at line 390 of file type_props.hpp.

FT2 fm2

Definition at line 391 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