LRAUV  revA
AndRule Class Reference

A logging Rule implementing a logical AND() between two other rules. More...

#include <LoggerRules.h>

Inheritance diagram for AndRule:
Collaboration diagram for AndRule:

Public Member Functions

 AndRule (Rule *ruleOneIn, Rule *ruleTwoIn, Rule *ruleThreeIn=NULL, Rule *ruleFourIn=NULL, Rule *ruleFiveIn=NULL, Rule *ruleSizIn=NULL, Rule *ruleSevenIn=NULL)
 
virtual ~AndRule (void)
 
virtual bool check (const LogEntry *entry)
 Does this rule match this LogEntry. More...
 
virtual Str toString (void)
 Serialize this Rule to a Str. More...
 
- Public Member Functions inherited from Rule
virtual ~Rule (void)
 Destructor. More...
 
virtual void activate ()
 
virtual void deactivate ()
 
virtual bool isActive ()
 

Private Member Functions

 AndRule (const AndRule &old)
 

Private Attributes

Rule * ruleOne_
 
Rule * ruleTwo_
 
Rule * ruleThree_
 
Rule * ruleFour_
 
Rule * ruleFive_
 
Rule * ruleSix_
 
Rule * ruleSeven_
 

Additional Inherited Members

- Protected Member Functions inherited from Rule
 Rule (void)
 Protected constructor for pure virtual class. More...
 

Detailed Description

A logging Rule implementing a logical AND() between two other rules.

Constructor & Destructor Documentation

AndRule::AndRule ( Rule *  ruleOneIn,
Rule *  ruleTwoIn,
Rule *  ruleThreeIn = NULL,
Rule *  ruleFourIn = NULL,
Rule *  ruleFiveIn = NULL,
Rule *  ruleSizIn = NULL,
Rule *  ruleSevenIn = NULL 
)
AndRule::~AndRule ( void  )
virtual
AndRule::AndRule ( const AndRule &  old)
private

Member Function Documentation

bool AndRule::check ( const LogEntry *  entry)
virtual

Does this rule match this LogEntry.

Implements Rule.

References Rule::check(), ruleFive_, ruleFour_, ruleOne_, ruleSeven_, ruleSix_, ruleThree_, and ruleTwo_.

Str AndRule::toString ( void  )
virtual

Serialize this Rule to a Str.

Implements Rule.

References ruleFive_, ruleFour_, ruleOne_, ruleSeven_, ruleSix_, ruleThree_, ruleTwo_, and Rule::toString().

Member Data Documentation

Rule * AndRule::ruleFive_
private

Referenced by check(), toString(), and ~AndRule().

Rule * AndRule::ruleFour_
private

Referenced by check(), toString(), and ~AndRule().

Rule* AndRule::ruleOne_
private

Referenced by check(), toString(), and ~AndRule().

Rule * AndRule::ruleSeven_
private

Referenced by check(), toString(), and ~AndRule().

Rule * AndRule::ruleSix_
private

Referenced by check(), toString(), and ~AndRule().

Rule * AndRule::ruleThree_
private

Referenced by check(), toString(), and ~AndRule().

Rule * AndRule::ruleTwo_
private

Referenced by check(), toString(), and ~AndRule().


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