20#include <unordered_map>
36 using Map = std::unordered_map<std::string,VectorPtr>;
46 it->second.push_back(def);
61 auto it2 = std::find(v.begin(),v.end(),def);
This is an alternative implementation of QCString.
const std::string & str() const
Class implementing a symbol map that maps symbol names to objects.
void remove(const QCString &name, Ptr def)
Remove a symbol def from the map that was stored under key name.
typename Map::const_iterator const_iterator
void add(const QCString &name, Ptr def)
Add a symbol def into the map under key name.
const_iterator begin() const
const VectorPtr & find(const QCString &name)
Find the list of symbols stored under key name Returns a pair of iterators pointing to the start and ...
std::vector< Ptr > VectorPtr
typename Map::iterator iterator
std::unordered_map< std::string, VectorPtr > Map
const_iterator end() const