OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | List of all members
KwlKeyCaseInsensitiveEquals Class Reference
Inheritance diagram for KwlKeyCaseInsensitiveEquals:

Public Member Functions

 KwlKeyCaseInsensitiveEquals (const ossimString &key)
 
virtual bool operator() (const KwlComparePairType &rhs) const
 

Public Attributes

ossimString m_key
 

Detailed Description

Definition at line 31 of file ossimEnviHeader.cpp.

Constructor & Destructor Documentation

◆ KwlKeyCaseInsensitiveEquals()

KwlKeyCaseInsensitiveEquals::KwlKeyCaseInsensitiveEquals ( const ossimString key)
inline

Definition at line 34 of file ossimEnviHeader.cpp.

34 :m_key(key){}

Member Function Documentation

◆ operator()()

virtual bool KwlKeyCaseInsensitiveEquals::operator() ( const KwlComparePairType rhs) const
inlinevirtual

Definition at line 35 of file ossimEnviHeader.cpp.

References ossimString::downcase(), and m_key.

36  {
37  return (m_key == rhs.first.downcase());
38  }
static ossimString downcase(const ossimString &aString)
Definition: ossimString.cpp:48

Member Data Documentation

◆ m_key

ossimString KwlKeyCaseInsensitiveEquals::m_key

Definition at line 39 of file ossimEnviHeader.cpp.

Referenced by operator()().


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