Itoyori  v0.0.1
ityr::ori::region_set< T > Class Template Reference

#include <block_region_set.hpp>

Public Types

using iterator = typename std::forward_list< region< T > >::iterator
 
using const_iterator = typename std::forward_list< region< T > >::const_iterator
 

Public Member Functions

 region_set ()
 
 region_set (std::initializer_list< region< T >> regions)
 
auto & get ()
 
const auto & get () const
 
iterator before_begin ()
 
iterator begin ()
 
iterator end ()
 
const_iterator before_begin () const
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
void clear ()
 
iterator add (const region< T > &r, iterator begin_it)
 
iterator add (const region< T > &r)
 
void remove (const region< T > &r)
 
bool include (const region< T > &r) const
 
region_set< T > complement (region< T > r) const
 
region_set< T > intersection (const region< T > &r) const
 
region_set< T > intersection (const region_set< T > &rs) const
 
std::size_t size () const
 

Member Typedef Documentation

◆ const_iterator

template<typename T >
using ityr::ori::region_set< T >::const_iterator = typename std::forward_list<region<T> >::const_iterator

◆ iterator

template<typename T >
using ityr::ori::region_set< T >::iterator = typename std::forward_list<region<T> >::iterator

Constructor & Destructor Documentation

◆ region_set() [1/2]

template<typename T >
ityr::ori::region_set< T >::region_set ( )
inline

◆ region_set() [2/2]

template<typename T >
ityr::ori::region_set< T >::region_set ( std::initializer_list< region< T >>  regions)
inline

Member Function Documentation

◆ add() [1/2]

template<typename T >
iterator ityr::ori::region_set< T >::add ( const region< T > &  r)
inline

◆ add() [2/2]

template<typename T >
iterator ityr::ori::region_set< T >::add ( const region< T > &  r,
iterator  begin_it 
)
inline

◆ before_begin() [1/2]

template<typename T >
iterator ityr::ori::region_set< T >::before_begin ( )
inline

◆ before_begin() [2/2]

template<typename T >
const_iterator ityr::ori::region_set< T >::before_begin ( ) const
inline

◆ begin() [1/2]

template<typename T >
iterator ityr::ori::region_set< T >::begin ( )
inline

◆ begin() [2/2]

template<typename T >
const_iterator ityr::ori::region_set< T >::begin ( ) const
inline

◆ clear()

template<typename T >
void ityr::ori::region_set< T >::clear ( )
inline

◆ complement()

template<typename T >
region_set<T> ityr::ori::region_set< T >::complement ( region< T >  r) const
inline

◆ empty()

template<typename T >
bool ityr::ori::region_set< T >::empty ( ) const
inline

◆ end() [1/2]

template<typename T >
iterator ityr::ori::region_set< T >::end ( )
inline

◆ end() [2/2]

template<typename T >
const_iterator ityr::ori::region_set< T >::end ( ) const
inline

◆ get() [1/2]

template<typename T >
auto& ityr::ori::region_set< T >::get ( )
inline

◆ get() [2/2]

template<typename T >
const auto& ityr::ori::region_set< T >::get ( ) const
inline

◆ include()

template<typename T >
bool ityr::ori::region_set< T >::include ( const region< T > &  r) const
inline

◆ intersection() [1/2]

template<typename T >
region_set<T> ityr::ori::region_set< T >::intersection ( const region< T > &  r) const
inline

◆ intersection() [2/2]

template<typename T >
region_set<T> ityr::ori::region_set< T >::intersection ( const region_set< T > &  rs) const
inline

◆ remove()

template<typename T >
void ityr::ori::region_set< T >::remove ( const region< T > &  r)
inline

◆ size()

template<typename T >
std::size_t ityr::ori::region_set< T >::size ( ) const
inline

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