| 46 | } |
| 47 | |
| 48 | IC int CObjectFactory::script_clsid(const CLASS_ID& clsid) const |
| 49 | { |
| 50 | actualize(); |
| 51 | const_iterator I = std::lower_bound(clsids().begin(), clsids().end(), clsid, CObjectItemPredicate()); |
| 52 | VERIFY((I != clsids().end()) && ((*I)->clsid() == clsid)); |
| 53 | return (int(I - clsids().begin())); |
| 54 | } |
| 55 | |
| 56 | IC CObjectFactory::CLIENT_BASE_CLASS* CObjectFactory::client_object(const CLASS_ID& clsid) const { return (item(clsid).client_object()); } |
| 57 |
no test coverage detected