|
enum | API {
Load = 1 << 0,
Options = 1 << 1,
OptionPanelForLoading = 1 << 2,
Save = 1 << 3,
OptionPanelForSaving = 1 << 4
} |
|
enum | InterfaceLevel { Standard,
Conversion,
Internal
} |
|
enum | InvocationType { Direct,
Dialog,
DragAndDrop
} |
|
| ItemFileIoBase (const std::string &format, int api) |
|
virtual Item * | createItem () override |
|
virtual bool | load (Item *item, const std::string &filename) override final |
|
virtual bool | load (BodyItem *, const std::string &) |
|
virtual bool | save (Item *item, const std::string &filename) override final |
|
virtual bool | save (BodyItem *, const std::string &) |
|
virtual QWidget * | getOptionPanelForSaving (Item *item) override final |
|
| ~ItemFileIO () |
|
bool | isFormat (const std::string &format) const |
|
int | api () const |
|
bool | hasApi (int api) const |
|
const std::string & | caption () const |
|
const std::string & | fileTypeCaption () const |
|
void | addFormatAlias (const std::string &format) |
|
void | addFormatIdAlias (const std::string &format) |
|
void | setExtensionFunction (std::function< std::string()> func) |
|
std::vector< std::string > | extensions () const |
|
int | interfaceLevel () const |
|
void | setCurrentInvocationType (int type) |
|
Item * | loadItem (const std::string &filename, Item *parentItem=nullptr, bool doAddition=true, Item *nextItem=nullptr, const Mapping *options=nullptr) |
|
bool | loadItem (Item *item, const std::string &filename, Item *parentItem=nullptr, bool doAddition=true, Item *nextItem=nullptr, const Mapping *options=nullptr) |
|
bool | saveItem (Item *item, const std::string &filename, const Mapping *options=nullptr) |
|
virtual void | resetOptions () |
|
virtual void | storeOptions (Mapping *options) |
|
virtual bool | restoreOptions (const Mapping *options) |
|
virtual QWidget * | getOptionPanelForLoading () |
|
virtual void | fetchOptionPanelForLoading () |
|
virtual void | fetchOptionPanelForSaving () |
|
Item * | parentItem () |
|
int | currentInvocationType () const |
|
bool | isRegisteredForSingletonItem () const |
|
Item * | findSingletonItemInstance () const |
|
void | setItemClassInfo (Referenced *info) |
|
const Referenced * | itemClassInfo () const |
|
virtual | ~Referenced () |
|
static std::vector< std::string > | separateExtensions (const std::string &multiExtString) |
|