9 #ifndef WhirlIDMaps_INCLUDED_h
10 #define WhirlIDMaps_INCLUDED_h
23 namespace fortTkSupport {
40 typename std::list<T>::iterator it;
41 for (it = this->begin(); it != this->
end(); ++it) {
43 if (
id == val) {
return val; }
56 :
public BaseMap<ST_TAB*, SymTabId>
75 :
public std::map<SymTabId, pair<ST_TAB*, PU_Info*> > {
78 typedef std::map<SymTabId, pair<ST_TAB*, PU_Info*> >
BaseMap;
85 pair<ST_TAB*, PU_Info*>
88 pair<ST_TAB*, PU_Info*> result(
NULL,
NULL);
90 const_iterator it = this->find(
id);
91 if (it != this->
end()) {
92 result = (*it).second;
95 FORTTK_DIE(
"SymTabIdToSymTabMap: Could not find entry for key '"
105 this->insert(make_pair(
id, make_pair(stab, pu)));
128 :
public BaseMap<PU_Info*, PUId>
140 :
public BaseMap<PUId, PU_Info*>
184 :
public BaseMap<PU_Info*, WNToWNIdMap*> {
196 :
public BaseMap<PU_Info*, WNIdToWNMap*> {
218 SymTabToSymTabIdMap* x, SymTabIdToSymTabMap* y);