lsst.afw  20.0.0-4-gde602ef96+5
Public Member Functions | Static Public Attributes | List of all members
lsst::afw::table::KeyBase< Array< U > > Class Template Reference

KeyBase specialization for Arrays. More...

#include <KeyBase.h>

Public Member Functions

std::vector< U > extractVector (BaseRecord const &record) const
 
void assignVector (BaseRecord &record, std::vector< U > const &values) const
 
Key< U > operator[] (int i) const
 Return a subfield key for the i-th element of the array. More...
 
Key< Array< U > > slice (int begin, int end) const
 Return a key for a range of elements. More...
 

Static Public Attributes

static bool const HAS_NAMED_SUBFIELDS = false
 

Detailed Description

template<typename U>
class lsst::afw::table::KeyBase< Array< U > >

KeyBase specialization for Arrays.

Definition at line 27 of file KeyBase.h.

Member Function Documentation

◆ assignVector()

template<typename U >
void lsst::afw::table::KeyBase< Array< U > >::assignVector ( BaseRecord record,
std::vector< U > const &  values 
) const

Definition at line 37 of file KeyBase.cc.

◆ extractVector()

template<typename U >
std::vector< U > lsst::afw::table::KeyBase< Array< U > >::extractVector ( BaseRecord const &  record) const

Definition at line 28 of file KeyBase.cc.

◆ operator[]()

template<typename U >
Key< U > lsst::afw::table::KeyBase< Array< U > >::operator[] ( int  i) const

Return a subfield key for the i-th element of the array.

Definition at line 43 of file KeyBase.cc.

◆ slice()

template<typename U >
Key< Array< U > > lsst::afw::table::KeyBase< Array< U > >::slice ( int  begin,
int  end 
) const

Return a key for a range of elements.

Definition at line 56 of file KeyBase.cc.

Member Data Documentation

◆ HAS_NAMED_SUBFIELDS

template<typename U >
bool const lsst::afw::table::KeyBase< Array< U > >::HAS_NAMED_SUBFIELDS = false
static

Definition at line 29 of file KeyBase.h.


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