basix_doc 0.1
function_1< D, S1 > Struct Template Reference

#include <function.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename D, typename S1>
struct mmx::function_1< D, S1 >

Definition at line 125 of file function.hpp.


Constructor & Destructor Documentation

function_1 ( ) [inline]

Definition at line 127 of file function.hpp.

: rep (NULL) {}
function_1 ( function_1_rep< D, S1 > *  rep2) [inline]

Definition at line 128 of file function.hpp.

: rep (rep2) {}
function_1 ( const function_1< D, S1 > &  f) [inline]

Definition at line 129 of file function.hpp.

References INC_NULL_COUNT, and function_1< D, S1 >::rep.

                                         :
    rep (f.rep) { INC_NULL_COUNT(rep); }
function_1 ( D(*)(S1 fun) [inline]

Definition at line 131 of file function.hpp.

                                   :
    rep (new def_function_1_rep<D,S1> (fun)) {}
~function_1 ( ) [inline]

Definition at line 133 of file function.hpp.

References DEC_NULL_COUNT, and function_1< D, S1 >::rep.


Member Function Documentation

D operator() ( S1  x1) const [inline]

Definition at line 137 of file function.hpp.

References function_1< D, S1 >::rep.

{ return rep->apply (x1); }
function_1& operator= ( const function_1< D, S1 > &  f) [inline]

Definition at line 134 of file function.hpp.

References DEC_NULL_COUNT, INC_NULL_COUNT, and function_1< D, S1 >::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