class
Command
(Return to index)
base class for command objects.
Type:
Instantiable
Derived Classes
Include file:
Unidraw/Commands/command.h
Description:
man page
Public:
virtual
Command
*
Copy
()
virtual boolean
Done
(
Iterator
&)
virtual void
Execute
()
virtual void
First
(
Iterator
&)
virtual ClassId
GetClassId
()
virtual
Clipboard
*
GetClipboard
()
virtual
ControlInfo
*
GetControlInfo
()
virtual
Editor
*
GetEditor
()
virtual ClassId
GetSubstId
(const char*& delim)
virtual boolean
IsA
(ClassId)
virtual void
Last
(
Iterator
&)
virtual void
Log
()
virtual void
Next
(
Iterator
&)
virtual void
Prev
(
Iterator
&)
virtual void
Read
(istream&)
virtual
Data
*
Recall
(
Component
*)
virtual boolean
Reversible
()
virtual void
SetClipboard
(
Clipboard
*)
virtual void
SetControlInfo
(
ControlInfo
*)
virtual void
SetEditor
(
Editor
*)
virtual void
Store
(
Component
*,
Data
* = nil)
virtual void
Unexecute
()
virtual void
Write
(ostream&)
static LeakChecker*
_leakchecker
virtual
~Command
()
Protected:
Command
(
ControlInfo
*,
Clipboard
* = nil)
Command
(
Editor
* = nil,
Clipboard
* = nil)
Clipboard
*
CopyClipboard
()
ControlInfo
*
CopyControlInfo
()
DataCache*
CopyData
()
Clipboard
*
DeepCopyClipboard
()
GraphicComp
*
GetGraphicComp
()
void
InitCopy
(
Command
*)
void
SetData
(DataCache*)
DataCache*
_cache
Clipboard
*
_clipboard
ControlInfo
*
_ctrlInfo
Editor
*
_editor
(more documentation)