function_6< D, S1, S2, S3, S4, S5, S6 > Struct Template Reference

#include <function.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename D, typename S1, typename S2, typename S3, typename S4, typename S5, typename S6>
struct mmx::function_6< D, S1, S2, S3, S4, S5, S6 >

Definition at line 463 of file function.hpp.


Constructor & Destructor Documentation

function_6 (  )  [inline]

Definition at line 465 of file function.hpp.

00465 : rep (NULL) {}

function_6 ( function_6_rep< D, S1, S2, S3, S4, S5, S6 > *  rep2  )  [inline]

Definition at line 466 of file function.hpp.

00466 : rep (rep2) {}

function_6 ( function_6_rep< D, S1, S2, S3, S4, S5, S6 > *  rep2,
bool  with_inc 
) [inline]

Definition at line 467 of file function.hpp.

References INC_COUNT, and function_6< D, S1, S2, S3, S4, S5, S6 >::rep.

00467                                                                               :
00468     rep (rep2) { (void) with_inc; INC_COUNT (rep); }
  inline function_6 (const function_6& f):

function_6 ( const function_6< D, S1, S2, S3, S4, S5, S6 > &  f  )  [inline]

Definition at line 469 of file function.hpp.

References INC_NULL_COUNT, and function_6< D, S1, S2, S3, S4, S5, S6 >::rep.

00469                                          :
00470     rep (f.rep) { INC_NULL_COUNT(rep); }
  inline function_6 (D (*fun) (S1, S2, S3, S4, S5, S6)):

function_6 ( D(*)(S1, S2, S3, S4, S5, S6)  fun  )  [inline]

Definition at line 471 of file function.hpp.

00471                                                        :
00472     rep (new def_function_6_rep<D,S1,S2,S3,S4,S5,S6> (fun)) {}
  inline ~function_6 () { DEC_NULL_COUNT (rep); }

~function_6 (  )  [inline]

Definition at line 473 of file function.hpp.

References DEC_NULL_COUNT, and function_6< D, S1, S2, S3, S4, S5, S6 >::rep.

00473 { DEC_NULL_COUNT (rep); }


Member Function Documentation

D operator() ( S1  x1,
S2  x2,
S3  x3,
S4  x4,
S5  x5,
S6  x6 
) const [inline]

Definition at line 477 of file function.hpp.

References function_6< D, S1, S2, S3, S4, S5, S6 >::rep.

00477                                                                         {
00478     return rep->apply (x1, x2, x3, x4, x5, x6); }

function_6& operator= ( const function_6< D, S1, S2, S3, S4, S5, S6 > &  f  )  [inline]

Definition at line 474 of file function.hpp.

References DEC_NULL_COUNT, INC_NULL_COUNT, and function_6< D, S1, S2, S3, S4, S5, S6 >::rep.

00474                                                       {
00475     INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep);
00476     rep= f.rep; return *this; }


Member Data Documentation

function_6_rep<D,S1,S2,S3,S4,S5,S6>* rep

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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1