Lines Matching refs:factory
260 To allow this there is a class factory for each archive type, derived from
264 For example, given {\it wxArchiveClassFactory* factory}, streams and
269 auto_ptr<wxArchiveInputStream> inarc(factory->NewStream(in));
270 auto_ptr<wxArchiveOutputStream> outarc(factory->NewStream(out));
273 auto_ptr<wxArchiveEntry> entry(factory->NewEntry());
277 For the factory itself, the static member
279 can be used to find a class factory that can handle a given file
283 const wxArchiveClassFactory *factory;
284 factory = wxArchiveClassFactory::Find(filename, wxSTREAM_FILEEXT);
286 if (factory)
287 stream = factory->NewStream(new wxFFileInputStream(filename));
411 auto_ptr<wxArchiveInputStream> arc(factory->NewStream(in));
412 auto_ptr<wxArchiveOutputStream> outarc(factory->NewStream(out));
449 auto_ptr<wxArchiveInputStream> arc(factory->NewStream(in));
450 auto_ptr<wxArchiveOutputStream> outarc(factory->NewStream(out));