knode
#include <kscoring.h>
Public Member Functions | |
RuleStack () | |
~RuleStack () | |
void | drop () |
void | pop (Q3PtrList< KScoringRule > &) |
void | push (Q3PtrList< KScoringRule > &) |
void | top (Q3PtrList< KScoringRule > &) |
Detailed Description
this helper class implements a stack for lists of lists of rules.
With the help of this class it is very easy for the KScoringManager to temporary drop lists of rules and restore them afterwards
Definition at line 294 of file kscoring.h.
Constructor & Destructor Documentation
RuleStack::RuleStack | ( | ) |
Definition at line 1258 of file kscoring.cpp.
RuleStack::~RuleStack | ( | ) |
Definition at line 1262 of file kscoring.cpp.
Member Function Documentation
void RuleStack::drop | ( | ) |
drops the TOS
Definition at line 1291 of file kscoring.cpp.
void RuleStack::pop | ( | Q3PtrList< KScoringRule > & | l | ) |
clears the argument list and copy the content of the TOS into it after that the TOS gets dropped
Definition at line 1276 of file kscoring.cpp.
void RuleStack::push | ( | Q3PtrList< KScoringRule > & | l | ) |
puts the list on the stack, doesn't change the list
Definition at line 1265 of file kscoring.cpp.
void RuleStack::top | ( | Q3PtrList< KScoringRule > & | l | ) |
like pop but without dropping the TOS
Definition at line 1284 of file kscoring.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.