![]() |
API Documentation
|
Writes and Reads from DWG Files using the IOFactory interface. More...
#include <DWGFactory.h>
Public Member Functions | |
| DWGFactory () | |
Public Member Functions inherited from IOFactory | |
| virtual bool | canRead (const File &file) |
| virtual bool | canRead (const FileFormat &file) |
| virtual bool | canWrite (const FactoryParameters &file) |
| virtual bool | canWrite (const File &file) |
| virtual bool | canWrite (const FileFormat &file) |
| virtual bool | determineExtension (const File &file, String &extension) |
| String | factoryReadAppFeature () const |
| String | factoryWriteAppFeature () const |
| virtual Buffer< UUID > | filterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const |
| virtual String | getIcon (const File &file) |
| void | getSupportedFormats (Buffer< FileFormat > &formats) |
| virtual void | getSupportedFormats (Buffer< FileFormat > &formats, const File &file) |
| virtual void | getSupportedFormats (Buffer< FileFormat > &formats, DesignObjectLookup *lookup, const Buffer< UUID > &models) |
| virtual void | getSupportedFormatsByModelType (Buffer< FileFormat > &formats, bool is_read, const String &model_type) |
| virtual void | getSupportedFormatsForExtension (Buffer< FileFormat > &formats, bool is_read, const String &extension) |
| IOFactory (const String &factory_name) | |
| virtual bool | isAutoEnabled () const |
| virtual bool | isFactoryEnabled (bool is_read) const |
| const String & | name () const |
| bool | readFileWithDefaultSettings (const File &file, DesignObjectLookup *lookup) |
| Buffer< Scene > | readScenesFromFile (const File &file) |
| void | throwIfNotEnabled (bool is_read) |
| virtual bool | updateFromFile (const FactoryParameters &file, const FactoryOptions &old_options) |
| bool | writeScenesToFile (const File &file, const Buffer< Scene > &scene) |
| virtual | ~IOFactory () |
Protected Member Functions | |
| bool | canRead (const FactoryParameters &file) override |
| FactoryOptions | defaultReadOptions (const FactoryParameters &file) const override |
| FactoryOptions | defaultWriteOptions (const FactoryParameters &file) const override |
| FactoryFeatures | factoryFeatures (const FactoryParameters &file, bool is_import) const override |
| virtual void | getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override |
| virtual bool | readFile (FactoryParameters &file) override |
| virtual bool | writeFile (FactoryParameters &file) override |
Static Protected Member Functions | |
| static File | CurrentODAPath () |
| static void | DownloadDWGTools () |
| static File | FindODAPath () |
| static INIFactory | INI () |
| static bool | NeedsToDownloadDWGTools () |
| static void | SetODAPath (const File &file) |
| static bool | SupportsODA () |
Static Protected Attributes | |
| static bool | s_is_valid |
| static File | s_oda_path |
Additional Inherited Members | |
Static Public Member Functions inherited from IOFactory | |
| static void | EnableExtension (const String &extension, const String &read_password, const String &write_password) |
| static void | EnableFactory (const String &factory, const String &read_password, const String &write_password) |
| static void | EnableFactory (IOFactory *factory, const String &read_password, const String &write_password) |
Writes and Reads from DWG Files using the IOFactory interface.
| DWGFactory | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from IOFactory.
|
staticprotected |
|
overrideprotectedvirtual |
Reimplemented from IOFactory.
|
overrideprotectedvirtual |
Reimplemented from IOFactory.
|
staticprotected |
|
overrideprotectedvirtual |
Implements IOFactory.
|
staticprotected |
|
overrideprotectedvirtual |
Implements IOFactory.
|
staticprotected |
|
staticprotected |
|
overrideprotectedvirtual |
Implements IOFactory.
|
staticprotected |
|
staticprotected |
|
overrideprotectedvirtual |
Implements IOFactory.
|
staticprotected |
|
staticprotected |