NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
XStr Class Reference

Search Toolkit Book for XStr

XStr –. More...

#include <corelib/ncbi_xstr.hpp>

Public Types

enum  ECase { eCase , eNocase }
 

Static Public Member Functions

template<typename _TChar >
static int CompareCase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)
 
template<typename _TChar >
static int CompareCase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)
 
template<typename _TChar >
static int CompareCase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)
 
template<typename _TChar >
static int CompareCase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)
 
template<typename _TChar >
static int CompareNocase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)
 
template<typename _TChar >
static int CompareNocase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern)
 
template<typename _TChar >
static int CompareNocase (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)
 
template<typename _TChar >
static int CompareNocase (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern)
 
template<typename _TChar >
static int Compare (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const _TChar *pattern, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const basic_string< _TChar > &str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const _TChar *str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string< _TChar > &pattern, ECase use_case=eCase)
 
template<typename _TChar >
static int strcmp (const _TChar *s1, const _TChar *s2)
 
template<typename _TChar >
static int strncmp (const _TChar *s1, const _TChar *s2, size_t n)
 
template<typename _TChar >
static int strcasecmp (const _TChar *s1, const _TChar *s2)
 
template<typename _TChar >
static int strncasecmp (const _TChar *s1, const _TChar *s2, size_t n)
 
template<typename _TChar >
static int CompareCase (const _TChar *s1, const _TChar *s2)
 
template<typename _TChar >
static int CompareCase (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2)
 
template<typename _TChar >
static int CompareNocase (const _TChar *s1, const _TChar *s2)
 
template<typename _TChar >
static int CompareNocase (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2)
 
template<typename _TChar >
static int Compare (const basic_string< _TChar > &s1, const _TChar *s2, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const _TChar *s1, const _TChar *s2, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const basic_string< _TChar > &s1, const basic_string< _TChar > &s2, ECase use_case=eCase)
 
template<typename _TChar >
static int Compare (const _TChar *s1, const basic_string< _TChar > &s2, ECase use_case=eCase)
 

Detailed Description

XStr –.

Template-based string comparison

Definition at line 219 of file ncbi_xstr.hpp.


The documentation for this class was generated from the following file:
Modified on Tue Nov 28 02:23:38 2023 by modify_doxy.py rev. 669887