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
|
#include <BaseColumnView.h>
Public Types | |
typedef RecordT | Record |
typedef RecordT::Table | Table |
Public Member Functions | |
boost::shared_ptr< Table > | getTable () const |
Return the table that owns the records. More... | |
Public Member Functions inherited from lsst::afw::table::BaseColumnView | |
boost::shared_ptr< BaseTable > | getTable () const |
Return the table that owns the records. More... | |
Schema | getSchema () const |
Return the schema that defines the fields. More... | |
template<typename T > | |
ndarray::ArrayRef< T, 1 > const | operator[] (Key< T > const &key) const |
Return a 1-d array corresponding to a scalar field (or subfield). More... | |
template<typename T > | |
ndarray::ArrayRef< T, 2, 1 > const | operator[] (Key< Array< T > > const &key) const |
Return a 2-d array corresponding to an array field. More... | |
ndarray::result_of::vectorize < detail::FlagExtractor, ndarray::Array< Field< Flag > ::Element const, 1 > >::type | operator[] (Key< Flag > const &key) const |
Return a 1-d array expression corresponding to a flag bit. More... | |
BitsColumn | getBits (std::vector< Key< Flag > > const &keys) const |
Return an integer array with the given Flag fields repacked into individual bits. More... | |
BitsColumn | getAllBits () const |
Return an integer array with all Flag fields repacked into individual bits. More... | |
~BaseColumnView () | |
Static Public Member Functions | |
template<typename InputIterator > | |
static ColumnViewT | make (boost::shared_ptr< Table > const &table, InputIterator first, InputIterator last) |
Construct a BaseColumnView from an iterator range. More... | |
Static Public Member Functions inherited from lsst::afw::table::BaseColumnView | |
template<typename InputIterator > | |
static BaseColumnView | make (boost::shared_ptr< BaseTable > const &table, InputIterator first, InputIterator last) |
Construct a BaseColumnView from an iterator range. More... | |
template<typename InputIterator > | |
static bool | isRangeContiguous (boost::shared_ptr< BaseTable > const &table, InputIterator first, InputIterator last) |
Return true if the given record iterator range is continuous and the records all belong to the given table. More... | |
Protected Member Functions | |
ColumnViewT (BaseColumnView const &base) | |
Protected Member Functions inherited from lsst::afw::table::BaseColumnView | |
BaseColumnView (boost::shared_ptr< BaseTable > const &table, int recordCount, void *buf, ndarray::Manager::Ptr const &manager) | |
Definition at line 168 of file BaseColumnView.h.
typedef RecordT lsst::afw::table::ColumnViewT< RecordT >::Record |
Definition at line 171 of file BaseColumnView.h.
typedef RecordT::Table lsst::afw::table::ColumnViewT< RecordT >::Table |
Definition at line 172 of file BaseColumnView.h.
|
inlineexplicitprotected |
Definition at line 185 of file BaseColumnView.h.
|
inline |
Return the table that owns the records.
Definition at line 175 of file BaseColumnView.h.
|
inlinestatic |
Construct a BaseColumnView from an iterator range.
The iterators must dereference to a reference or const reference to a record. If the record data is not contiguous in memory, throws lsst::pex::exceptions::RuntimeError.
Definition at line 179 of file BaseColumnView.h.