Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
core::import_pose::atom_tree_diffs::ScoreLessThanComparator Class Reference

Provides a StrictWeakOrdering comparator for sorting elements of a ScoresMap by one particular score type. More...

Public Types

using value_type = ScoresPairList::value_type
 

Public Member Functions

 ScoreLessThanComparator (std::string const &score_name, bool reverse=false)
 
 ~ScoreLessThanComparator ()=default
 
bool operator() (value_type a, value_type b)
 

Private Attributes

std::string score_name_
 
bool reverse_
 

Detailed Description

Provides a StrictWeakOrdering comparator for sorting elements of a ScoresMap by one particular score type.

Obviously, all entries in the map must have that score type present, or this dies a horrible death.

Member Typedef Documentation

Constructor & Destructor Documentation

core::import_pose::atom_tree_diffs::ScoreLessThanComparator::ScoreLessThanComparator ( std::string const &  score_name,
bool  reverse = false 
)
inline
core::import_pose::atom_tree_diffs::ScoreLessThanComparator::~ScoreLessThanComparator ( )
default

Member Function Documentation

bool core::import_pose::atom_tree_diffs::ScoreLessThanComparator::operator() ( value_type  a,
value_type  b 
)
inline

References reverse_, and score_name_.

Member Data Documentation

bool core::import_pose::atom_tree_diffs::ScoreLessThanComparator::reverse_
private

Referenced by operator()().

std::string core::import_pose::atom_tree_diffs::ScoreLessThanComparator::score_name_
private

Referenced by operator()().


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