Lines Matching refs:m_objects
907 void make (const string& name) { DE_ASSERT(!has(name)); m_objects[name] = SharedPtr<T>(new T); }
908 void make (const string& name, gls::TextureType texType) { DE_ASSERT(!has(name)); m_objects[name] = SharedPtr<T>(new T(texType)); }
909 bool has (const string& name) const { return m_objects.find(name) != m_objects.end(); }
912 void remove (const string& name) { const int removed = (int)m_objects.erase(name); DE_ASSERT(removed); DE_UNREF(removed); }
921 map<string, SharedPtr<T> > m_objects;
932 const typename map<string, SharedPtr<T> >::const_iterator it = m_objects.find(name);
933 DE_ASSERT(it != m_objects.end());
942 for (typename map<string, SharedPtr<T> >::const_iterator it = m_objects.begin(); it != m_objects.end(); ++it)
954 const typename map<string, SharedPtr<T> >::iterator it = m_objects.find(name);
955 DE_ASSERT(it != m_objects.end());
957 m_objects.erase(it);