Wrapper around a metadata container to create metadata information on demand, by projecting the container's domain into the view's domain.
More...
|
| projected_container (View *view, lower_md_cont_type *md) |
| Constructs a projected_container wrapper over the c view using the given metadata container md .
|
|
reference | operator[] (index_type index) |
|
size_t | size () const |
|
dimensions_type | dimensions () const |
|
domain_type | domain () const |
|
index_type | get_local_vid (index_type index) const |
|
template<typename T > |
void | push_back_here (T const &) |
| Adds the given metadata information in to the local storage. More...
|
|
size_t | local_size () const |
| Returns the number of local elements (number of elements in the base container). More...
|
|
dimensions_type | local_dimensions () const |
|
location_type | get_location_element (index_type index) const |
|
void | update () |
| Verify that all the elements that need to be stored in this location were assigned. More...
|
|
|
typedef std::remove_pointer< typename MDContainer::second_type >::type | lower_md_cont_type |
|
typedef lower_md_cont_type::domain_type | domain_type |
|
typedef lower_md_cont_type::dimensions_type | dimensions_type |
|
typedef lower_md_cont_type::index_type | index_type |
|
typedef View::domain_type | domain_t |
|
typedef metadata_entry< domain_t, typename lower_md_cont_type::value_type::component_type, typename lower_md_cont_type::value_type::cid_type > | value_type |
|
typedef value_type | reference |
|
typedef metadata_ctor_func< View, MDContainer > | transform_t |
|
|
View | m_view |
|
lower_md_cont_type * | m_md |
|
template<typename View, typename MDContainer>
struct stapl::metadata::projected_container< View, MDContainer >
Wrapper around a metadata container to create metadata information on demand, by projecting the container's domain into the view's domain.
- Parameters
-
View | Type of view from which the metadata is created. |
- Template Parameters
-
MDContainer | Type of the metadata container used to represent the metadata information |
◆ get_local_vid()
template<typename View , typename MDContainer >
◆ push_back_here()
template<typename View , typename MDContainer >
template<typename T >
Adds the given metadata information in to the local storage.
This class does not support push_back_here
.
◆ local_size()
template<typename View , typename MDContainer >
Returns the number of local elements (number of elements in the base container).
◆ get_location_element()
template<typename View , typename MDContainer >
◆ update()
template<typename View , typename MDContainer >
Verify that all the elements that need to be stored in this location were assigned.
This class does not support push_back_here
.
The documentation for this struct was generated from the following file: