TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.codereview.cpp.rulefilter
Class SimpleDeclarationCountRuleFilter

java.lang.Object
  extended by org.eclipse.tptp.platform.analysis.codereview.cpp.AbstractRuleFilter
      extended by org.eclipse.tptp.platform.analysis.codereview.cpp.rulefilter.SimpleDeclarationCountRuleFilter
All Implemented Interfaces:
IRuleFilter

public class SimpleDeclarationCountRuleFilter
extends AbstractRuleFilter


Constructor Summary
SimpleDeclarationCountRuleFilter(int declarationCount, boolean inclusive)
          This class provides filtering of Simple declarations by the number of declarations on one line
 
Method Summary
 boolean satisfies(org.eclipse.cdt.core.dom.ast.IASTNode node)
          Determine if the node is satisfied by the specified filter rule
 
Methods inherited from class org.eclipse.tptp.platform.analysis.codereview.cpp.AbstractRuleFilter
isInclusive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDeclarationCountRuleFilter

public SimpleDeclarationCountRuleFilter(int declarationCount,
                                        boolean inclusive)
This class provides filtering of Simple declarations by the number of declarations on one line

Parameters:
inclusive - True if filtering will include only nodes that match the filter criteria, false to exclude matching nodes
Method Detail

satisfies

public boolean satisfies(org.eclipse.cdt.core.dom.ast.IASTNode node)
Determine if the node is satisfied by the specified filter rule

Specified by:
satisfies in interface IRuleFilter
Specified by:
satisfies in class AbstractRuleFilter
Parameters:
node - The ASTNode to test
Returns:
true if the node satisifes the filtering rule

TPTP 4.6.0 Platform Project
Public API Specification