vdj_pipe
pipeline for processing DNA sequence data
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
vdj_pipe::detail::Vector_set< T, Alloc > Class Template Reference

Collection of unique objects stored in an ordered vector. More...

#include <vector_set.hpp>

Collaboration diagram for vdj_pipe::detail::Vector_set< T, Alloc >:
Collaboration graph
[legend]

Public Types

typedef Vector_set self_type
 
typedef T value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef stor_t::iterator iterator
 
typedef stor_t::const_iterator const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
value_type const & front () const
 
value_type const & back () const
 
std::size_t size () const
 
bool empty () const
 
void reserve (const std::size_t n)
 
void pop_back ()
 
void clear ()
 
template<class Iter >
void insert (Iter i1, Iter i2)
 
std::pair< iterator, bool > insert (value_type const &t)
 
template<typename CompatType >
unsigned erase (CompatType const &t)
 
template<typename CompatType >
value_type const * find (CompatType const &t) const
 
value_type const & operator[] (const std::size_t n) const
 
value_typeoperator[] (const std::size_t n)
 
value_type const & at (const std::size_t n) const
 
value_typeat (const std::size_t n)
 
bool operator== (self_type const &vs2) const
 
bool operator< (self_type const &vs2) const
 

Private Types

typedef std::vector< T, Alloc > stor_t
 

Private Attributes

stor_t v_
 

Detailed Description

template<class T, class Alloc = std::allocator<T>>
class vdj_pipe::detail::Vector_set< T, Alloc >

Collection of unique objects stored in an ordered vector.

Member Typedef Documentation

template<class T, class Alloc = std::allocator<T>>
typedef stor_t::const_iterator vdj_pipe::detail::Vector_set< T, Alloc >::const_iterator
template<class T, class Alloc = std::allocator<T>>
typedef std::ptrdiff_t vdj_pipe::detail::Vector_set< T, Alloc >::difference_type
template<class T, class Alloc = std::allocator<T>>
typedef stor_t::iterator vdj_pipe::detail::Vector_set< T, Alloc >::iterator
template<class T, class Alloc = std::allocator<T>>
typedef Vector_set vdj_pipe::detail::Vector_set< T, Alloc >::self_type
template<class T, class Alloc = std::allocator<T>>
typedef std::size_t vdj_pipe::detail::Vector_set< T, Alloc >::size_type
template<class T, class Alloc = std::allocator<T>>
typedef std::vector<T, Alloc> vdj_pipe::detail::Vector_set< T, Alloc >::stor_t
private
template<class T, class Alloc = std::allocator<T>>
typedef T vdj_pipe::detail::Vector_set< T, Alloc >::value_type

Member Function Documentation

template<class T, class Alloc = std::allocator<T>>
value_type const& vdj_pipe::detail::Vector_set< T, Alloc >::at ( const std::size_t  n) const
inline
template<class T, class Alloc = std::allocator<T>>
value_type& vdj_pipe::detail::Vector_set< T, Alloc >::at ( const std::size_t  n)
inline
template<class T, class Alloc = std::allocator<T>>
value_type const& vdj_pipe::detail::Vector_set< T, Alloc >::back ( ) const
inline
template<class T, class Alloc = std::allocator<T>>
iterator vdj_pipe::detail::Vector_set< T, Alloc >::begin ( )
inline
template<class T, class Alloc = std::allocator<T>>
const_iterator vdj_pipe::detail::Vector_set< T, Alloc >::begin ( ) const
inline
template<class T, class Alloc = std::allocator<T>>
void vdj_pipe::detail::Vector_set< T, Alloc >::clear ( )
inline
template<class T, class Alloc = std::allocator<T>>
bool vdj_pipe::detail::Vector_set< T, Alloc >::empty ( ) const
inline
template<class T, class Alloc = std::allocator<T>>
iterator vdj_pipe::detail::Vector_set< T, Alloc >::end ( )
inline
template<class T, class Alloc = std::allocator<T>>
const_iterator vdj_pipe::detail::Vector_set< T, Alloc >::end ( ) const
inline
template<class T, class Alloc = std::allocator<T>>
template<typename CompatType >
unsigned vdj_pipe::detail::Vector_set< T, Alloc >::erase ( CompatType const &  t)
inline
template<class T, class Alloc = std::allocator<T>>
template<typename CompatType >
value_type const* vdj_pipe::detail::Vector_set< T, Alloc >::find ( CompatType const &  t) const
inline
Template Parameters
CompatTypeless than comparable to value_type
template<class T, class Alloc = std::allocator<T>>
value_type const& vdj_pipe::detail::Vector_set< T, Alloc >::front ( ) const
inline
template<class T, class Alloc = std::allocator<T>>
template<class Iter >
void vdj_pipe::detail::Vector_set< T, Alloc >::insert ( Iter  i1,
Iter  i2 
)
inline
template<class T, class Alloc = std::allocator<T>>
std::pair<iterator, bool> vdj_pipe::detail::Vector_set< T, Alloc >::insert ( value_type const &  t)
inline
template<class T, class Alloc = std::allocator<T>>
bool vdj_pipe::detail::Vector_set< T, Alloc >::operator< ( self_type const &  vs2) const
inline
template<class T, class Alloc = std::allocator<T>>
bool vdj_pipe::detail::Vector_set< T, Alloc >::operator== ( self_type const &  vs2) const
inline
template<class T, class Alloc = std::allocator<T>>
value_type const& vdj_pipe::detail::Vector_set< T, Alloc >::operator[] ( const std::size_t  n) const
inline
template<class T, class Alloc = std::allocator<T>>
value_type& vdj_pipe::detail::Vector_set< T, Alloc >::operator[] ( const std::size_t  n)
inline
template<class T, class Alloc = std::allocator<T>>
void vdj_pipe::detail::Vector_set< T, Alloc >::pop_back ( )
inline
template<class T, class Alloc = std::allocator<T>>
void vdj_pipe::detail::Vector_set< T, Alloc >::reserve ( const std::size_t  n)
inline
template<class T, class Alloc = std::allocator<T>>
std::size_t vdj_pipe::detail::Vector_set< T, Alloc >::size ( ) const
inline

Member Data Documentation

template<class T, class Alloc = std::allocator<T>>
stor_t vdj_pipe::detail::Vector_set< T, Alloc >::v_
private

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