- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# FUUniqueStringMapT< CH > Class Template Reference
[Utility Classes.]

A set of unique strings. More...

`#include <FUUniqueStringMap.h>`

List of all members.

## Public Member Functions
void | insert (fm::stringT< CH > &wantedStr)
| Adds a string to the map.
void | insert (const fm::stringT< CH > &wantedStr)
| See above.
bool | contains (const fm::stringT< CH > &str) const
| Retrieves whether a given string is contained within the map.
void | erase (const fm::stringT< CH > &str)
| Erases a string from the map.

## Detailed Description

### template<class CH>
class FUUniqueStringMapT< CH >

A set of unique strings.

This class adds three functions to the STL map in order to keep the strings inside unique: AddUniqueString, Exists and Erase.

## Member Function Documentation

template<class CH>
bool FUUniqueStringMapT< CH >::contains | ( | const fm::stringT< CH > & | str | ) | const

  | Retrieves whether a given string is contained within the map. Parameters:
  | str | The string.

template<class CH>
void FUUniqueStringMapT< CH >::erase | ( | const fm::stringT< CH > & | str | ) |

  | Erases a string from the map. Parameters:
  | str | A string contained within the map.

template<class CH>
void FUUniqueStringMapT< CH >::insert | ( | fm::stringT< CH > & | wantedStr | ) |

  | Adds a string to the map. If the string isn't unique, it will be modified in order to make it unique. Parameters:
  | wantedStr | The string to add. This reference will be directly modified to hold the actual unique string added to the map.

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

- FUtils/FUUniqueStringMap.h