Lines Matching defs:abbr
160 abbr(),
169 Glib::ustring const &abbr,
175 , abbr(abbr)
224 char const *astr = abbr.c_str();
279 _unit_map[make_unit_code(u.abbr.c_str())] = new Unit(u);
281 _primary_unit[u.type] = u.abbr;
285 Unit const *UnitTable::getUnit(char const *abbr) const
287 UnitCodeMap::const_iterator f = _unit_map.find(make_unit_code(abbr));
350 Glib::ustring abbr;
353 abbr = match_info.fetch(0);
356 Quantity qty(value, abbr);
366 if (u.abbr != _primary_unit[u.type]) {
367 UnitCodeMap::iterator iter = _unit_map.find(make_unit_code(u.abbr.c_str()));
389 submap.insert(UnitMap::value_type(iter->second->abbr, *iter->second));
461 } else if (element == "abbr") {
462 unit.abbr = text;
521 return Glib::ustring::format(std::fixed, std::setprecision(2), value(u)) + " " + u->abbr;