LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::afw::table::ReferenceFunctorKey< T > Class Template Referenceabstract

#include <FunctorKey.h>

Public Member Functions

virtual T getReference (BaseRecord &record) const =0
 
virtual ~ReferenceFunctorKey ()
 

Detailed Description

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

Base class for objects that can return a non-const reference to part of a record, but are not a true Key

Objects that inherit from ReferenceFunctorKey can be passed to BaseRecord::operator[], just as true Keys can, but the record will simply pass itself to ReferenceFunctorKey::getReference().

Note
We'd combine this with the ConstReferenceFunctorKey interface if it weren't for the fact that we can't pass multiple template arguments to a Swig macro if either contains commas, and we'd need that to wrap a combined interface base class.

Definition at line 83 of file FunctorKey.h.

Constructor & Destructor Documentation

template<typename T>
virtual lsst::afw::table::ReferenceFunctorKey< T >::~ReferenceFunctorKey ( )
inlinevirtual

Definition at line 90 of file FunctorKey.h.

90 {}

Member Function Documentation

template<typename T>
virtual T lsst::afw::table::ReferenceFunctorKey< T >::getReference ( BaseRecord record) const
pure virtual

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