vdj_pipe
pipeline for processing DNA sequence data
Public Types | Public Member Functions | List of all members
vdj_pipe::detail::Id_map< Id, Obj, Stor > Class Template Reference

Public Types

typedef Id_map self_type
 
typedef Id id_type
 
typedef Obj value_type
 
typedef vector_t::iterator iterator
 
typedef vector_t::const_iterator const_iterator
 
typedef base_exception Err
 

Public Member Functions

 Id_map (const id_type id0)
 
std::size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
id_type min_id () const
 
id_type max_id () const
 
void reserve (const id_type id)
 
value_type const & operator[] (const id_type id) const
 
value_type & operator[] (const id_type id)
 
value_type const & at (const id_type id) const
 
value_type & at (const id_type id)
 
value_type const * find (const id_type id) const
 
value_type * find (const id_type id)
 
id_type insert (value_type const &obj)
 
value_type & insert (const id_type id)
 
void erase (const id_type id)
 
void clear ()
 

Member Function Documentation

template<class Id, class Obj, template< class, class > class Stor = std::vector>
value_type& vdj_pipe::detail::Id_map< Id, Obj, Stor >::insert ( const id_type  id)
inline
Returns
reference to object mapped to id; the object is default constructed if needed

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