#include <function.hpp>
Definition at line 345 of file function.hpp.
function_4 | ( | ) | [inline] |
Definition at line 347 of file function.hpp.
00347 : rep (NULL) {}
function_4 | ( | function_4_rep< D, S1, S2, S3, S4 > * | rep2 | ) | [inline] |
Definition at line 348 of file function.hpp.
00348 : rep (rep2) {}
function_4 | ( | function_4_rep< D, S1, S2, S3, S4 > * | rep2, | |
bool | with_inc | |||
) | [inline] |
Definition at line 349 of file function.hpp.
References INC_COUNT, and function_4< D, S1, S2, S3, S4 >::rep.
00349 : 00350 rep (rep2) { (void) with_inc; INC_COUNT (rep); } inline function_4 (const function_4& f):
function_4 | ( | const function_4< D, S1, S2, S3, S4 > & | f | ) | [inline] |
Definition at line 351 of file function.hpp.
References INC_NULL_COUNT, and function_4< D, S1, S2, S3, S4 >::rep.
00351 : 00352 rep (f.rep) { INC_NULL_COUNT(rep); } inline function_4 (D (*fun) (S1, S2, S3, S4)):
function_4 | ( | D(*)(S1, S2, S3, S4) | fun | ) | [inline] |
Definition at line 353 of file function.hpp.
00353 : 00354 rep (new def_function_4_rep<D,S1,S2,S3,S4> (fun)) {} inline ~function_4 () { DEC_NULL_COUNT (rep); }
~function_4 | ( | ) | [inline] |
Definition at line 355 of file function.hpp.
References DEC_NULL_COUNT, and function_4< D, S1, S2, S3, S4 >::rep.
00355 { DEC_NULL_COUNT (rep); }
D operator() | ( | S1 | x1, | |
S2 | x2, | |||
S3 | x3, | |||
S4 | x4 | |||
) | const [inline] |
Definition at line 359 of file function.hpp.
References function_4< D, S1, S2, S3, S4 >::rep.
00359 { 00360 return rep->apply (x1, x2, x3, x4); }
function_4& operator= | ( | const function_4< D, S1, S2, S3, S4 > & | f | ) | [inline] |
Definition at line 356 of file function.hpp.
References DEC_NULL_COUNT, INC_NULL_COUNT, and function_4< D, S1, S2, S3, S4 >::rep.
00356 { 00357 INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep); 00358 rep= f.rep; return *this; }
function_4_rep<D,S1,S2,S3,S4>* rep |
Definition at line 346 of file function.hpp.
Referenced by function_4< D, S1, S2, S3, S4 >::function_4(), function_4< D, S1, S2, S3, S4 >::operator()(), function_4< D, S1, S2, S3, S4 >::operator=(), and function_4< D, S1, S2, S3, S4 >::~function_4().