예제 #1
0
 Resource* capture(const char* path)
 {
   //globalOutputStream() << "capture: \"" << path << "\"\n";
   return m_references.capture(CopiedString(path)).get();
 }
예제 #2
0
 void release(const char* path)
 {
   m_references.release(CopiedString(path));
   //globalOutputStream() << "release: \"" << path << "\"\n";
 }
예제 #3
0
 void clear()
 {
   m_references.clear();
 }
예제 #4
0
 iterator end()
 {
   return m_references.end();
 }
예제 #5
0
 iterator begin()
 {
   return m_references.begin();
 }
예제 #6
0
 void release (const std::string& path)
 {
     m_references.release(path);
     g_debug("release: \"%s\"\n", path.c_str());
 }
예제 #7
0
 Resource* capture (const std::string& path)
 {
     g_debug("capture: \"%s\"\n", path.c_str());
     return m_references.capture(path).get();
 }