22 bool Contains(
const std::string& key)
const;
26 void Add(
const std::string& key,
FontInstance* pFontInstance);
27 void Remove(
const std::string& key);
29 int GetReferenceCount(
const std::string& key)
const;
30 void IncrementReferenceCount(
const std::string& key);
31 void DecrementReferenceCount(
const std::string& key);
33 std::vector<std::string> AllKeys()
const;
36 typedef std::pair<int, FontInstance*> RefCountedFontInstance;
37 typedef std::map<std::string, RefCountedFontInstance> TStore;