PPL Logo

StateStack Class Reference

#include <searchEngine_impl.h>

Collaboration diagram for StateStack:

Collaboration graph
[legend]

Public Member Functions

 StateStack ()
 ~StateStack ()
void set (int size)
void set (SearchNodeMsg *m)
void freeMsg ()
void free_stack ()
int empty () const
char * top () const
int cursize () const
void clear ()
char * push (int size)
StateBasepop ()
int popN (int n)
 StateStack ()
 ~StateStack ()
void set (int size)
void set (SearchNodeMsg *m)
void freeMsg ()
void free_stack ()
char * push (int size)
StateBasepop ()
int popN (int n)
int empty () const
char * top () const
int cursize () const
void clear ()

Private Member Functions

void expand (int size)
void expand (int size)

Private Attributes

char * mystack
char * cur
int maxsize
bool msgstack
char * mystack
char * cur

Detailed Description

Definition at line 338 of file searchEngine_impl.h.


Constructor & Destructor Documentation

StateStack::StateStack (  )  [inline]

Definition at line 356 of file searchEngine_impl.h.

StateStack::~StateStack (  )  [inline]

Definition at line 357 of file searchEngine_impl.h.

StateStack::StateStack (  )  [inline]

Definition at line 422 of file searchEngine_impl.h.

StateStack::~StateStack (  )  [inline]

Definition at line 423 of file searchEngine_impl.h.


Member Function Documentation

void StateStack::expand ( int  size  )  [inline, private]

Definition at line 344 of file searchEngine_impl.h.

void StateStack::set ( int  size  )  [inline]

Definition at line 360 of file searchEngine_impl.h.

References size.

void StateStack::set ( SearchNodeMsg m  )  [inline]

Definition at line 364 of file searchEngine_impl.h.

References PUP::m.

void StateStack::freeMsg (  )  [inline]

Definition at line 370 of file searchEngine_impl.h.

References msg.

void StateStack::free_stack (  )  [inline]

Definition at line 374 of file searchEngine_impl.h.

int StateStack::empty ( void   )  const [inline]

Definition at line 377 of file searchEngine_impl.h.

char* StateStack::top (  )  const [inline]

Definition at line 378 of file searchEngine_impl.h.

int StateStack::cursize (  )  const [inline]

Definition at line 379 of file searchEngine_impl.h.

void StateStack::clear (  )  [inline]

Definition at line 380 of file searchEngine_impl.h.

char* StateStack::push ( int  size  )  [inline]

Definition at line 381 of file searchEngine_impl.h.

StateBase* StateStack::pop (  )  [inline]

Definition at line 388 of file searchEngine_impl.h.

References se_statesize.

int StateStack::popN ( int  n  )  [inline]

Definition at line 393 of file searchEngine_impl.h.

References se_statesize.

void StateStack::expand ( int  size  )  [inline, private]

Definition at line 409 of file searchEngine_impl.h.

void StateStack::set ( int  size  )  [inline]

Definition at line 426 of file searchEngine_impl.h.

References size.

void StateStack::set ( SearchNodeMsg m  )  [inline]

Definition at line 430 of file searchEngine_impl.h.

References PUP::m.

void StateStack::freeMsg (  )  [inline]

Definition at line 436 of file searchEngine_impl.h.

References msg.

void StateStack::free_stack (  )  [inline]

Definition at line 440 of file searchEngine_impl.h.

char* StateStack::push ( int  size  )  [inline]

Definition at line 443 of file searchEngine_impl.h.

StateBase* StateStack::pop (  )  [inline]

Definition at line 451 of file searchEngine_impl.h.

References size.

int StateStack::popN ( int  n  )  [inline]

Definition at line 457 of file searchEngine_impl.h.

References size.

int StateStack::empty ( void   )  const [inline]

Definition at line 466 of file searchEngine_impl.h.

char* StateStack::top (  )  const [inline]

Definition at line 467 of file searchEngine_impl.h.

int StateStack::cursize (  )  const [inline]

Definition at line 468 of file searchEngine_impl.h.

void StateStack::clear (  )  [inline]

Definition at line 469 of file searchEngine_impl.h.


Field Documentation

char* StateStack::mystack [private]

Definition at line 339 of file searchEngine_impl.h.

char* StateStack::cur [private]

Definition at line 340 of file searchEngine_impl.h.

Definition at line 341 of file searchEngine_impl.h.

Definition at line 342 of file searchEngine_impl.h.

char* StateStack::mystack [private]

Definition at line 404 of file searchEngine_impl.h.

char* StateStack::cur [private]

Definition at line 405 of file searchEngine_impl.h.


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

Generated on Mon Sep 21 08:30:12 2020 for Charm++ by  doxygen 1.5.5