ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
index_detail::is_first_equal< SymmGroup > Class Template Reference

#include <indexing_sorted.hpp>

Public Member Functions

 is_first_equal (typename SymmGroup::charge c)
 
bool operator() (std::pair< typename SymmGroup::charge, std::size_t > const &x) const
 
 is_first_equal (typename SymmGroup::charge c)
 
bool operator() (std::pair< typename SymmGroup::charge, std::size_t > const &x) const
 
 is_first_equal (typename SymmGroup::charge c)
 
bool operator() (std::pair< typename SymmGroup::charge, std::size_t > const &x) const
 

Detailed Description

template<class SymmGroup>
class index_detail::is_first_equal< SymmGroup >

Definition at line 81 of file indexing_sorted.hpp.

Constructor & Destructor Documentation

template<class SymmGroup >
index_detail::is_first_equal< SymmGroup >::is_first_equal ( typename SymmGroup::charge  c)
inline

Definition at line 84 of file indexing_sorted.hpp.

84 : c_(c) { }
template<class SymmGroup >
index_detail::is_first_equal< SymmGroup >::is_first_equal ( typename SymmGroup::charge  c)
inline

Definition at line 84 of file indexing_stable.hpp.

84 : c_(c) { }
template<class SymmGroup >
index_detail::is_first_equal< SymmGroup >::is_first_equal ( typename SymmGroup::charge  c)
inline

Definition at line 84 of file indexing_unsorted.hpp.

84 : c_(c) { }

Member Function Documentation

template<class SymmGroup >
bool index_detail::is_first_equal< SymmGroup >::operator() ( std::pair< typename SymmGroup::charge, std::size_t > const &  x) const
inline

Definition at line 86 of file indexing_sorted.hpp.

87  {
88  return x.first == c_;
89  }
template<class SymmGroup >
bool index_detail::is_first_equal< SymmGroup >::operator() ( std::pair< typename SymmGroup::charge, std::size_t > const &  x) const
inline

Definition at line 86 of file indexing_unsorted.hpp.

87  {
88  return x.first == c_;
89  }
template<class SymmGroup >
bool index_detail::is_first_equal< SymmGroup >::operator() ( std::pair< typename SymmGroup::charge, std::size_t > const &  x) const
inline

Definition at line 86 of file indexing_stable.hpp.

87  {
88  return x.first == c_;
89  }

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