![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Provide loading and saving of objects. More...
#include <IFileTypeInfo.h>
Public Types | |
enum | QueryFlags { QF_LOAD = 1 << 0 , QF_SAVE = 1 << 1 , QF_FILE = 1 << 2 , QF_DIRECTORY = 1 << 3 , QF_ANONYMOUS = 1 << 4 } |
Describe detailed options of query. More... | |
Public Member Functions | |
virtual bool | GetFileExtensions (QStringList &result, const istd::IChangeable *dataObjectPtr=nullptr, int flags=-1, bool doAppend=false) const =0 |
Get file extensions supported by this loader. | |
virtual QString | GetTypeDescription (const QString *extensionPtr=nullptr) const =0 |
Get description of object type associated with single extension. | |
Provide loading and saving of objects.
Definition at line 25 of file IFileTypeInfo.h.
Describe detailed options of query.
Definition at line 31 of file IFileTypeInfo.h.
|
pure virtual |
Get file extensions supported by this loader.
result | list of extensions, e.g. {"txt", "doc"}. |
dataObjectPtr | optional pointer to data object for which all possible extensions are requested. It can be nullptr if any object is meant. |
flags | set of flags |
doAppend | if true, list of extensions should be appended to existing list. |
Implemented in icmpstr::CRegistrySerializerComp, idoc::CMultiPageDocumentFilePersistenceComp, idoc::CTextFilePersistenceComp, idocgui::CClipboardSerializerComp, idocgui::CDocPreviewGuiComp, ifile::CComposedFilePersistenceComp, ifile::CFileTypeInfoComp, ifile::CSettingsSerializerComp, ifilegui::CFileDialogPersistenceComp, iimg::CBitmapPersistenceComp, iipr::CRenderedObjectFileLoaderComp, imeas::CWavSamplesSaverComp, and ipackage::CRegistryCodeSaverComp.
|
pure virtual |
Get description of object type associated with single extension.
Implemented in icmpstr::CRegistrySerializerComp, idoc::CMultiPageDocumentFilePersistenceComp, idoc::CTextFilePersistenceComp, idocgui::CClipboardSerializerComp, idocgui::CDocPreviewGuiComp, ifile::CComposedFilePersistenceComp, ifile::CFileTypeInfoComp, ifile::CSettingsSerializerComp, ifilegui::CFileDialogPersistenceComp, iimg::CBitmapPersistenceComp, iipr::CRenderedObjectFileLoaderComp, imeas::CWavSamplesSaverComp, and ipackage::CRegistryCodeSaverComp.
© Witold Gantzke and Kirill Lepskiy