4 #include "RegTable.hpp"
\r
6 class RegisterEditor : public RegisterTable
\r
10 RegisterEditor(istream &);
\r
11 int operator++() { return setSelect(select+1); }
\r
12 int operator--() { return setSelect(select-1); }
\r
13 NamedRegister& operator* (void) { return reg[select]; }
\r
14 int getSelect() { return select; }
\r
18 int setSelect(int s) { select = s; return updateSelect(); }
\r