lsst.afw  20.0.0-4-gde602ef96+5
Public Types | Public Member Functions | List of all members
lsst::afw::table::OutputFunctorKey< T > Class Template Referenceabstract

Base class for objects that can extract a value from a record, but are not a true Key themselves. More...

#include <FunctorKey.h>

Inheritance diagram for lsst::afw::table::OutputFunctorKey< T >:
lsst::afw::table::FunctorKey< T >

Public Types

using Value = T
 The data type for get. More...
 

Public Member Functions

virtual T get (BaseRecord const &record) const =0
 
virtual ~OutputFunctorKey () noexcept=default
 

Detailed Description

template<typename T>
class lsst::afw::table::OutputFunctorKey< T >

Base class for objects that can extract a value from a record, but are not a true Key themselves.

Objects that inherit from OutputFunctorKey can be passed to BaseRecord::get(), just as true Keys can, but the record will simply pass itself to OutputFunctorKey::get() and return the result.

Definition at line 40 of file FunctorKey.h.

Member Typedef Documentation

◆ Value

template<typename T >
using lsst::afw::table::OutputFunctorKey< T >::Value = T

The data type for get.

Definition at line 43 of file FunctorKey.h.

Constructor & Destructor Documentation

◆ ~OutputFunctorKey()

template<typename T >
virtual lsst::afw::table::OutputFunctorKey< T >::~OutputFunctorKey ( )
virtualdefaultnoexcept

Member Function Documentation

◆ get()

template<typename T >
virtual T lsst::afw::table::OutputFunctorKey< T >::get ( BaseRecord const &  record) const
pure virtual

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