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

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

#include <LogControl.hpp>

Inheritance diagram for stk::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::LogControlRule::~LogControlRule ( ) [inline, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends