OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::IstringPairCompare Struct Reference

#include <Compare.hpp>

Public Member Functions

bool operator() (const std::pair< std::string, std::string > &x, const std::pair< std::string, std::string > &y) const
 

Detailed Description

Small functor object for case insensitive std::string compare in pairs of std::string, tests first strings then seconds.

Used in maps of type and name to objects.

Member Function Documentation

◆ operator()()

bool openstudio::IstringPairCompare::operator() ( const std::pair< std::string, std::string > & x,
const std::pair< std::string, std::string > & y ) const