特性类,用于定义SResID的哈希和比较操作
More...
#include <SResID.h>
|
static ULONG | Hash (INARGTYPE resid) |
| 计算SResID对象的哈希值
|
|
static bool | CompareElements (INARGTYPE element1, INARGTYPE element2) |
| 比较两个SResID对象是否相等
|
|
static int | CompareElementsOrdered (INARGTYPE element1, INARGTYPE element2) |
| 比较两个SResID对象的顺序
|
|
特性类,用于定义SResID的哈希和比较操作
Definition at line 49 of file SResID.h.
◆ CompareElements()
static bool CElementTraits< SResID >::CompareElements |
( |
INARGTYPE | element1, |
|
|
INARGTYPE | element2 ) |
|
inlinestatic |
比较两个SResID对象是否相等
- Parameters
-
element1 | 第一个SResID对象 |
element2 | 第二个SResID对象 |
- Returns
- 如果相等返回true,否则返回false
Definition at line 82 of file SResID.h.
◆ CompareElementsOrdered()
static int CElementTraits< SResID >::CompareElementsOrdered |
( |
INARGTYPE | element1, |
|
|
INARGTYPE | element2 ) |
|
inlinestatic |
比较两个SResID对象的顺序
- Parameters
-
element1 | 第一个SResID对象 |
element2 | 第二个SResID对象 |
- Returns
- 如果element1小于element2返回负数,如果相等返回0,如果element1大于element2返回正数
Definition at line 93 of file SResID.h.
◆ Hash()
static ULONG CElementTraits< SResID >::Hash |
( |
INARGTYPE | resid | ) |
|
|
inlinestatic |
计算SResID对象的哈希值
- Parameters
-
- Returns
- 哈希值
Definition at line 56 of file SResID.h.
The documentation for this class was generated from the following file: