NCBI C++ ToolKit
Public Member Functions | List of all members
PQuickStringLess Struct Reference

Search Toolkit Book for PQuickStringLess

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

#include <corelib/ncbistr.hpp>

Public Member Functions

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

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.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

Definition at line 5013 of file ncbistr.hpp.


The documentation for this struct was generated from the following file:
Modified on Fri Sep 20 14:58:12 2024 by modify_doxy.py rev. 669887