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::multi_gid_set< Registry, Storage > Class Template Reference

A set of GIDs, where GIDs can be stored across multiple base containers. More...

Public Member Functions

 multi_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 clear ()
 Clear the GID set.
 
void swap (multi_gid_set &other)
 Swap the storage with another GID set.
 

Public Types

using gid_type = typename base_container_type::gid_type
 
using iterator = multi_gid_set_iterator< map_type, mapping_function_type, reference_type >
 

Detailed Description

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

A set of GIDs, where GIDs can be stored across multiple base containers.

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: