Class for computing the metadata of static containers that use container_manager_static that inherits from the base-container, and thus, is the base-container itself. This type of container manager has only one component per location.
More...
|
md_collection_type | local_entries (distribution_type *dist) const |
| Create a collection of metadata entries for all of the entries on this location. More...
|
|
template<typename Container , typename Accessor > |
return_type | operator() (proxy< Container, Accessor > *proxy_cont) const |
| Return the metadata of a reference to a container. More...
|
|
return_type | operator() (container_type *cont) const |
| Return the metadata of the specified container. More...
|
|
return_type | operator() (distribution_type *dist) const |
| Return the metadata of the specified distribution. More...
|
|
|
using | distribution_type = typename extractor_traits< Derived >::distribution_type |
|
using | md_collection_type = std::vector< std::pair< index_type, md_entry_type > > |
|
using | return_type = std::pair< bool, md_container_type * > |
|
template<typename Derived>
class stapl::metadata::container_extractor_base< Derived >
Class for computing the metadata of static containers that use container_manager_static that inherits from the base-container, and thus, is the base-container itself. This type of container manager has only one component per location.
- Template Parameters
-
Distribution | Type of the Distribution. |
- Note
- this is different from the static_array_metadata primarily due to the metadata used. This class uses the flat_container whereas the static_array_metadata uses the metadata_container_wrapper.
◆ local_entries()
template<typename Derived>
Create a collection of metadata entries for all of the entries on this location.
- Parameters
-
dist | The distribution for the container that the extraction process is for |
- Returns
- A collection of pairs, where the first element is the index of an entry and the second element is the entry itself
◆ operator()() [1/3]
template<typename Derived>
template<typename Container , typename Accessor >
Return the metadata of a reference to a container.
- See also
- metadata_entry.
- Parameters
-
cont | A pointer to the container. |
Calls the operator on the distribution of the provided container.
◆ operator()() [2/3]
template<typename Derived>
Return the metadata of the specified container.
- See also
- metadata_entry.
- Parameters
-
cont | A pointer to the container. |
Calls the operator on the distribution of the provided container.
◆ operator()() [3/3]
template<typename Derived>
Return the metadata of the specified distribution.
- See also
- metadata_entry.
- Parameters
-
dist | A pointer to the distribution. |
The documentation for this class was generated from the following file:
- container_extractor_base.hpp