33#include <NDEVR/IOFactory.h>
34#include <NDEVR/File.h>
The equivelent of std::vector but with a bit more control.
Allows IOFactories to report what features they support to make the import/export dialogs easier to s...
User-defined options that define preferences for importing and exporting using IOFactory objects.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
IOFactory(const StringView &factory_name)
Constructs an IOFactory with the given factory name.
virtual String getIcon(const File &file) override
Returns the icon resource name associated with LandXML files.
FactoryOptions defaultReadOptions(const FactoryParameters &file) const override
Provides the default read options for a LandXML file.
virtual bool canRead(const File &file) override
Checks whether the given file can be read by this factory.
FactoryFeatures factoryFeatures(const FactoryParameters &file, bool is_import) const override
Reports the capabilities of this factory for the given file.
LandXMLFactory()
Constructs the LandXMLFactory and registers supported LandXML file extensions.
virtual bool writeFile(FactoryParameters &) override
Write support is not implemented for LandXML.
virtual bool readFile(FactoryParameters &file) override
Reads and imports data from a LandXML file into the design model.
virtual void getSupportedFormats(Buffer< FileFormat > &formats, bool is_read) override
Populates the list of file formats this factory can handle.
Serves as the primary program interface for processes to report issues and allows any number of LogSt...
A core class that represents a node on model hierarchy.
The core String class for the NDEVR API.
The primary namespace for the NDEVR SDK.
@ file
The source file path associated with this object.
A container of input information that is to be filled with output information by an IOFactory.