|
Choreonoid
1.8
|
#include <BodyItemFileIO.h>
Public Member Functions | |
| BodyItemBodyFileIO () | |
| StdBodyWriter * | bodyWriter () |
Public Member Functions inherited from cnoid::ItemFileIoBase< BodyItem > | |
| ItemFileIoBase (const std::string &formatId, int api) | |
| virtual Item * | createItem () override |
| virtual bool | load (Item *item, const std::string &filename) override final |
| virtual bool | save (Item *item, const std::string &filename) override final |
| virtual QWidget * | getOptionPanelForSaving (Item *item) override final |
Public Member Functions inherited from cnoid::ItemFileIO | |
| ~ItemFileIO () | |
| bool | isFormat (const std::string &id) const |
| int | api () const |
| void | setApi (int apiSet) |
| bool | hasApi (int api) const |
| void | setCaption (const std::string &caption) |
| const std::string & | caption () const |
| void | setFileTypeCaption (const std::string &caption) |
| const std::string & | fileTypeCaption () const |
| void | addFormatIdAlias (const std::string &formatId) |
| void | addExtensions (const std::vector< std::string > &extensions) |
| void | setExtensionFunction (std::function< std::string()> func) |
| std::vector< std::string > | extensions () const |
| void | setInterfaceLevel (InterfaceLevel level) |
| int | interfaceLevel () const |
| void | setInvocationType (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 () |
| Item * | parentItem () |
| int | invocationType () const |
| bool | isRegisteredForSingletonItem () const |
| Item * | findSingletonItemInstance () const |
| void | setItemClassInfo (Referenced *info) |
| const Referenced * | itemClassInfo () const |
Public Member Functions inherited from cnoid::Referenced | |
| virtual | ~Referenced () |
Protected Member Functions | |
| virtual bool | load (BodyItem *item, const std::string &filename) override |
| StdBodyWriter * | ensureBodyWriter () |
| virtual void | createOptionPanelForSaving () override |
| virtual void | fetchOptionPanelForSaving () override |
| virtual bool | save (BodyItem *item, const std::string &filename) override |
Protected Member Functions inherited from cnoid::BodyItemFileIoBase | |
| BodyItemFileIoBase (const char *format, int api) | |
| ~BodyItemFileIoBase () | |
| virtual QWidget * | getOptionPanelForSaving (BodyItem *item) override |
| void | addExtModelFileModeCombo (QBoxLayout *box) |
| void | addTransformIntegrationCheck (QBoxLayout *box) |
Protected Member Functions inherited from cnoid::ItemFileIO | |
| ItemFileIO (const std::string &formatId, int api) | |
| ItemFileIO (const ItemFileIO &org) | |
| ItemFileIO () | |
| void | copyFrom (const ItemFileIO &org) |
| void | setExtension (const std::string &extension) |
| void | setExtensions (const std::vector< std::string > &extensions) |
| std::ostream & | os () |
| void | putWarning (const std::string &message) |
| void | putError (const std::string &message) |
| void | setActuallyLoadedItem (Item *item) |
Protected Member Functions inherited from cnoid::Referenced | |
| Referenced () | |
| Referenced (const Referenced &) | |
| int | refCount () const |
Additional Inherited Members | |
Public Types inherited from cnoid::ItemFileIO | |
| 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 } |
Static Public Member Functions inherited from cnoid::ItemFileIO | |
| static std::vector< std::string > | separateExtensions (const std::string &multiExtString) |
Protected Attributes inherited from cnoid::BodyItemFileIoBase | |
| QVBoxLayout * | optionVBox |
| QComboBox * | extModelFileModeCombo |
| QCheckBox * | transformIntegrationCheck |
| BodyItemBodyFileIO::BodyItemBodyFileIO | ( | ) |
|
inline |
|
overrideprotectedvirtual |
Implements cnoid::BodyItemFileIoBase.
|
protected |
|
overrideprotectedvirtual |
Reimplemented from cnoid::ItemFileIO.
|
overrideprotectedvirtual |
Reimplemented from cnoid::ItemFileIoBase< BodyItem >.
|
overrideprotectedvirtual |
Reimplemented from cnoid::ItemFileIoBase< BodyItem >.
1.8.17