CAPD RedHom Library
capd::complex::AssignIds< Iterator, Id, ObjectComparator > Class Template Reference

#include <capd/complex/AssignIds.h>

Public Types

typedef Iterator::value_type Object
 

Public Member Functions

 AssignIds (Iterator begin, Iterator end, size_t size)
 
Id reverse (size_t pos) const
 
const std::vector< Id > & reversed () const
 
Id operator[] (const Object &obj) const
 
virtual ~AssignIds ()
 
void operator() ()
 

Static Public Attributes

static const Id npos = -1
 

Member Typedef Documentation

template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
typedef Iterator::value_type capd::complex::AssignIds< Iterator, Id, ObjectComparator >::Object

Constructor & Destructor Documentation

template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
capd::complex::AssignIds< Iterator, Id, ObjectComparator >::AssignIds ( Iterator  begin,
Iterator  end,
size_t  size 
)
inline
template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
virtual capd::complex::AssignIds< Iterator, Id, ObjectComparator >::~AssignIds ( )
inlinevirtual

Member Function Documentation

template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
void capd::complex::AssignIds< Iterator, Id, ObjectComparator >::operator() ( )
inline
template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
Id capd::complex::AssignIds< Iterator, Id, ObjectComparator >::operator[] ( const Object obj) const
inline
template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
Id capd::complex::AssignIds< Iterator, Id, ObjectComparator >::reverse ( size_t  pos) const
inline
template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
const std::vector<Id>& capd::complex::AssignIds< Iterator, Id, ObjectComparator >::reversed ( ) const
inline

Member Data Documentation

template<typename Iterator, typename Id, typename ObjectComparator = std::less<typename Iterator::value_type>>
const Id capd::complex::AssignIds< Iterator, Id, ObjectComparator >::npos = -1
static