Sierra Toolkit  Version of the Day
stk::LogControlRule Struct Referenceabstract

Interface LogControlRule describes the interface to a log control rule. More...

#include <LogControl.hpp>

Inheritance diagram for stk::LogControlRule:

Public Member Functions

virtual ~LogControlRule ()
 
virtual LogControlRule * clone () const =0
 Member function clone creates a clone of the rule. More...
 
virtual bool next ()=0
 Member function next returns true if the log stream should write to the log file, and false if the log stream should write to the cache. More...
 

Detailed Description

Interface LogControlRule describes the interface to a log control rule.

Definition at line 25 of file LogControl.hpp.

Constructor & Destructor Documentation

virtual stk::LogControlRule::~LogControlRule ( )
inlinevirtual

Destroys a LogControlRule instance.

Definition at line 31 of file LogControl.hpp.

Member Function Documentation

virtual LogControlRule* stk::LogControlRule::clone ( ) const
pure virtual

Member function clone creates a clone of the rule.

Returns
a LogControlRule pointer to newly created duplicate.

Implemented in stk::LogControlRuleAlways.

virtual bool stk::LogControlRule::next ( )
pure virtual

Member function next returns true if the log stream should write to the log file, and false if the log stream should write to the cache.

Returns
a bool value of true if the log stream should write to the log file, and false if the log stream should write to the cache.

Implemented in stk::LogControlRuleAlways.


The documentation for this struct was generated from the following file: