function_5< D, S1, S2, S3, S4, S5 > 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>
struct mmx::function_5< D, S1, S2, S3, S4, S5 >

Definition at line 404 of file function.hpp.


Constructor & Destructor Documentation

function_5 (  )  [inline]

Definition at line 406 of file function.hpp.

00406 : rep (NULL) {}

function_5 ( function_5_rep< D, S1, S2, S3, S4, S5 > *  rep2  )  [inline]

Definition at line 407 of file function.hpp.

00407 : rep (rep2) {}

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

Definition at line 408 of file function.hpp.

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

00408                                          :
00409     rep (f.rep) { INC_NULL_COUNT(rep); }
  inline function_5 (D (*fun) (S1, S2, S3, S4, S5)):

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

Definition at line 410 of file function.hpp.

00410                                                    :
00411     rep (new def_function_5_rep<D,S1,S2,S3,S4,S5> (fun)) {}
  inline function_5 (function_5_rep<D,S1,S2,S3,S4,S5>* rep2, bool with_inc):

function_5 ( function_5_rep< D, S1, S2, S3, S4, S5 > *  rep2,
bool  with_inc 
) [inline]

Definition at line 412 of file function.hpp.

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

00412                                                                            :
00413     rep (rep2) { (void) with_inc; INC_COUNT (rep); }
  inline ~function_5 () { DEC_NULL_COUNT (rep); }

~function_5 (  )  [inline]

Definition at line 414 of file function.hpp.

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

00414 { DEC_NULL_COUNT (rep); }


Member Function Documentation

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

Definition at line 418 of file function.hpp.

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

00418                                                                  {
00419     return rep->apply (x1, x2, x3, x4, x5); }

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

Definition at line 415 of file function.hpp.

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

00415                                                       {
00416     INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep);
00417     rep= f.rep; return *this; }


Member Data Documentation

function_5_rep<D,S1,S2,S3,S4,S5>* rep

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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1