Lines Matching refs:ext
111 template <typename T> T* set_extension(T* ext)
115 m_extensions[T::priv_id] = static_cast<ispex_base*>(ext);
116 if (!tmp && ext) (m_container->*m_inc)();
121 ispex_base* ext)
125 m_extensions[index] = ext;
126 if (!tmp && ext) (m_container->*m_inc)();
130 // Check for an extension, ext will point to 0 if not present
131 template <typename T> void get_extension(T*& ext) const
133 ext = static_cast<T*>(m_extensions[T::priv_id]);
142 template <typename T> void clear_extension(const T* ext)