Opm::IOrderSet< T > Class Template Reference

#include <IOrderSet.hpp>

Inheritance diagram for Opm::IOrderSet< T >:
Inheritance graph

Public Types

using storage_type = typename std::vector< T >
 
using index_type = typename std::unordered_set< T >
 
using const_iter_type = typename storage_type::const_iterator
 

Public Member Functions

 IOrderSet ()=default
 
 IOrderSet (const index_type &index, const storage_type &data)
 
std::size_t size () const
 
bool empty () const
 
std::size_t count (const T &value) const
 
bool contains (const T &value) const
 
bool insert (const T &value)
 
std::size_t erase (const T &value)
 
const_iter_type begin () const
 
const_iter_type end () const
 
const T & operator[] (std::size_t i) const
 
const std::vector< T > & data () const
 
bool operator== (const IOrderSet< T > &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Member Typedef Documentation

◆ const_iter_type

template<typename T >
using Opm::IOrderSet< T >::const_iter_type = typename storage_type::const_iterator

◆ index_type

template<typename T >
using Opm::IOrderSet< T >::index_type = typename std::unordered_set<T>

◆ storage_type

template<typename T >
using Opm::IOrderSet< T >::storage_type = typename std::vector<T>

Constructor & Destructor Documentation

◆ IOrderSet() [1/2]

template<typename T >
Opm::IOrderSet< T >::IOrderSet ( )
default

◆ IOrderSet() [2/2]

template<typename T >
Opm::IOrderSet< T >::IOrderSet ( const index_type index,
const storage_type data 
)
inline

Member Function Documentation

◆ begin()

template<typename T >
const_iter_type Opm::IOrderSet< T >::begin ( ) const
inline

◆ contains()

template<typename T >
bool Opm::IOrderSet< T >::contains ( const T &  value) const
inline

◆ count()

template<typename T >
std::size_t Opm::IOrderSet< T >::count ( const T &  value) const
inline

◆ data()

template<typename T >
const std::vector< T > & Opm::IOrderSet< T >::data ( ) const
inline

◆ empty()

template<typename T >
bool Opm::IOrderSet< T >::empty ( ) const
inline

◆ end()

template<typename T >
const_iter_type Opm::IOrderSet< T >::end ( ) const
inline

◆ erase()

template<typename T >
std::size_t Opm::IOrderSet< T >::erase ( const T &  value)
inline

◆ insert()

template<typename T >
bool Opm::IOrderSet< T >::insert ( const T &  value)
inline

◆ operator==()

template<typename T >
bool Opm::IOrderSet< T >::operator== ( const IOrderSet< T > &  data) const
inline

◆ operator[]()

template<typename T >
const T & Opm::IOrderSet< T >::operator[] ( std::size_t  i) const
inline

◆ serializeOp()

template<typename T >
template<class Serializer >
void Opm::IOrderSet< T >::serializeOp ( Serializer serializer)
inline

Referenced by Opm::Group::serializeOp().

◆ size()

template<typename T >
std::size_t Opm::IOrderSet< T >::size ( ) const
inline

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