#include <mlSaveBase.h>

Public Member Functions | |
| SaveBase () | |
| constructor | |
| virtual int | saveObject (void) |
| saves the input object to a file | |
Public Attributes | |
| NotifyField * | _fldSaveButton |
| Save list. | |
| StringField * | _fldNodeName |
| Name of the root node of the list when storing/restoring. | |
| StringField * | _fldSaveFileName |
| Name of the file the list is to be stored in. | |
| StringField * | _fldFileStatus |
| Field for status messages concerning file I/O. | |
| StringField * | _fldSaveDirName |
| Name of the directory the file is to be stored in. | |
| BoolField * | _fldUseSaveDir |
| Indicates whether the save dir field is used. | |
| EnumField * | _fldSaveMode |
| Specifies the storage format of the list. | |
| BoolField * | _fldAutoSave |
| Auto-saves the object each time the input is touched. Use with care. | |
| BoolField * | _fldUpToDate |
| If true, the last saved object file is still consistent with the current object. | |
| BoolField * | _fldAllowOverwrite |
| Indicates whether the specified file is overwritten if it already exists. | |
| BaseField * | _fldBaseInput |
| Input connection. | |
Protected Member Functions | |
| virtual void | handleNotification (Field *field) |
| Handle field notifications. | |
| void | _updateNodeName () |
| Reads a default node name from the input object (if present). | |
Definition at line 22 of file mlSaveBase.h.
| ml::SaveBase::SaveBase | ( | ) |
constructor
| void ml::SaveBase::_updateNodeName | ( | ) | [protected] |
Reads a default node name from the input object (if present).
| virtual void ml::SaveBase::handleNotification | ( | Field * | field | ) | [protected, virtual] |
| virtual int ml::SaveBase::saveObject | ( | void | ) | [virtual] |
saves the input object to a file
Indicates whether the specified file is overwritten if it already exists.
Definition at line 41 of file mlSaveBase.h.
Auto-saves the object each time the input is touched. Use with care.
Definition at line 39 of file mlSaveBase.h.
Name of the root node of the list when storing/restoring.
Definition at line 33 of file mlSaveBase.h.
Specifies the storage format of the list.
Definition at line 38 of file mlSaveBase.h.
If true, the last saved object file is still consistent with the current object.
Definition at line 40 of file mlSaveBase.h.
1.5.8