OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
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

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