#include <Access.h>
Definition at line 29 of file Access.h.
template<typename T >
static Key<typename Key<T>::Element> lsst.afw.table::detail::Access::extractElement |
( |
KeyBase< T > const & |
kb, |
|
|
int |
n |
|
) |
| |
|
inlinestatic |
Definition at line 34 of file Access.h.
35 if (!
static_cast<Key<T>
const &
>(kb).isValid()) {
37 pex::exceptions::LogicError,
38 (
boost::format(
"Cannot extract subfield key from invalid key of type '%s' "
39 "(most often this is caused by failing to setup centroid or shape slots)")
40 % Key<T>::getTypeString()).str()
43 return Key<typename Key<T>::Element>(
44 static_cast<Key<T>
const &
>(kb).getOffset() + n *
sizeof(
typename Key<T>::Element)
#define LSST_EXCEPT(type,...)
template<typename T >
static Key< Array<T> > lsst.afw.table::detail::Access::extractRange |
( |
KeyBase< Array< T > > const & |
kb, |
|
|
int |
begin, |
|
|
int |
end |
|
) |
| |
|
inlinestatic |
Definition at line 50 of file Access.h.
51 if (!
static_cast<Key< Array<T>
> const &>(kb).isValid()) {
53 pex::exceptions::LogicError,
54 (
boost::format(
"Cannot extract subfield key from invalid key of type '%s' ")
55 % Key<T>::getTypeString()).str()
58 return Key< Array<T> >(
59 static_cast<Key< Array<T>
> const &>(kb).getOffset() + begin *
sizeof(
typename Key<T>::Element),
#define LSST_EXCEPT(type,...)
template<typename T >
static Key<T> lsst.afw.table::detail::Access::makeKey |
( |
int |
offset | ) |
|
|
inlinestatic |
Definition at line 66 of file Access.h.
67 return Key<T>(offset);
template<typename T >
static Key<T> lsst.afw.table::detail::Access::makeKey |
( |
Field< T > const & |
field, |
|
|
int |
offset |
|
) |
| |
|
inlinestatic |
static Key<Flag> lsst.afw.table::detail::Access::makeKey |
( |
int |
offset, |
|
|
int |
bit |
|
) |
| |
|
inlinestatic |
Definition at line 77 of file Access.h.
78 return Key<Flag>(offset, bit);
static void lsst.afw.table::detail::Access::padSchema |
( |
Schema & |
schema, |
|
|
int |
bytes |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- /home/lsstsw/stack/Linux64/afw/11.0.rc2+4/include/lsst/afw/table/detail/Access.h