RuleStack Class Reference
#include <kscoring.h>
Public Member Functions | |
void | push (TQPtrList< KScoringRule > &) |
void | pop (TQPtrList< KScoringRule > &) |
void | top (TQPtrList< KScoringRule > &) |
void | drop () |
Detailed Description
this helper class implements a stack for lists of lists of rules.
With the help of this class its very easy for the KScoringManager to temporary drop lists of rules and restore them afterwards
Definition at line 283 of file kscoring.h.
Member Function Documentation
◆ drop()
void RuleStack::drop | ( | ) |
drops the TOS
Definition at line 1225 of file kscoring.cpp.
◆ pop()
void RuleStack::pop | ( | TQPtrList< KScoringRule > & | l | ) |
clears the argument list and copy the content of the TOS into it after that the TOS gets dropped
Definition at line 1210 of file kscoring.cpp.
◆ push()
void RuleStack::push | ( | TQPtrList< KScoringRule > & | l | ) |
puts the list on the stack, doesn't change the list
Definition at line 1199 of file kscoring.cpp.
◆ top()
void RuleStack::top | ( | TQPtrList< KScoringRule > & | l | ) |
like pop but without dropping the TOS
Definition at line 1218 of file kscoring.cpp.
The documentation for this class was generated from the following files: