38 # define WN_MWAW_ENTRY
49 for (
int i = 0; i < 4; i++)
m_val[i] = 0;
61 if (entry.
type().length()) {
63 if (entry.
id() >= 0) o <<
"[" << entry.
id() <<
"]";
80 for (
int i = 0; i < 4; i++) {
81 if (entry.
m_val[i]) o <<
"v" << i <<
"=" << std::hex << entry.
m_val[i] << std::dec <<
",";
98 std::map<long, WNEntry>::const_iterator it =
m_posMap.find(pos);
106 if (!entry.
valid())
return false;
108 MWAW_DEBUG_MSG((
"WNEntryManager:add: an entry for this position already exists\n"));
111 std::map<long, WNEntry>::iterator it =
112 m_posMap.insert(std::pair<long, WNEntry>(entry.
begin(), entry)).first;
114 (std::multimap<std::string, WNEntry const *>::value_type(entry.
type(), &(it->second)));