soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
CElementTraits< SFindInfo > Class Reference

SFindInfo的特性类,用于定义哈希和比较操作 More...

#include <SwndFinder.h>

Static Public Member Functions

static ULONG Hash (INARGTYPE fi)
 计算SFindInfo对象的哈希值
 
static bool CompareElements (INARGTYPE element1, INARGTYPE element2)
 比较两个SFindInfo对象是否相等
 
static int CompareElementsOrdered (INARGTYPE element1, INARGTYPE element2)
 比较两个SFindInfo对象的顺序
 

Detailed Description

SFindInfo的特性类,用于定义哈希和比较操作

Definition at line 43 of file SwndFinder.h.

Member Function Documentation

◆ CompareElements()

static bool CElementTraits< SFindInfo >::CompareElements ( INARGTYPE element1,
INARGTYPE element2 )
inlinestatic

比较两个SFindInfo对象是否相等

Parameters
element1第一个SFindInfo对象
element2第二个SFindInfo对象
Returns
如果相等返回true,否则返回false

Definition at line 81 of file SwndFinder.h.

◆ CompareElementsOrdered()

static int CElementTraits< SFindInfo >::CompareElementsOrdered ( INARGTYPE element1,
INARGTYPE element2 )
inlinestatic

比较两个SFindInfo对象的顺序

Parameters
element1第一个SFindInfo对象
element2第二个SFindInfo对象
Returns
如果element1小于element2返回负数,如果相等返回0,如果element1大于element2返回正数

Definition at line 102 of file SwndFinder.h.

◆ Hash()

static ULONG CElementTraits< SFindInfo >::Hash ( INARGTYPE fi)
inlinestatic

计算SFindInfo对象的哈希值

Parameters
fiSFindInfo对象
Returns
哈希值

Definition at line 50 of file SwndFinder.h.


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