Used as the return value for coarse_map_wf. Implements concept of Array.
More...
|
| cm_res_view (void) |
| Default construction allocates no storage.
|
|
| cm_res_view (size_t n) |
| Allocates uninitialized underlying storage for n elements.
|
|
| cm_res_view (size_t n, value_type const &init) |
| Allocates underlying storage for n elements initialized to init .
|
|
| cm_res_view (cm_res_view const &other) |
| Increment reference count in element holder during copy construction.
|
|
| ~cm_res_view (void) |
| Decrement reference count in element holder during destruction.
|
|
cm_res_view const & | operator= (cm_res_view const &rhs) |
| Updates reference counting in lhs and rhs element holders during assignment operation.
|
|
bool | is_local (void) const |
| Required interface for PARAGRAPH localization. Unconditionally returns true as view is created on consuming PARAGRAPH location.
|
|
container_type & | container (void) const |
|
size_t | size (void) const |
| Return the number of elements in the underlying container.
|
|
reference | operator[] (std::size_t idx) |
| Return a reference to the value at index idx in the underlying container.
|
|
const_reference | operator[] (std::size_t idx) const |
| Return a reference to the value at index idx in the underlying container.
|
|
const_iterator | begin (void) const |
| Return an iterator to the first element of the container.
|
|
const_iterator | end (void) const |
| Return an iterator to the end (one past the last element) of the container.
|
|
cm_res_view | deep_copy (void) const |
| Interface used by the edge_container to force the container underlying a cm_res_view to be copied out of the runtime buffer during an RMI invocation.
|
|
|
typedef void | is_view_ |
|
typedef Container | container_type |
|
typedef Container::reference | reference |
|
typedef Container::const_reference | const_reference |
|
typedef Container::iterator | iterator |
|
typedef Container::const_iterator | const_iterator |
|
typedef Container::value_type | value_type |
|
typedef cm_res_view | fast_view_type |
|
typedef ref_cnt_elem_holder< Container > | holder_t |
|
|
holder_t * | m_elem_ptr |
| Pointer to underlying elements container held in a reference counting structure that also attempts to recycle previously allocated buffers.
|
|
template<typename Container>
class stapl::composition::cm_res_view< Container >
Used as the return value for coarse_map_wf. Implements concept of Array.
- Template Parameters
-
Container | The type of underlying storage employed to store elements for this view. |
The documentation for this class was generated from the following file: