Template Class NullFunction1

Inheritance Relationships

Base Type

Class Documentation

template<typename ReturnT>
class NullFunction1 : public lsst::afw::math::Function1<ReturnT>

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

Public Functions

NullFunction1()
std::shared_ptr<Function1<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 concrete subclass must override this method.

Return

a pointer to a deep copy of the function