33#include <NDEVR/IOFactory.h>
34#include <NDEVR/File.h>
35#include <NDEVR/FactoryOptions.h>
47 virtual void getSupportedFormatsByModelType(
Buffer<FileFormat>& formats,
bool is_read,
const String& model_type)
override;
49 virtual String getIcon(
const File& file)
override;
52 virtual bool determineExtension(
const File& file,
String& extension)
override;
57 virtual bool canRead(
const File& file)
override;
58 virtual bool canWrite(
const File& file)
override;
64 void enableExtension(
String extension,
const String& read_password,
const String& write_password);
66 void enableFactory(
const String& factory,
const String& read_password,
const String& write_password);
67 void clearFactories();
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignObjectLookup.h:61
Definition Dictionary.h:48
Definition FactoryFeatures.h:40
Definition FactoryOptions.h:46
Definition IOFactory.h:99
Definition ModelFactory.h:39
Dictionary< String, String > m_extension_read_passwords
Definition ModelFactory.h:72
Dictionary< String, IOFactory * > m_named_factories
Definition ModelFactory.h:71
virtual void getSupportedFormats(Buffer< FileFormat > &formats, const File &file) override
Definition ModelFactory.h:46
Buffer< IOFactory * > * m_factory_objects
Definition ModelFactory.h:69
Dictionary< String, String > m_extension_write_passwords
Definition ModelFactory.h:73
Dictionary< String, IOFactory * > m_extension_factories
Definition ModelFactory.h:70
Definition IOFactory.h:56