|
| std::shared_ptr< FileADT > | create (const std::string &filename, OpenMode mode, const OpenZGY::IOContext *iocontext) |
| |
|
void | add_factory (const factory_t &factory) |
| |
◆ create()
| std::shared_ptr< FileADT > InternalZGY::FileFactory::create |
( |
const std::string & |
filename, |
|
|
OpenMode |
mode, |
|
|
const OpenZGY::IOContext * |
iocontext |
|
) |
| |
Try the registered factories in the order of registration until one is found that can handle this file. Caveat: If registration is done using static initializers then that order is undefined. So when a factory decides whether to handle a file or not it should not make assumptions about where it is in the list.
The documentation for this class was generated from the following files: