WinAggHistogramStrA::_StringDescCompare Struct Reference

#include <WinAggHistogramStrA.h>

List of all members.

Public Member Functions

bool operator() (const StringDesc &str1, const StringDesc &str2) const


Detailed Description

Definition at line 98 of file WinAggHistogramStrA.h.


Member Function Documentation

bool WinAggHistogramStrA::_StringDescCompare::operator() ( const StringDesc str1,
const StringDesc str2 
) const [inline]

Definition at line 100 of file WinAggHistogramStrA.h.

References str1, and str2.

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         }


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 04:00:49 2009 for Fennel by  doxygen 1.5.1