Next: Nonvirtual member functions
Up: Command
Previous: Enumerationslists or character
- Cmdtype mytype - unique code for this derived class.
- int textExists - whether or not the text equivalent of this
command has been created yet. This only needs to be done at most once,
and sometimes not at all (if commands are not being logged to a file or
the screen, for example).
- int hasTextCmd - whether or not this command even HAS a text
equivalent ... some commands do not, for example Event's.
- char cmdtextbuf[256] - character buffer to hold the text
equivalent string. This can be at most 256 characters.
- ostrstream *cmdText - character stream used to format the
text equivalent.
Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999