#include <historyState.h>

| Public Member Functions | |
| HistoryState () | |
| HistoryState (const SimpleState &initial) | |
| ~HistoryState () | |
| void | setRoot (const SimpleState &) | 
| void | makeMove (Move move) | 
| void | unmakeMove () | 
| void | makeMovePass () | 
| void | unmakeMovePass () | 
| const NumEffectState & | state () const | 
| operator const NumEffectState & () const | |
| const NumEffectState & | initialState () const | 
| bool | empty () const | 
| const vector< Move > & | history () const | 
| bool | isConsistent () const | 
| Private Member Functions | |
| void | update () const | 
| Private Attributes | |
| NumEffectState | initial_state | 
| NumEffectState | current | 
| bool | dirty | 
| vector< Move > | moves | 
Definition at line 11 of file historyState.h.
| osl::state::HistoryState::HistoryState | ( | ) | 
Definition at line 5 of file historyState.cc.
References current, initial_state, and osl::state::NumEffectState::isConsistent().
| 
 | explicit | 
Definition at line 12 of file historyState.cc.
References current, initial_state, and osl::state::NumEffectState::isConsistent().
| osl::state::HistoryState::~HistoryState | ( | ) | 
Definition at line 19 of file historyState.cc.
| 
 | inline | 
Definition at line 39 of file historyState.h.
| 
 | inline | 
Definition at line 40 of file historyState.h.
References moves.
| 
 | inline | 
Definition at line 38 of file historyState.h.
| 
 | inline | 
Definition at line 41 of file historyState.h.
| void osl::state::HistoryState::makeMove | ( | Move | move) | 
Definition at line 30 of file historyState.cc.
References moves, and update().
Referenced by osl::state::DoUndoMoveLock::DoUndoMoveLock().
| void osl::state::HistoryState::makeMovePass | ( | ) | 
Definition at line 44 of file historyState.cc.
References osl::Move::PASS().
| 
 | inline | 
Definition at line 37 of file historyState.h.
| void osl::state::HistoryState::setRoot | ( | const SimpleState & | initial) | 
Definition at line 23 of file historyState.cc.
References moves.
| 
 | inline | 
Definition at line 32 of file historyState.h.
References update().
| void osl::state::HistoryState::unmakeMove | ( | ) | 
Definition at line 38 of file historyState.cc.
References moves.
Referenced by osl::state::DoUndoMoveLock::~DoUndoMoveLock().
| void osl::state::HistoryState::unmakeMovePass | ( | ) | 
Definition at line 49 of file historyState.cc.
References moves.
| 
 | private | 
Definition at line 60 of file historyState.cc.
References moves.
| 
 | mutableprivate | 
Definition at line 17 of file historyState.h.
Referenced by HistoryState().
| 
 | mutableprivate | 
Definition at line 18 of file historyState.h.
| 
 | private | 
Definition at line 16 of file historyState.h.
Referenced by HistoryState().
| 
 | private | 
Definition at line 19 of file historyState.h.
 1.8.4
 1.8.4