STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::cm_impl::single_gid_set< Registry, Storage > Class Template Reference

A set of GIDs, where all GIDs are in the same base container. More...

Public Member Functions

 single_gid_set (Registry *registry)
 
void add (gid_type const &v)
 Add a GID to the set.
 
iterator begin ()
 An iterator to the element referenced by the first GID in the set.
 
iterator end ()
 An iterator to the element referenced by one past the last GID in the set.
 
void swap (single_gid_set &other)
 Swap the storage with another GID set.
 
void clear ()
 Clear the GID set.
 

Public Types

using gid_type = typename base_container_type::gid_type
 
using iterator = single_gid_set_iterator< base_container_type, typename vector_type::iterator, mapping_function_type, reference_type >
 

Detailed Description

template<typename Registry, typename Storage = std::vector<typename Registry::gid_type>>
class stapl::cm_impl::single_gid_set< Registry, Storage >

A set of GIDs, where all GIDs are in the same base container.

Template Parameters
RegistryThe container manager's registry type
StorageHow the GIDs will be stored internally

The documentation for this class was generated from the following file: