GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Types | Private Attributes | List of all members
functor< RT, PT > Class Template Reference

#include "functor.h"

Collaboration diagram for functor< RT, PT >:
Collaboration graph
[legend]

Public Member Functions

 functor (fcn_ptr_type p)
 
RT operator() (PT arg)
 

Private Types

typedef fcn_ptr< RT, PT >::TYPE fcn_ptr_type
 

Private Attributes

fcn_ptr_type fptr
 

Detailed Description

template<typename RT, typename PT>
class functor< RT, PT >

Definition at line 34 of file functor.h.

Member Typedef Documentation

template<typename RT , typename PT >
typedef fcn_ptr<RT, PT>::TYPE functor< RT, PT >::fcn_ptr_type
private

Definition at line 37 of file functor.h.

Constructor & Destructor Documentation

template<typename RT , typename PT >
functor< RT, PT >::functor ( fcn_ptr_type  p)
inline

Definition at line 42 of file functor.h.

Member Function Documentation

template<typename RT , typename PT >
RT functor< RT, PT >::operator() ( PT  arg)
inline

Definition at line 44 of file functor.h.

References functor< RT, PT >::fptr.

Member Data Documentation

template<typename RT , typename PT >
fcn_ptr_type functor< RT, PT >::fptr
private

Definition at line 38 of file functor.h.

Referenced by functor< RT, PT >::operator()().


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