LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Types | Public Member Functions | List of all members
lsst::afw::table::FunctorKey< T > Class Template Referenceabstract

Convenience base class that combines the OutputFunctorKey and InputFunctorKey. More...

#include <FunctorKey.h>

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

Public Types

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

Public Member Functions

virtual T get (BaseRecord const &record) const =0
 
virtual void set (BaseRecord &record, T const &value) const =0
 

Detailed Description

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

Convenience base class that combines the OutputFunctorKey and InputFunctorKey.

Most objects that can set a calculated or compound value from a record can also get that value back, so we provide this class to aggregate those interfaces.

Definition at line 74 of file FunctorKey.h.

Member Typedef Documentation

◆ Value

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

The data type for get and set.

Definition at line 77 of file FunctorKey.h.

Member Function Documentation

◆ get()

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

◆ set()

template<typename T>
virtual void lsst::afw::table::InputFunctorKey< T >::set ( BaseRecord record,
T const &  value 
) const
pure virtualinherited

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