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

Template specialization for SkinKey to provide hash and comparison functions. More...

#include <SSkinPool.h>

Static Public Member Functions

static ULONG Hash (INARGTYPE skinKey)
 Computes the hash value for a SkinKey.
 
static bool CompareElements (INARGTYPE element1, INARGTYPE element2)
 Compares two SkinKey objects for equality.
 
static int CompareElementsOrdered (INARGTYPE element1, INARGTYPE element2)
 Compares two SkinKey objects in ordered manner.
 

Detailed Description

Template specialization for SkinKey to provide hash and comparison functions.

Definition at line 85 of file SSkinPool.h.

Member Function Documentation

◆ CompareElements()

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

Compares two SkinKey objects for equality.

Parameters
element1First SkinKey object.
element2Second SkinKey object.
Returns
TRUE if the objects are equal, FALSE otherwise.

Definition at line 106 of file SSkinPool.h.

◆ CompareElementsOrdered()

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

Compares two SkinKey objects in ordered manner.

Parameters
element1First SkinKey object.
element2Second SkinKey object.
Returns
Comparison result (-1 if element1 < element2, 0 if equal, 1 if element1 > element2).

Definition at line 117 of file SSkinPool.h.

◆ Hash()

static ULONG CElementTraits< SkinKey >::Hash ( INARGTYPE skinKey)
inlinestatic

Computes the hash value for a SkinKey.

Parameters
skinKeySkinKey object.
Returns
Hash value.

Definition at line 92 of file SSkinPool.h.


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