API Documentation
|
#include <IOFactory.h>
Public Member Functions | |
IOFactory (const String &factory_name) | |
const String & | name () const |
virtual | ~IOFactory () |
bool | writeScenesToFile (const File &file, const Buffer< Scene > &scene) |
bool | readFileWithDefaultSettings (const File &file, DesignObjectLookup *lookup) |
void | getSupportedFormats (Buffer< FileFormat > &formats) |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, bool is_read)=0 |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, const File &file) |
virtual void | getSupportedFormats (Buffer< FileFormat > &formats, DesignObjectLookup *lookup, const Buffer< UUID > &models) |
virtual void | getSupportedFormatsForExtension (Buffer< FileFormat > &formats, bool is_read, const String &extension) |
virtual void | getSupportedFormatsByModelType (Buffer< FileFormat > &formats, bool is_read, const String &model_type) |
virtual Buffer< UUID > | filterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const |
virtual bool | isFactoryEnabled (bool is_read) const |
virtual bool | canRead (const File &file) |
virtual bool | determineExtension (const File &file, String &extension) |
virtual bool | canWrite (const File &file) |
virtual bool | isAutoEnabled () const |
virtual String | getIcon (const File &file) |
virtual bool | canRead (const FactoryParameters &file) |
virtual bool | canWrite (const FactoryParameters &file) |
virtual bool | canRead (const FileFormat &file) |
virtual bool | canWrite (const FileFormat &file) |
Buffer< Scene > | readScenesFromFile (const File &file) |
virtual FactoryOptions | defaultReadOptions (const FactoryParameters &file) const |
virtual FactoryOptions | defaultWriteOptions (const FactoryParameters &file) const |
virtual bool | updateFromFile (const FactoryParameters &file, const FactoryOptions &old_options) |
virtual FactoryFeatures | factoryFeatures (const FactoryParameters &file, bool is_import) const =0 |
String | factoryReadAppFeature () const |
String | factoryWriteAppFeature () const |
void | throwIfNotEnabled (bool is_read) |
Static Public Member Functions | |
static void | EnableFactory (IOFactory *factory, const String &read_password, const String &write_password) |
static void | EnableFactory (const String &factory, const String &read_password, const String &write_password) |
static void | EnableExtension (const String &extension, const String &read_password, const String &write_password) |
Friends | |
class | ModelFactory |
|
virtual |
|
virtual |
Reimplemented in AsciiFactory, DWGFactory, KMLFactory, ModelFactory, NDVFactory, PDFFactory, and SH3DFactory.
|
virtual |
Reimplemented in IredesPatternFactory, and ModelFactory.
|
virtual |
|
virtual |
Reimplemented in ModelFactory, NDVFactory, and PDFFactory.
|
virtual |
Reimplemented in ModelFactory, and PDFFactory.
|
virtual |
Reimplemented in NDVFactory, and PDFFactory.
|
virtual |
Reimplemented in AsciiFactory, AssimpFactory, DVI3DSpreadsheetFactory, DWGFactory, DXFFactory, E57Factory, KMLFactory, ModelFactory, NDVFactory, SH3DFactory, and SHPFactory.
|
virtual |
Reimplemented in AsciiFactory, AssimpFactory, DWGFactory, DXFFactory, E57Factory, KMLFactory, ModelFactory, NDVFactory, PDFFactory, SH3DFactory, and SHPFactory.
Reimplemented in DXFFactory, ModelFactory, NDVFactory, and SH3DFactory.
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in AsciiFactory, AssimpFactory, DVI3DSpreadsheetFactory, DWGFactory, DXFFactory, E57Factory, KMLFactory, ModelFactory, NDVFactory, PDFFactory, RockWorksFactory, SH3DFactory, and SHPFactory.
String factoryReadAppFeature | ( | ) | const |
String factoryWriteAppFeature | ( | ) | const |
|
virtual |
Reimplemented in AsciiFactory, AssimpFactory, E57Factory, KMLFactory, ModelFactory, SH3DFactory, and SHPFactory.
Reimplemented in AsciiFactory, AssimpFactory, ModelFactory, and NDVFactory.
void getSupportedFormats | ( | Buffer< FileFormat > & | formats | ) |
|
pure virtual |
Implemented in AsciiFactory, AssimpFactory, DVI3DSpreadsheetFactory, DWGFactory, DXFFactory, E57Factory, IredesPatternFactory, KMLFactory, ModelFactory, NDVFactory, PDFFactory, SH3DFactory, and SHPFactory.
|
virtual |
Reimplemented in ModelFactory.
|
virtual |
Reimplemented in AsciiFactory, ModelFactory, and PDFFactory.
|
virtual |
Reimplemented in AsciiFactory, IredesPatternFactory, and ModelFactory.
|
virtual |
|
virtual |
|
virtual |
|
inline |
bool readFileWithDefaultSettings | ( | const File & | file, |
DesignObjectLookup * | lookup ) |
void throwIfNotEnabled | ( | bool | is_read | ) |
|
virtual |
Reimplemented in ModelFactory.
|
friend |