Resource* capture(const char* path) { //globalOutputStream() << "capture: \"" << path << "\"\n"; return m_references.capture(CopiedString(path)).get(); }
void release(const char* path) { m_references.release(CopiedString(path)); //globalOutputStream() << "release: \"" << path << "\"\n"; }
void clear() { m_references.clear(); }
iterator end() { return m_references.end(); }
iterator begin() { return m_references.begin(); }
void release (const std::string& path) { m_references.release(path); g_debug("release: \"%s\"\n", path.c_str()); }
Resource* capture (const std::string& path) { g_debug("capture: \"%s\"\n", path.c_str()); return m_references.capture(path).get(); }