SimpleHashRecord* のstack. More...
#include <searchState2.h>
Public Member Functions | |
RecordStack2 () | |
void | clear () |
void | push (SimpleHashRecord *r) |
void | pop () |
SimpleHashRecord * | lastRecord (unsigned int n=0) const |
SimpleHashRecord * | rootRecord () const |
void | setRootRecord (SimpleHashRecord *root) |
void | setLastRecord (SimpleHashRecord *r) |
size_t | size () const |
bool | empty () const |
bool | hasLastRecord (unsigned int n=0) const |
void | dump () const |
Private Attributes | |
FixedCapacityVector < SimpleHashRecord *, SEARCH_DEPTH_MAX > | data |
Static Private Attributes | |
static const int | SEARCH_DEPTH_MAX = 64 |
Definition at line 12 of file searchState2.cc.
void osl::search::RecordStack2::clear | ( | ) |
Definition at line 18 of file searchState2.cc.
void osl::search::RecordStack2::dump | ( | ) | const |
Definition at line 26 of file searchState2.cc.
bool osl::search::RecordStack2::empty | ( | ) | const [inline] |
bool osl::search::RecordStack2::hasLastRecord | ( | unsigned int | n = 0 | ) | const [inline] |
Definition at line 60 of file searchState2.h.
References size().
Referenced by osl::search::SearchState2Core::hasLastRecord().
SimpleHashRecord* osl::search::RecordStack2::lastRecord | ( | unsigned int | n = 0 | ) | const [inline] |
Definition at line 42 of file searchState2.h.
Referenced by osl::search::SearchState2Core::lastRecord().
void osl::search::RecordStack2::pop | ( | ) | [inline] |
Definition at line 40 of file searchState2.h.
Referenced by osl::search::SearchState2Core::popAfterApply().
void osl::search::RecordStack2::push | ( | SimpleHashRecord * | r | ) | [inline] |
Definition at line 39 of file searchState2.h.
References data.
Referenced by osl::search::SearchState2Core::pushBeforeApply().
SimpleHashRecord* osl::search::RecordStack2::rootRecord | ( | ) | const [inline] |
Definition at line 47 of file searchState2.h.
Referenced by osl::search::SearchState2Core::rootRecord().
void osl::search::RecordStack2::setLastRecord | ( | SimpleHashRecord * | r | ) | [inline] |
Definition at line 53 of file searchState2.h.
Referenced by osl::search::SearchState2Core::setCurrentRecord().
void osl::search::RecordStack2::setRootRecord | ( | SimpleHashRecord * | root | ) | [inline] |
Definition at line 52 of file searchState2.h.
References data.
Referenced by osl::search::SearchState2Core::setRootRecord().
size_t osl::search::RecordStack2::size | ( | ) | const [inline] |
Definition at line 58 of file searchState2.h.
References data.
Referenced by hasLastRecord(), lastRecord(), pop(), osl::search::SearchState2Core::setCurrentRecord(), setLastRecord(), and osl::search::SearchState2Core::setRootRecord().
FixedCapacityVector<SimpleHashRecord*, SEARCH_DEPTH_MAX> osl::search::RecordStack2::data [private] |
Definition at line 35 of file searchState2.h.
Referenced by empty(), lastRecord(), pop(), push(), rootRecord(), setLastRecord(), setRootRecord(), and size().
const int osl::search::RecordStack2::SEARCH_DEPTH_MAX = 64 [static, private] |
Definition at line 34 of file searchState2.h.