CStringElementTraits Class
This class provides static functions used by collection classes storing CString objects.
template< typename T > class CStringElementTraits
|
Name |
Description |
|---|---|
|
(Static) Call this function to compare two string elements for equality. |
|
|
(Static) Call this function to compare two string elements. |
|
|
(Static) Call this function to copy CString elements stored in a collection class object. |
|
|
(Static) Call this function to calculate a hash value for the given string element. |
|
|
(Static) Call this function to relocate CString elements stored in a collection class object. |
This class provides static functions for copying, moving, and comparing strings and for creating a hash value. These functions are useful when using a collection class to store string-based data. Use CStringElementTraitsI when case-insensitive comparisons are required. Use CStringRefElementTraits when the string objects are to be dealt with as references.
For more information, see ATL Collection Classes.