basix_doc 0.1
function_0< D > Struct Template Reference

#include <function.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename D>
struct mmx::function_0< D >

Definition at line 76 of file function.hpp.


Constructor & Destructor Documentation

function_0 ( ) [inline]

Definition at line 78 of file function.hpp.

: rep (NULL) {}
function_0 ( function_0_rep< D > *  rep2) [inline]

Definition at line 79 of file function.hpp.

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

Definition at line 80 of file function.hpp.

References INC_NULL_COUNT, and function_0< D >::rep.

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

Definition at line 82 of file function.hpp.

                                 :
    rep (new def_function_0_rep<D> (fun)) {}
~function_0 ( ) [inline]

Definition at line 84 of file function.hpp.

References DEC_NULL_COUNT, and function_0< D >::rep.


Member Function Documentation

D operator() ( ) const [inline]

Definition at line 88 of file function.hpp.

References function_0< D >::rep.

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

Definition at line 85 of file function.hpp.

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