Template Class NullFunction2

Inheritance Relationships

Base Type

Class Documentation

template<typename ReturnT>
class NullFunction2 : public lsst::afw::math::Function2<ReturnT>

a class used in function calls to indicate that no Function2 is being provided

Public Functions

NullFunction2()
std::shared_ptr<Function2<ReturnT>> clone() const

Return a pointer to a deep copy of this function

This function exists instead of a copy constructor so one can obtain a copy of an actual function instead of a useless copy of the base class.

Every non-virtual function must override this method.

Return

a pointer to a deep copy of the function