![]() |
• Utility Library | ||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class MapDefined in:
The C4Map.hMap class encapsulates an associative key-value map.
Definition
Member Functions
Template Parameters
Constructor
Description
The Map class template is a container used to store an associative key-value map of objects. The class type of objects that are to be stored in the map must be a subclass of the MapElement class template using the same template parameters as the Map container. A particular object can be a member of only one map at a time.Upon construction, a Map object is empty. When a Map object is destroyed, all of the members of the map are also destroyed. To avoid deleting the members of a map when a Map object is destroyed, first call the Map::RemoveAll function to remove all of the map's members.The class specified by the type template parameter must define a type named KeyType and a function named GetKey that has one of the following two prototypes.
Overloaded Operators
Base Classes
See Also
|