libkdenetwork Library API Documentation

RuleStack Class Reference

this helper class implements a stack for lists of lists of rules. More...

#include <kscoring.h>

Collaboration diagram for RuleStack:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void push (QPtrList< KScoringRule > &)
void pop (QPtrList< KScoringRule > &)
void top (QPtrList< 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 268 of file kscoring.h.


Member Function Documentation

void RuleStack::push QPtrList< KScoringRule > &   ) 
 

puts the list on the stack, doesn't change the list

Definition at line 1134 of file kscoring.cpp.

void RuleStack::pop QPtrList< KScoringRule > &   ) 
 

clears the argument list and copy the content of the TOS into it after that the TOS gets dropped

Definition at line 1145 of file kscoring.cpp.

References drop(), and top().

void RuleStack::top QPtrList< KScoringRule > &   ) 
 

like pop but without dropping the TOS

Definition at line 1153 of file kscoring.cpp.

Referenced by pop().

void RuleStack::drop  ) 
 

drops the TOS

Definition at line 1160 of file kscoring.cpp.

Referenced by pop().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdenetwork Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 22:37:30 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003