- Timestamp:
- Aug 21, 2011, 6:27:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/OutputListener.h
r8848 r8850 75 75 { return this->additionalContextsLevelMask_; } 76 76 77 /// @brief Returns true if this listener accepts output of the given level and context, based on the levels and contexts masks. 78 inline bool acceptsOutput(OutputLevel level, const OutputContextContainer& context) const 79 { 80 return (this->levelMask_ & level) || 81 ((this->additionalContextsLevelMask_ & level) && (this->additionalContextsMask_ & context.mask)); } 77 virtual bool acceptsOutput(OutputLevel level, const OutputContextContainer& context) const; 82 78 83 79 /// @brief Called by OutputManager for each line of output, checks if this listener actually accepts this output before it calls the output() function.
Note: See TracChangeset
for help on using the changeset viewer.