#include <WinAggHistogramStrA.h>
Public Member Functions | |
bool | operator() (const StringDesc &str1, const StringDesc &str2) const |
Definition at line 98 of file WinAggHistogramStrA.h.
bool WinAggHistogramStrA::_StringDescCompare::operator() | ( | const StringDesc & | str1, | |
const StringDesc & | str2 | |||
) | const [inline] |
Definition at line 100 of file WinAggHistogramStrA.h.
00101 { 00102 if (!str1.isNull() && !str2.isNull()) { 00103 int32_t result = SqlStrCmp<1,1>( 00104 str1.pointer(), str1.stringLength(), 00105 str2.pointer(), str2.stringLength()); 00106 return result < 0; 00107 } else { 00108 return str2.isNull(); 00109 } 00110 }