Sierra Toolkit  Version of the Day
stk_classic::LogControlRule Struct Reference

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

#include <LogControl.hpp>

Inheritance diagram for stk_classic::LogControlRule:

List of all members.

Public Member Functions

virtual ~LogControlRule ()
virtual LogControlRuleclone () const =0
 Member function clone creates a clone of the rule.
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.

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_classic::LogControlRule::~LogControlRule ( ) [inline, virtual]

Destroys a LogControlRule instance.

Definition at line 31 of file LogControl.hpp.


Member Function Documentation

virtual LogControlRule* stk_classic::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_classic::LogControlRuleAlways.

virtual bool stk_classic::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_classic::LogControlRuleAlways.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines