# NamedCollection.h File Reference

`#include <FdoCommon.h>`
`#include <Common/Collection.h>`
`#include <map>`

Include dependency graph for NamedCollection.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | FdoNamedCollection< OBJ, EXC >
| FdoNamedCollection is a template for collections keyed by element name. The OBJ class must provide a GetName() function that returns the element name as a FdoString* and a CanSetName() function that returns true if the class allows modification of the name (implements SetName()) and false if it does not. This class also provides fast access by name for large collections. When CanSetName() returns true, the access by name is a bit less efficient since linear searches need to be done in some cases. The reason for this is that after an object changes name, it is no longer in the right position in this collection's name map. More...
## Defines
#define | FDO_COLL_MAP_THRESHOLD 50
#define | FDO_NAMED_COLLECTION_H 1