OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimStringLtstr Struct Reference

For use with std::map as a compare operator: std::map<ossimString, ossimString, ossimStringLtstr> More...

#include <ossimString.h>

Public Member Functions

bool operator() (const ossimString &s1, const ossimString &s2) const
 

Detailed Description

For use with std::map as a compare operator: std::map<ossimString, ossimString, ossimStringLtstr>

This will allow the find method on map to work.

Definition at line 971 of file ossimString.h.

Member Function Documentation

◆ operator()()

bool ossimStringLtstr::operator() ( const ossimString s1,
const ossimString s2 
) const
inline

Definition at line 973 of file ossimString.h.

References ossimString::string().

974  {
975  return s1.string().compare(s2.string()) < 0;
976  }
const std::string & string() const
Definition: ossimString.h:414

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