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

Store values mapped against name strings and value IDs. More...

#include <named_value_map.hpp>

Collaboration diagram for vdj_pipe::detail::Named_value_map< Id, Val >:
Collaboration graph
[legend]

Public Types

typedef Id id_type
 
typedef Val value_type
 
typedef Id_iterator< id_typeiterator
 
typedef iterator const_iterator
 

Public Member Functions

 Named_value_map ()
 
iterator begin () const
 
iterator end () const
 
std::size_t size () const
 
id_type insert_new_name (std::string const &name)
 
id_type insert_name (std::string const &name)
 
std::string const & name (const id_type id) const
 
id_type const * find_id (std::string const &name) const
 
id_type value_id (std::string const &name) const
 
value_type const & operator[] (const id_type vid) const
 
value_typeoperator[] (const id_type vid)
 
void clear_values ()
 

Private Types

typedef detail::Id_map< Id, Val > val_map
 
typedef detail::Id_bimap< Id, std::string > name_map
 

Private Attributes

val_map vm_
 
name_map nm_
 

Detailed Description

template<class Id, class Val>
class vdj_pipe::detail::Named_value_map< Id, Val >

Store values mapped against name strings and value IDs.

Member Typedef Documentation

template<class Id , class Val >
typedef iterator vdj_pipe::detail::Named_value_map< Id, Val >::const_iterator
template<class Id , class Val >
typedef Id vdj_pipe::detail::Named_value_map< Id, Val >::id_type
template<class Id , class Val >
typedef Id_iterator<id_type> vdj_pipe::detail::Named_value_map< Id, Val >::iterator
template<class Id , class Val >
typedef detail::Id_bimap<Id, std::string> vdj_pipe::detail::Named_value_map< Id, Val >::name_map
private
template<class Id , class Val >
typedef detail::Id_map<Id, Val> vdj_pipe::detail::Named_value_map< Id, Val >::val_map
private
template<class Id , class Val >
typedef Val vdj_pipe::detail::Named_value_map< Id, Val >::value_type

Constructor & Destructor Documentation

template<class Id , class Val >
vdj_pipe::detail::Named_value_map< Id, Val >::Named_value_map ( )
inline

Member Function Documentation

template<class Id , class Val >
iterator vdj_pipe::detail::Named_value_map< Id, Val >::begin ( ) const
inline
template<class Id , class Val >
void vdj_pipe::detail::Named_value_map< Id, Val >::clear_values ( )
inline
template<class Id , class Val >
iterator vdj_pipe::detail::Named_value_map< Id, Val >::end ( ) const
inline
template<class Id , class Val >
id_type const* vdj_pipe::detail::Named_value_map< Id, Val >::find_id ( std::string const &  name) const
inline
template<class Id , class Val >
id_type vdj_pipe::detail::Named_value_map< Id, Val >::insert_name ( std::string const &  name)
inline
template<class Id , class Val >
id_type vdj_pipe::detail::Named_value_map< Id, Val >::insert_new_name ( std::string const &  name)
inline
template<class Id , class Val >
std::string const& vdj_pipe::detail::Named_value_map< Id, Val >::name ( const id_type  id) const
inline
template<class Id , class Val >
value_type const& vdj_pipe::detail::Named_value_map< Id, Val >::operator[] ( const id_type  vid) const
inline
template<class Id , class Val >
value_type& vdj_pipe::detail::Named_value_map< Id, Val >::operator[] ( const id_type  vid)
inline
template<class Id , class Val >
std::size_t vdj_pipe::detail::Named_value_map< Id, Val >::size ( ) const
inline
template<class Id , class Val >
id_type vdj_pipe::detail::Named_value_map< Id, Val >::value_id ( std::string const &  name) const
inline

Member Data Documentation

template<class Id , class Val >
name_map vdj_pipe::detail::Named_value_map< Id, Val >::nm_
private
template<class Id , class Val >
val_map vdj_pipe::detail::Named_value_map< Id, Val >::vm_
private

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