foobar2000 SDK  2015-08-03
Static Public Member Functions
pfc::comparator_strcmp

#include <string_base.h>

Static Public Member Functions

static int compare (const char *p_item1, const char *p_item2)
 
static int compare (const wchar_t *item1, const wchar_t *item2)
 
static int compare (const char *p_item1, string_part_ref p_item2)
 
static int compare (string_part_ref p_item1, string_part_ref p_item2)
 
static int compare (string_part_ref p_item1, const char *p_item2)
 

Detailed Description

Definition at line 833 of file string_base.h.

Member Function Documentation

static int pfc::comparator_strcmp::compare ( const char *  p_item1,
const char *  p_item2 
)
inlinestatic

Definition at line 835 of file string_base.h.

835 {return strcmp(p_item1,p_item2);}
static int pfc::comparator_strcmp::compare ( const wchar_t *  item1,
const wchar_t *  item2 
)
inlinestatic

Definition at line 836 of file string_base.h.

836 {return wcscmp(item1, item2);}
static int pfc::comparator_strcmp::compare ( const char *  p_item1,
string_part_ref  p_item2 
)
inlinestatic

Definition at line 838 of file string_base.h.

838  {
839  return strcmp_ex(p_item1, ~0, p_item2.m_ptr, p_item2.m_len);
840  }
int strcmp_ex(const char *p1, t_size n1, const char *p2, t_size n2)
static int pfc::comparator_strcmp::compare ( string_part_ref  p_item1,
string_part_ref  p_item2 
)
inlinestatic

Definition at line 841 of file string_base.h.

841  {
842  return strcmp_ex(p_item1.m_ptr, p_item1.m_len, p_item2.m_ptr, p_item2.m_len);
843  }
int strcmp_ex(const char *p1, t_size n1, const char *p2, t_size n2)
static int pfc::comparator_strcmp::compare ( string_part_ref  p_item1,
const char *  p_item2 
)
inlinestatic

Definition at line 844 of file string_base.h.

844  {
845  return strcmp_ex(p_item1.m_ptr, p_item1.m_len, p_item2, ~0);
846  }
int strcmp_ex(const char *p1, t_size n1, const char *p2, t_size n2)

The documentation for this class was generated from the following file: