PQuickStringLess Struct Reference
[String Manipulations]

Search Toolkit Book for PQuickStringLess

#include <ncbistr.hpp>

List of all members.


Detailed Description

PQuickStringLess implements an ordering of strings, that is more efficient than usual lexicographical order.

It can be used in cases when no specific order is required, e.g. only simple key lookup is needed. Current implementation first compares lengths of strings, and will compare string data only when lengths are the same.

Definition at line 3152 of file ncbistr.hpp.

Public Member Functions

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


Member Function Documentation

bool PQuickStringLess::operator() const CTempString s1,
const CTempString s2
const [inline]
 

Definition at line 3154 of file ncbistr.hpp.

References CTempString::data(), and CTempString::size().


The documentation for this struct was generated from the following file:
Generated on Mon Dec 7 15:45:46 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:29 2009 by modify_doxy.py rev. 173732