All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
osl::search::RecordStack2 Class Reference

SimpleHashRecord* のstack. More...

#include <searchState2.h>

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

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

osl::search::RecordStack2::RecordStack2 ( )

Definition at line 12 of file searchState2.cc.

Member Function Documentation

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

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().

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.

References data, and empty().

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

void osl::search::RecordStack2::setLastRecord ( SimpleHashRecord r)
inline

Definition at line 53 of file searchState2.h.

References data, and size().

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

Member Data Documentation

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
staticprivate

Definition at line 34 of file searchState2.h.


The documentation for this class was generated from the following files: