basix_doc 0.1
function_4< D, S1, S2, S3, S4 > 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>
struct mmx::function_4< D, S1, S2, S3, S4 >

Definition at line 321 of file function.hpp.


Constructor & Destructor Documentation

function_4 ( ) [inline]

Definition at line 323 of file function.hpp.

: rep (NULL) {}
function_4 ( function_4_rep< D, S1, S2, S3, S4 > *  rep2) [inline]

Definition at line 324 of file function.hpp.

: rep (rep2) {}
function_4 ( const function_4< D, S1, S2, S3, S4 > &  f) [inline]

Definition at line 325 of file function.hpp.

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

                                         :
    rep (f.rep) { INC_NULL_COUNT(rep); }
function_4 ( D(*)(S1, S2, S3, S4 fun) [inline]

Definition at line 327 of file function.hpp.

~function_4 ( ) [inline]

Definition at line 329 of file function.hpp.

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


Member Function Documentation

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

Definition at line 333 of file function.hpp.

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

                                                          {
    return rep->apply (x1, x2, x3, x4); }
function_4& operator= ( const function_4< D, S1, S2, S3, S4 > &  f) [inline]

Definition at line 330 of file function.hpp.

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

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

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines