CHttpMap Class
Visual Studio .NET 2003
This class is a simple map class that allows the contents of the map to be shared.
template < typename K, typename V, typename KTraits = CElementTraits< K >, typename VTraits = CElementTraits< V > > class CHttpMap
Parameters
- K
- The key element type.
- V
- The value element type.
- KTraits
- The code used to copy or move key elements.
- VTraits
- The code used to copy or move value elements.
Remarks
This class provides methods for manipulating the map similar to those provided by CAtlMap, CRBMap, and CRBMultiMap. CHttpMap also adds a boolean property, represented by the CHttpMap::IsShared and CHttpMap::SetShared methods, that tells whether or not the values in this map are shared.
See ATL_HTTP_PARAM_MULTIMAP for details on how this macro affects the behavior of CHttpMap.
Requirements
Header: atlisapi.h
Example
See the following samples:
- Cookies Sample
- Mailer Sample
- RegExp Sample
- ShowFiles Sample
- ShowForm Sample
- ShowImage Sample