All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes | Static Private Attributes
osl::search::RecordStack2 Class Reference

SimpleHashRecord* のstack. More...

#include <searchState2.h>

Collaboration diagram for osl::search::RecordStack2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RecordStack2 ()
void clear ()
void push (SimpleHashRecord *r)
void pop ()
SimpleHashRecordlastRecord (unsigned int n=0) const
SimpleHashRecordrootRecord () 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

Detailed Description

SimpleHashRecord* のstack.

先頭要素はrootを意味する。

Definition at line 32 of file searchState2.h.


Constructor & Destructor Documentation

Definition at line 12 of file searchState2.cc.


Member Function Documentation

Definition at line 18 of file searchState2.cc.

Definition at line 26 of file searchState2.cc.

bool osl::search::RecordStack2::empty ( ) const [inline]

Definition at line 59 of file searchState2.h.

References data.

Referenced by rootRecord().

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.

References data, and size().

Referenced by osl::search::SearchState2Core::lastRecord().

void osl::search::RecordStack2::pop ( ) [inline]

Definition at line 40 of file searchState2.h.

References data, and size().

Referenced by osl::search::SearchState2Core::popAfterApply().

Definition at line 39 of file searchState2.h.

References data.

Referenced by osl::search::SearchState2Core::pushBeforeApply().

Definition at line 47 of file searchState2.h.

References data, and empty().

Referenced by osl::search::SearchState2Core::rootRecord().

Definition at line 53 of file searchState2.h.

References data, and size().

Referenced by osl::search::SearchState2Core::setCurrentRecord().

Definition at line 52 of file searchState2.h.

References data.

Referenced by osl::search::SearchState2Core::setRootRecord().

size_t osl::search::RecordStack2::size ( ) const [inline]

Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines