|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Read-only view into an array. More...
#include <rexlib/core/ndarray/const_array.hpp>
Public Member Functions | |
| const_array () | |
| Construct an uninitialized array view. | |
| const_array (std::shared_ptr< const array_implementation > implementation) noexcept | |
| Construct a const_array from a shared pointer to the implementation. | |
| const_array (const const_array &other)=delete | |
| const_array (const_array &&other) noexcept | |
| const_array & | operator= (const const_array &other)=delete |
| const_array & | operator= (const_array &&other) noexcept |
| const array_descriptor & | get_descriptor () const noexcept |
| Get the descriptor of this array. | |
| const buffer * | get_storage () const noexcept |
| Get the storage of this array. | |
| std::shared_ptr< const buffer > | share_storage () const noexcept |
| Get the storage of this const_array. | |
| const_array | share () const noexcept |
| Obtain an alias for this array. | |
| access_hazard_tracker * | get_access_hazard_tracker () const noexcept |
| Get the tracker of the commands that access the memory of this array. | |
| const array_implementation * | get_implementation () const noexcept |
| Get a pointer to the implementation. | |
Read-only view into an array.
A const_array shares ownership of the implementation with another array, but it only allows read-only semantics with it.
|
explicitnoexcept |
Construct a const_array from a shared pointer to the implementation.
| implementation | The implementation to be owned by this. |
|
noexcept |
Get the tracker of the commands that access the memory of this array.
Arrays obtained from one another share one tracker. Arrays built separately over the same storage do not.
|
noexcept |
Get the descriptor of this array.
|
noexcept |
Get a pointer to the implementation.
Get the storage of this array.
|
noexcept |
Obtain an alias for this array.
Get the storage of this const_array.