CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::GenericConfigCompare< ConfigType, IsEqualImpl > Class Template Reference

#include <ConfigCompare.hh>

Detailed Description

template<typename ConfigType, typename IsEqualImpl>
class CASM::GenericConfigCompare< ConfigType, IsEqualImpl >

Class for less than comparison of Configurations implemented via a ConfigTypeIsEqual class that also stores the less than result.

Definition at line 18 of file ConfigCompare.hh.

Public Member Functions

 GenericConfigCompare (const IsEqualImpl &_eq)
 
template<typename... Args>
bool operator() (Args &&... args) const
 
const IsEqualImpl & base () const
 

Private Attributes

IsEqualImpl m_eq
 

Constructor & Destructor Documentation

◆ GenericConfigCompare()

template<typename ConfigType , typename IsEqualImpl >
CASM::GenericConfigCompare< ConfigType, IsEqualImpl >::GenericConfigCompare ( const IsEqualImpl &  _eq)
inlineexplicit

Definition at line 20 of file ConfigCompare.hh.

Member Function Documentation

◆ base()

template<typename ConfigType , typename IsEqualImpl >
const IsEqualImpl& CASM::GenericConfigCompare< ConfigType, IsEqualImpl >::base ( ) const
inline

Definition at line 76 of file ConfigCompare.hh.

◆ operator()()

template<typename ConfigType , typename IsEqualImpl >
template<typename... Args>
bool CASM::GenericConfigCompare< ConfigType, IsEqualImpl >::operator() ( Args &&...  args) const
inline

Definition at line 23 of file ConfigCompare.hh.

Member Data Documentation

◆ m_eq

template<typename ConfigType , typename IsEqualImpl >
IsEqualImpl CASM::GenericConfigCompare< ConfigType, IsEqualImpl >::m_eq
private

Definition at line 79 of file ConfigCompare.hh.


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