Public Member Functions | List of all members
vnl_identity< T > Class Template Reference

#include <vnl_fwd.h>

Inheritance diagram for vnl_identity< T >:
Inheritance graph
[legend]

Public Member Functions

vnl_unary_function< T, T > * Copy () const override
 Copy should allocate a copy of this on the heap and return it. More...
 
f (T const &x) override
 Apply the function. More...
 
virtual T get_range_min () const
 Return bounding cube of range (outputs). More...
 
virtual T get_range_max () const
 Return bounding cube of range (outputs). More...
 

Detailed Description

template<class T>
class vnl_identity< T >

Definition at line 33 of file vnl_fwd.h.

Member Function Documentation

◆ Copy()

template<class T>
vnl_unary_function<T,T>* vnl_identity< T >::Copy ( ) const
inlineoverridevirtual

Copy should allocate a copy of this on the heap and return it.

If Subclasses do not implement this function, it will return null, but many applications will never call it, so this may not be a problem for you.

Reimplemented from vnl_unary_function< T, T >.

Definition at line 22 of file vnl_identity.h.

◆ f()

template<class T>
T vnl_identity< T >::f ( T const &  i)
inlineoverridevirtual

Apply the function.

The name is "f" rather than operator(), as the function will generally be called through a pointer. Note that the function is NOT const when you subclass.

Implements vnl_unary_function< T, T >.

Definition at line 28 of file vnl_identity.h.

◆ get_range_max()

RETURN vnl_unary_function< RETURN, ARGUMENT >::get_range_max ( ) const
virtualinherited

Return bounding cube of range (outputs).

Definition at line 36 of file vnl_unary_function.hxx.

◆ get_range_min()

RETURN vnl_unary_function< RETURN, ARGUMENT >::get_range_min ( ) const
virtualinherited

Return bounding cube of range (outputs).

Definition at line 29 of file vnl_unary_function.hxx.


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