-/**
- * Stored state for a command.
- *
- * <p>This class allows a command to cache parts of its state between
- * invocations with the same parameters. Nearly every command that
- * actually uses this will subclass it in some way. The command
- * allocates the structure, but it is up to the caller to delete it
- * when it is no longer necessary, unless the command deletes it
- * and replaces the value with 0 or another command-state object
- * first.</p>
- *
- * <p>Note that this class is for caching only; all of the information
- * in it must be recoverable by other means, since the state could
- * arbitrarily disappear between invocations if the caller decides to
- * delete it.</p>
- *
- * <p>By default, the command state includes a place to keep a copy of
- * the parameters.</p>
- *
- * @author David Megginson, david@megginson.com
- */
-class SGCommandState
-{
-public:
- SGCommandState ();
- SGCommandState (const SGPropertyNode * args);
- virtual ~SGCommandState ();
- virtual void setArgs (const SGPropertyNode * args);
- virtual const SGPropertyNode * getArgs () const { return _args; }
-private:
- SGPropertyNode * _args;
-};
-
-