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 <Core.h>
Public Types | |
typedef boost::mpl::int_< 0 > | ND |
typedef boost::intrusive_ptr < Core > | Ptr |
typedef boost::intrusive_ptr < Core const > | ConstPtr |
Public Member Functions | |
Ptr | copy () const |
int | getSize () const |
int | getStride () const |
template<int M> | |
int | computeOffset (Vector< int, M > const &index) const |
Recursively compute the offset to an element. More... | |
Manager::Ptr | getManager () const |
Return the Manager that determines the lifetime of the array data. More... | |
void | setManager (Manager::Ptr const &manager) |
Set the Manager that determines the lifetime of the array data. More... | |
template<int M> | |
void | fillShape (Vector< int, M > const &shape) const |
Recursively fill a shape vector. More... | |
template<int M> | |
void | fillStrides (Vector< int, M > const &strides) const |
Recursively fill a strides vector. More... | |
int | getNumElements () const |
Recursively determine the total number of elements. More... | |
int | getRC () const |
Return the reference count (for debugging purposes). More... | |
bool | isUnique () const |
Return true if the Core and Manager reference counts are 1 and the manager is unique. More... | |
Protected Member Functions | |
virtual | ~Core () |
template<int M> | |
Core (Vector< int, M > const &shape, Vector< int, M > const &strides, Manager::Ptr const &manager) | |
template<int M> | |
Core (Vector< int, M > const &shape, Manager::Ptr const &manager) | |
template<int M> | |
Core (Vector< int, M > const &shape, int stride, Manager::Ptr const &manager) | |
Core (Manager::Ptr const &manager) | |
Core (Core const &other) | |
Private Attributes | |
Manager::Ptr | _manager |
int | _rc |
Friends | |
void | intrusive_ptr_add_ref (Core const *core) |
void | intrusive_ptr_release (Core const *core) |
typedef boost::intrusive_ptr<Core const> ndarray::detail::Core< 0 >::ConstPtr |
typedef boost::mpl::int_<0> ndarray::detail::Core< 0 >::ND |
typedef boost::intrusive_ptr<Core> ndarray::detail::Core< 0 >::Ptr |
|
inlineprotectedvirtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
Definition at line 197 of file Core.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
mutableprivate |