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

Definition at line 286 of file function.hpp.


Constructor & Destructor Documentation

function_3 (  )  [inline]

Definition at line 288 of file function.hpp.

00288 : rep (NULL) {}

function_3 ( function_3_rep< D, S1, S2, S3 > *  rep2  )  [inline]

Definition at line 289 of file function.hpp.

00289 : rep (rep2) {}

function_3 ( function_3_rep< D, S1, S2, S3 > *  rep2,
bool  with_inc 
) [inline]

Definition at line 290 of file function.hpp.

References INC_COUNT, and function_3< D, S1, S2, S3 >::rep.

00290                                                                      :
00291     rep (rep2) { (void) with_inc; INC_COUNT (rep); }
  inline function_3 (const function_3& f):

function_3 ( const function_3< D, S1, S2, S3 > &  f  )  [inline]

Definition at line 292 of file function.hpp.

References INC_NULL_COUNT, and function_3< D, S1, S2, S3 >::rep.

00292                                          :
00293     rep (f.rep) { INC_NULL_COUNT(rep); }
  inline function_3 (D (*fun) (S1, S2, S3)):

function_3 ( D(*)(S1, S2, S3)  fun  )  [inline]

Definition at line 294 of file function.hpp.

00294                                            :
00295     rep (new def_function_3_rep<D,S1,S2,S3> (fun)) {}
  inline ~function_3 () { DEC_NULL_COUNT (rep); }

~function_3 (  )  [inline]

Definition at line 296 of file function.hpp.

References DEC_NULL_COUNT, and function_3< D, S1, S2, S3 >::rep.

00296 { DEC_NULL_COUNT (rep); }


Member Function Documentation

D operator() ( S1  x1,
S2  x2,
S3  x3 
) const [inline]

Definition at line 300 of file function.hpp.

References function_3< D, S1, S2, S3 >::rep.

00300                                                    {
00301     return rep->apply (x1, x2, x3); }

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

Definition at line 297 of file function.hpp.

References DEC_NULL_COUNT, INC_NULL_COUNT, and function_3< D, S1, S2, S3 >::rep.

00297                                                       {
00298     INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep);
00299     rep= f.rep; return *this; }


Member Data Documentation

function_3_rep<D,S1,S2,S3>* rep

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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1