CAPD RedHom Library
capd::homAux::MergeMaps< Range1, Range2, MergeOp > Class Template Reference

#include <capd/homAux/MergeMaps.h>

Classes

struct  Compare
 
struct  MergeWithLast
 

Public Types

typedef boost::remove_const< typename Range1::value_type::first_type >::type Key
 
typedef boost::remove_const< typename Range1::value_type::second_type >::type Value
 
typedef boost::container::flat_map< Key, Valueresult_type
 
typedef std::deque< std::pair< Key, Value > > Container
 

Public Member Functions

 MergeMaps (const Range1 &rng1, const Range2 &rng2, MergeOp mergeOp=MergeOp())
 
result_type operator() ()
 

Member Typedef Documentation

template<typename Range1 , typename Range2 , typename MergeOp >
typedef std::deque<std::pair<Key, Value> > capd::homAux::MergeMaps< Range1, Range2, MergeOp >::Container
template<typename Range1 , typename Range2 , typename MergeOp >
typedef boost::remove_const<typename Range1::value_type::first_type>::type capd::homAux::MergeMaps< Range1, Range2, MergeOp >::Key
template<typename Range1 , typename Range2 , typename MergeOp >
typedef boost::container::flat_map<Key, Value> capd::homAux::MergeMaps< Range1, Range2, MergeOp >::result_type
template<typename Range1 , typename Range2 , typename MergeOp >
typedef boost::remove_const<typename Range1::value_type::second_type>::type capd::homAux::MergeMaps< Range1, Range2, MergeOp >::Value

Constructor & Destructor Documentation

template<typename Range1 , typename Range2 , typename MergeOp >
capd::homAux::MergeMaps< Range1, Range2, MergeOp >::MergeMaps ( const Range1 &  rng1,
const Range2 &  rng2,
MergeOp  mergeOp = MergeOp() 
)
inline

Member Function Documentation

template<typename Range1 , typename Range2 , typename MergeOp >
result_type capd::homAux::MergeMaps< Range1, Range2, MergeOp >::operator() ( )
inline