LRAUV  revA
NotRule Class Reference

A logging Rule implementing a logical NOT() of another rules. More...

#include <LoggerRules.h>

Inheritance diagram for NotRule:
Collaboration diagram for NotRule:

Public Member Functions

 NotRule (Rule *ruleIn)
 
virtual ~NotRule (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

 NotRule (const NotRule &old)
 

Private Attributes

Rulerule_
 

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 NOT() of another rules.

Constructor & Destructor Documentation

NotRule::NotRule ( Rule ruleIn)
NotRule::~NotRule ( void  )
virtual

References rule_.

NotRule::NotRule ( const NotRule old)
private

Member Function Documentation

bool NotRule::check ( const LogEntry entry)
virtual

Does this rule match this LogEntry.

Implements Rule.

References Rule::check(), and rule_.

Str NotRule::toString ( void  )
virtual

Serialize this Rule to a Str.

Implements Rule.

References rule_, and Rule::toString().

Member Data Documentation

Rule* NotRule::rule_
private

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


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