|  | VPTissue Reference Manual
    | 
Dummy UnsavedChanges class. More...
#include <HasUnsavedChanges.h>


| Public Member Functions | |
| virtual bool | IsOpened () const | 
| void | SetChildren (ChildrenType &&c) | 
|  Public Member Functions inherited from SimShell::Gui::HasUnsavedChanges | |
| HasUnsavedChanges (std::string &&title) | |
| virtual | ~HasUnsavedChanges () | 
| Virtual destructor. | |
| ChildrenType::iterator | begin () | 
| Get iterator to first child. | |
| ChildrenType::const_iterator | begin () const | 
| Get iterator to first child. | |
| ChildrenType::iterator | end () | 
| Get iterator to one position after last child. | |
| ChildrenType::const_iterator | end () const | 
| Get iterator to one position after last child. | |
| void | ForceClose () | 
| Force this object and its children to go back to unopened state so it can be safely deleted. | |
| const std::string & | GetTitle () | 
| Get title of this object. | |
| bool | IsClean () const | 
| bool | Save () | 
| Try to save this widget's (and its children's) changes.  More... | |
| bool | SaveAndClose () | 
| Try to save this object (and its children) and, if successful, close them all. | |
| Protected Member Functions | |
| virtual void | InternalForceClose () | 
| Implementation should only close THIS widget, not its children. | |
| virtual bool | InternalIsClean () const | 
| The result should be true only if THIS widget is in clean state. | |
| virtual bool | InternalSave () | 
| Implementation should only save THIS widget.  More... | |
|  Protected Member Functions inherited from SimShell::Gui::HasUnsavedChanges | |
| void | AddChild (ChildrenType::value_type &&v) | 
| Add child. | |
| virtual void | InternalPreForceClose () | 
| Additional things to do before closing children of this widget. | |
| void | SetChildren (ChildrenType &&c) | 
| Set children. | |
| Additional Inherited Members | |
|  Public Types inherited from SimShell::Gui::HasUnsavedChanges | |
| typedef std::vector< HasUnsavedChanges * > | ChildrenType | 
Dummy UnsavedChanges class.
Definition at line 109 of file HasUnsavedChanges.h.
| 
 | inlineprotectedvirtual | 
Implementation should only save THIS widget.
The result should be true only if THIS widget is in clean state.
Implements SimShell::Gui::HasUnsavedChanges.
Definition at line 121 of file HasUnsavedChanges.h.
| 
 | inlinevirtual | 
Implements SimShell::Gui::HasUnsavedChanges.
Definition at line 116 of file HasUnsavedChanges.h.