lsst.afw  21.0.0-13-g512c41855+47cba9fc36
Public Types | Public Member Functions | Friends | List of all members
lsst::afw::table::BitsColumn Class Referencefinal

A packed representation of a collection of Flag field columns. More...

#include <BaseColumnView.h>

Public Types

typedef std::int64_t IntT
 

Public Member Functions

ndarray::Array< IntT, 1, 1 > getArray () const
 
IntT getBit (Key< Flag > const &key) const
 
IntT getBit (std::string const &name) const
 
IntT getMask (Key< Flag > const &key) const
 
IntT getMask (std::string const &name) const
 
std::vector< SchemaItem< Flag > > const & getSchemaItems () const
 

Friends

class BaseColumnView
 

Detailed Description

A packed representation of a collection of Flag field columns.

The packing of bits here is not necessarily the same as the packing using in the actual table, as the latter may contain more than 64 bits spread across multiple integers.

A BitsColumn can only be constructed by calling BaseColumnView::getBits().

Definition at line 42 of file BaseColumnView.h.

Member Typedef Documentation

◆ IntT

Definition at line 44 of file BaseColumnView.h.

Member Function Documentation

◆ getArray()

ndarray::Array<IntT, 1, 1> lsst::afw::table::BitsColumn::getArray ( ) const
inline

Definition at line 46 of file BaseColumnView.h.

◆ getBit() [1/2]

BitsColumn::IntT lsst::afw::table::BitsColumn::getBit ( Key< Flag > const &  key) const

Definition at line 33 of file BaseColumnView.cc.

◆ getBit() [2/2]

BitsColumn::IntT lsst::afw::table::BitsColumn::getBit ( std::string const &  name) const

Definition at line 42 of file BaseColumnView.cc.

◆ getMask() [1/2]

IntT lsst::afw::table::BitsColumn::getMask ( Key< Flag > const &  key) const
inline

Definition at line 51 of file BaseColumnView.h.

◆ getMask() [2/2]

IntT lsst::afw::table::BitsColumn::getMask ( std::string const &  name) const
inline

Definition at line 52 of file BaseColumnView.h.

◆ getSchemaItems()

std::vector<SchemaItem<Flag> > const& lsst::afw::table::BitsColumn::getSchemaItems ( ) const
inline

Definition at line 54 of file BaseColumnView.h.

Friends And Related Function Documentation

◆ BaseColumnView

friend class BaseColumnView
friend

Definition at line 57 of file BaseColumnView.h.


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